第13章 Provisioning Cloud Instances on Red Hat OpenStack Platform
Red Hat OpenStack Platform provides the foundation to build a private or public Infrastructure-as-a-Service (IaaS) cloud. It offers a massively scalable, fault-tolerant platform for the development of cloud-enabled workloads. In Red Hat Satellite 6, you can interact with Red Hat OpenStack Platform REST API to create cloud instances and control their power management states.
Prerequisites
- Synchronized content repositories for Red Hat Enterprise Linux. For more information, see Synchronizing Red Hat Repositories in the Content Management Guide.
- An activation key for host registration. For more information, see Creating An Activation Key in the Content Management guide.
- A Capsule Server managing a network in your OpenStack environment. For more information, see 3章Configuring Networking.
- An image added to OpenStack Image Storage (glance) service for image-based provisioning. For more information, see the Red Hat OpenStack Platform Instances and Images Guide.
Procedure Overview
13.1. Adding the Red Hat OpenStack Platform Connection to Satellite Server リンクのコピーリンクがクリップボードにコピーされました!
Use this procedure to add Red Hat OpenStack Platform as a compute resource in Satellite.
Procedure
- In the Satellite web UI, navigate to Infrastructure > Compute Resources and click Create Compute Resource.
- In the Name field, enter a name for the new compute resource.
- From the Provider list, select RHEL OpenStack Platform.
- In the Description field, enter a description for the compute resource.
-
In the URL field, enter the URL for the OpenStack Authentication keystone service’s API at the
tokensresource. Use the following format:http://openstack.example.com:5000/v3.0/tokens. - In the User and Password fields, enter the authentication user and password for Satellite to access the environment.
- In the Domain field, enter the domain for V3 authentication.
- From the Tenant list, select the tenant or project for Satellite Server to manage.
- To use external networks as primary networks for hosts, select the Allow external network as main network check box.
- Click the Locations and Organizations tabs and verify that the location and organization that you want to use are set to your current context. Add any additional contexts that you want to these tabs.
- Click Submit to save the Red Hat OpenStack Platform connection.
For CLI Users
To create a compute resource, enter the
hammer compute-resource createcommand:Copy to Clipboard Copied! Toggle word wrap Toggle overflow