July Release Confetti
150+ New Hands-on Training in Aws, Linux, Azure
Red Hat, Devops, and More
Learn More

How to Create a CentOS 7 Newton Packstack Running Keystone v3



Introduction

This guide is designed to walk you through the configuration for using Keystone v3 with Packstack. You will accomplish this using various repos and the Answers file.




Getting Started


How do we get started?
A bug was filed against RDO for the installation of Keystone v3. Currently, the fix is in the tested-ci repository and hasn't been tagged yet to move further along the deployment pipeline.

If you would like to install a packstack using the fixed code in it's current location on a CentOS 7 machine this is the guide for you!

The first thing you're going to need to do is add the centos-openstack-newton-test repository to get a puppet fix for Nova:

yum-config-manager --enable rdo-trunk-newton-tested

user_71642_5963b0c28d2de.png

Next, you should perform a yum update just in case:

yum update

user_71642_5963b2cddd0b2.png

Next, install git and centos-release-openstack-newton, which gives us git as well as the CentOS version of OpenStack Newton. 

yum install git centos-release-openstack-newton

user_71642_5963b661a9d6a.png_800.jpg

user_71642_5963b742c83b5.png_800.jpg

When installation is finished, you get a "completed" message:

user_71642_5963b7630a701.png_800.jpg

The next step is to install Packstack, which has 67 dependencies:

yum install openstack-packstack

user_71642_5963b78cc623e.png_800.jpg

When you finish the installation, check for the version of openstack-packstack-puppet:

rpm -qa openstack-packstack-puppet

user_71642_5963b7c214d25.png

And here you see we have version 9.0.2. We need version 9.0.3, so let's install that; we need to add another repository, rdo-trunk-newton-tested, which has the latest code to pass CI:

Here you can see the installation:

yum-config-manager --enable rdo-trunk-newton-tested
user_71642_5963b825cdac0.png_800.jpg

And the rest of the output, which shows the pkgdir if you should need it:

user_71642_5963b8385005b.png
Now, we can upgrade the openstack-packstack-puppet rpm:

yum install openstack-packstack-puppet

user_71642_5963b88500b6b.png_800.jpg

And the installation completes:

user_71642_5963b9570a9bb.png_800.jpg

We can now verify the version again:

rpm -qa openstack-packstack-puppet

user_71642_5963b8af1940a.png_800.jpg

The last step before installing packstack itself is to edit your answers.txt file to use Keystone v3. If you do not have one you can get one by running:

packstack --gen-answer-file=answers.txt

user_71642_5963b99628548.png_800.jpg

And then edit the file:

nano answers.txt

user_71642_5963b9b384eed.png

Finally, run your packstack and wait!!

packstack --answer-file=/root/answers.txt

Sources / Resources

For more Information on Packstack, check out the RDO website here.



  • post-author-pic
    Terrence C
    07-10-2017

    Nice guide Amy!

  • post-author-pic
    Shahan K
    07-10-2017

    Nice work  @amy !

  • post-author-pic
    David C
    07-15-2017

    Hi Amy, Is there a reason we have, "yum install openstack-packstack", twice, or am I missing something?

  • post-author-pic
    Amy M
    07-17-2017

    David, nice catch. Fixed

Looking For Team Training?

Learn More