Red Hat Satellite 6: Openstack instances self provisioning

I've seen a lot of questions around this theme,

with this blog post I'll show you step by step how to setup your Satellite 6 to self provision Openstack instances.

First of all you need to login to your Satellite 6 platform and then move to: Infrastructure -> Compute resources -> New.

Screenshot from 2015-12-24 17-21-28.png

After choosing a name for the new oompute resource and the right provider (Openstack), you should place the Openstack web interface address, you username & password and try to load the available tenants.

Adding a compute resource is not the only step you should make. After that you have to configure the various flavors that you want to provide to your Satellite's users!

Open the just created compute resource and move to "Compute profiles" tab.

Screenshot from 2015-12-24 17-26-52.png

Then click on every compute profile you may provide and customize it as showed down here:

Screenshot from 2015-12-24 17-30-23.png

As you can see I chose only the flavor and the tenant, every other detail could be chosen directly by the "New Host" page!

Now it's time to move to the "Images" tab, from there you should create as many images as many operating systems you want to provide to your users.

Screenshot from 2015-12-24 17-37-37.png

As you can see I added images that also have support for User data, this flag is very important and remember to choose images that actually support cloud-init commands for ensuring complete provisioning through your Satellite installation.

We've almost completed the configuration, all we need now is to customize the user-data template. For editing the userdata template just move to: "Hosts -> Provisioning Templates".

The default "Satellite Kickstart User Data" is locked so you need to clone it and start editing the new one.

Screenshot from 2015-12-24 17-46-48.png

Finally you should set the right User Data template in every operating system you planned to use. Go to "Hosts -> Operating Systems"

Screenshot from 2015-12-24 17-51-18.png

Time to test it! Move to "Hosts -> New Host", after selecting the right Hostgroup, you will now be able to select something different from the classic "Bare metal" choice, you shoul now see also the just added compute resource!

Screenshot from 2015-12-24 17-56-13.png

Moving to "Operating System" tab you should see a dropdown menu that it'll let you choose one of the just defined images.

Screenshot from 2015-12-24 17-57-49.png

Finally moving to the "Virtual Machine" tab you should see various dropdown menu that will let you choose other flavour and/or OSP tenant.

Screenshot from 2015-12-24 17-58-12.png

Now launch the host creation! Satellite 6 will communicate to Openstack instructing it on what kind of instance it should launch!

That's all!

If you have any comments/questions please comment!