Red Hat OpenStack Platform 7 Director (OSP director) cli simple install part 1

As you might know Red Hat released a new version of the OpenStack (Kilo) installer based on tripleO and Ironic. One of the reason why Red Hat went with tripleO and ironic is that you will be able to extend and upgrade an existing OSP 7 environment. Part 1 of the blog series is about setting up OSP director.

First we need to install the OSP director node. In my case I am going to have to following base setup:

RHEL OSP7 Network Diagram - RHEL OSP7 Network Distribution (Copy)

If you are lazy and want it up and running without much typing, here is an install script:
OSP director install script

1. First we need to create the stack user and allow stack to execute commands as root

2. Setup the Hostname in /etc/hosts

3. Set the hostname on the command line

4. Enable ip forwarding

5. Subscribe to the right channels

6. Update your system and reboot

7. Create the instack-certs dir

8. Create the directories /home/stack/images and /home/stack/templates

9. ALL next steps need to be done as user stack install the python-rdomanager-oscplugin.

10. Copy the undercloud.conf into the stacks home dir

11. Create the SSL keys for the undercloud

12. As root perform the following steps

13. Now that we have done all the pre work we can now proceed with editing the /home/stack/underlcoud.conf. Make sure to change the following lines within the undercloud.conf as user stack.

14. Leave everything as it is in the auth section for now.

15. As user stack launch the install. Once your done you only will be able to access the actual undercloud via pxe network. If you want to make this accessable for anywhere you need to edit the /etc/openstack-dashboard/local_settings.

And you might want to change the allowed_hosts param in local_settings to

16. You should know be able to login to your horizon dashboard. To get the admin password run

ospdirector

17. Next we will have to download the following images from https://access.redhat.com/downloads/content/191/ver=7.0/rhel—7/7.0/x86_64/product-downloads
Deployment Ramdisk for RHEL-OSP director 7.0
Discovery Ramdisk for RHEL-OSP director 7.0
Overcloud Image for RHEL-OSP director 7.0

18. Upload the images to glance in the undercloud and check if the images are there

19. Set the nameserver for the overcloud

Your OSP Director setup is now complete. The next part will explain how you will be able to discover your hosts, setup flavors and deploy the test cloud.

7 thoughts on “Red Hat OpenStack Platform 7 Director (OSP director) cli simple install part 1

Leave a Reply

Your email address will not be published. Required fields are marked *

*


Hit Counter provided by laptop reviews