13.4. Creating Image-based Hosts on Red Hat OpenStack Platform
In Satellite, you can use Red Hat OpenStack Platform provisioning to create hosts from an existing image. The new host entry triggers the Red Hat OpenStack Platform server to create the instance using the pre-existing image as a basis for the new volume.
Procedure
- In the Satellite web UI, navigate to Hosts > Create Host.
- In the Name field, enter a name for the host.
- Click the Organization and Location tabs to ensure that the provisioning context is automatically set to the current context.
- From the Host Group list, select the host group that you want to use to populate the form.
- From the Deploy on list, select the Red Hat OpenStack Platform connection.
- From the Compute Profile list, select a profile to use to automatically populate virtual machine settings.
- From the Lifecycle Environment list, select the environment.
- Click the Interfaces tab and click Edit on the host’s interface.
Verify that the fields are automatically populated, particularly the following items:
- The Name from the Host tab becomes the DNS name.
- The MAC address field is blank. Red Hat OpenStack Platform assigns a MAC address to the host during provisioning.
- Satellite Server automatically assigns an IP address for the new host.
- The Managed, Primary, and Provision options are automatically selected for the first interface on the host. If not, select them.
- Click the Operating System tab, and confirm that all fields automatically contain values.
- If you want to change the image that populates automatically from your compute profile, from the Images list, select a different image to base the new host’s root volume on.
- Click Resolve in Provisioning templates to check the new host can identify the right provisioning templates to use.
- Click the Virtual Machine tab and confirm that these settings are populated with details from the host group and compute profile. Modify these settings to suit your needs.
- Click the Parameters tab, and ensure that a parameter exists that provides an activation key. If not, add an activation key.
- Click Submit to save the host entry.
For CLI Users
Create the host with the
hammer host createcommand and include--provision-method image. Replace the values in the following example with the appropriate values for your environment.Copy to Clipboard Copied! Toggle word wrap Toggle overflow
For more information about additional host creation parameters for this compute resource, enter the hammer host create --help command.