-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Fedora 21 Beaker node #10
Comments
Trying to use the F21 box linked above, I'm seeing the following error:
With this config file:
|
Narrowed down the scope of the error described above. The Beaker config above produced the following Vagrantfile:
Which I copied into a new directory, then A Repeating those two commands on a fresh box produced from the Vagrantfile above was enough to reproduce the error:
|
Even cleaner, I can reproduce the error with the following. Add the
Create a working directory and this Vagrantfile
|
Reading the relevant Puppet docs, it seems plausible that this error is caused by Beaker attempting to use the CentOS/RHEL 7 Puppet repo, instead of the Fedora one. Note that there isn't a Fedora 21 RPM at the URL bumped from F20. http://yum.puppetlabs.com/puppetlabs-release-fedora-21.noarch.rpm
|
Using
For whatever reason, this doesn't cause |
This Beaker node file
Produces this error (due to missing F21 RPM).
Note that the 404 is expected, but it's good confirmation to see that the URL is determined by the |
Changing the
|
The issue is that as of Fedora 21,
|
These are the lines of https://github.com/systemd/systemd/blob/master/src/systemctl/systemctl.c#L1629 |
This is the commit that caused the issue: |
The systemd people on
|
Went over to the serverspec repo with the intention of filing a bug to move them to the Looking at the commit that cut the 1.16.0 release, which is the one Bundler is giving me, I see the relevant (erroneous) lines.
Looking at the latest version, they are gone.
|
Now I'm in a bit of a dependency hell. I need a newer version of serverspec to get the systemd fix to make F21 work. However, when I try to request a newer version from Bunlder (Gemfile below) it helpfully informs me of the following conflict:
|
Found a pull request to update the version of |
Someone forked
|
And finally, Beaker against Fedora 21 passes.
|
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Fedora 21 is a critical OS to test against, just below CentOS 7. Unfortunately, the Chef folks haven't released a Vagrant base box for it yet. I raised an issue to get the process started, but I have a good bit of learning to do before I could do much to contribute to the creation effort. This TODO might take a while to complete.
A short-term, fairly undesirable fix is to use one of the very-unofficial Fedora 21 boxes on Vagrantcloud. I'm not thrilled about this for all the reasons, but it's better than not testing Fedora 21 at all.
The text was updated successfully, but these errors were encountered: