Enable an OpenStack Infrastructure provider by adding it to the appliance.
After initial installation and creation of a Infrastructure Automation
environment, add an OpenStack infrastructure provider to the appliance.
Infrastructure Automation supports operating with the OpenStack admin
tenant.
When creating an OpenStack infrastructure provider in Infrastructure Automation,
select the OpenStack infrastructure provider’s admin
user because it
is the default administrator of the OpenStack admin
tenant. When using
the admin
credentials, a user in Infrastructure Automation provisions into the
admin
tenant, and sees images, networks, and instances that are
associated with the admin
tenant.
Note:
You can set whether Infrastructure Automation should use the Telemetry service or Advanced Message Queueing Protocol (AMQP) for event monitoring. If you choose Telemetry, you should first configure the ceilometer service on the undercloud to store events. See Configuring the Undercloud to Store Events for instructions. For more information, see OpenStack Telemetry (ceilometer) in the Red Hat OpenStack Platform Architecture Guide.
To authenticate the provider using a self-signed Certificate Authority (CA), configure the Infrastructure Automation appliance to trust the certificate using the steps in Using a Self-Signed CA Certificate before adding the provider.
Browse to menu: Compute > Infrastructure > Providers.
Click Configuration, then
click (Add
a New Infrastructure Provider).
Enter the Name of the provider to add. The Name is how the device is labeled in the console.
Select OpenStack Platform Director from the Type list.
Select the API Version of your OpenStack provider’s Keystone
service from the list. The default is Keystone v2
.
Note:
Select the appropriate Zone for the provider. By default, the zone is set to default.
Note:
For more information, see the definition of host aggregates and availability zones in OpenStack Compute (nova) in the Red Hat OpenStack Platform Architecture Guide.
In the Default tab, under Endpoints, configure the host and authentication details of your OpenStack provider:
Select a Security Protocol method to specify how to authenticate the provider:
SSL without validation: Authenticate the provider insecurely using SSL.
SSL: Authenticate the provider securely using a trusted Certificate Authority. Select this option if the provider has a valid SSL certificate and it is signed by a trusted Certificate Authority. No further configuration is required for this option. This is the recommended authentication method.
Non-SSL: Connect to the provider insecurely using only HTTP protocol, without SSL.
Enter the Host Name or IP address(IPv4 or IPv6) of the provider. If your provider is an undercloud, use its hostname (see Setting the Hostname for the System in Red Hat OpenStack Platform Director Installation and Usage for more details)
In API Port, set the public port used by the OpenStack Keystone service. By default, OpenStack uses port 5000 for non-SSL security protocol. For SSL, API port is 13000 by default.
In the Username field, enter the name of an OpenStack user with privileged access (for example, admin). Then, provide its corresponding password in the Password and Confirm Password fields.
Click Validate to confirm Infrastructure Automation can connect to the OpenStack provider.
Next, configure how Infrastructure Automation should receive events from the OpenStack provider. Click the Events tab in the Endpoints section to start.
To use the Telemetry service of the OpenStack provider, select Ceilometer. Before you do so, the provider must first be configured accordingly. See Configuring the Undercloud to Store Events for details.
If you prefer to use the AMQP Messaging bus instead, select AMQP. When you do: In Hostname (or IPv4 or IPv6 address) (of the Events tab, under Endpoints), enter the public IP or fully qualified domain name of the AMQP host.
In the API Port, set the public port used by AMQP. By default, OpenStack uses port 5672 for this.
In the Username field, enter the name of an OpenStack user with privileged access (for example, admin). Then, provide its corresponding password in the Password field.
Click Validate to confirm the credentials.
You can also configure SSH access to all hosts managed by the OpenStack infrastructure provider. To do so, click on the RSA key pair tab in the Endpoints section.
From there, enter the Username of an account with privileged access.
If you selected SSL in Endpoints > Default > Security Protocol earlier, use the Browse button to find and set a private key.
Click Add after configuring the infrastructure provider.
Note:
Infrastructure Automation requires that the adminURL
endpoint for all OpenStack services be on a non-private network. Accordingly, assign the adminURL endpoint an IP address of something other than 192.168.x.x
. The adminURL
endpoint must be accessible to the Infrastructure Automation appliance that is responsible for collecting inventory and gathering metrics from the OpenStack environment. Additionally, all the Keystone endpoints must be accessible, otherwise refresh will fail.
To allow Infrastructure Automation to receive events from a Red Hat OpenStack Platform environment, you must configure the notification_driver option for the Compute service and Orchestration service in that environment. See Installing the Undercloud and Configuring the Director in Red Hat OpenStack Platform Director Installation and Usage for related details.