Test Fedora 24 Beta in an OpenStack cloud
Although there are a few weeks remaining before Fedora 24 is released, you can test out the Fedora 24 Beta release today! This is a great way to get a sneak peek at new features and help find bugs that still need a fix.
The Fedora Cloud image is available for download from your favorite local mirror or directly from Fedora’s servers. In this post, I’ll show you how to import this image into an OpenStack environment and begin testing Fedora 24 Beta.
One last thing: this is beta software. It has been reliable for me so far, but your experience may vary. I would recommend waiting for the final release before deploying any mission critical applications on it.
Importing the image
The older glance client (version 1) allows you to import an image from a URL that is reachable from your OpenStack environment. This is helpful since my OpenStack cloud has a much faster connection to the internet (1 Gbps) than my home does (~ 20 mbps upload speed). However, the functionality to import from a URL was removed in version 2 of the glance client. The OpenStackClient doesn’t offer the feature either.
There are two options here:
- Install an older version of the glance client
- Use Horizon (the web dashboard)
Getting an older version of glance client installed is challenging. The OpenStack requirements file for the liberty release leaves the version of glance client without a maximum version cap and it’s difficult to get all of the dependencies in order to make the older glance client work.
Let’s use Horizon instead so we can get back to the reason for the post.
Adding an image in Horizon
Log into the Horizon panel and click Compute > Images. Click + Create Image at the top right of the page and a new window should appear. Add this information in the window:
- Name: Fedora 24 Cloud Beta
- Image Source: Image Location
- Image Location: See footnote1
- Format: QCOW2 - QEMU Emulator
- Copy Data: ensure the box is checked
When you’re finished, the window should look like this:
Click Create Image and the images listing should show Saving for a short period of time. Once it switches to Active, you’re ready to build an instance.
Building the instance
Since we’re already in Horizon, we can finish out the build process there.
On the image listing page, find the row with the image we just uploaded and click Launch Instance on the right side. A new window will appear. The Image Name drop down should already have the Fedora 24 Beta image selected. From here, just choose an instance name, select a security group and keypair (on the Access & Security tab), and a network (on the Networking tab). Be sure to choose a flavor that has some available storage as well (m1.tiny is not enough).
Click Launch and wait for the instance to boot.
Once the instance build has finished, you can connect to the instance over ssh as the fedora user. If your security group allows the connection and your keypair was configured correctly, you should be inside your new Fedora 24 Beta instance!
Not sure what to do next? Here are some suggestions:
- Update all packages and reboot (to ensure that you are testing the latest updates)
- Install some familiar applications and verify that they work properly
- Test out your existing automation or configuration management tools
- Open bug tickets!
Fedora 24 no longer exists on download mirrors. ↩︎
#fedora #openstack #web