Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 9. Accessing an overcloud deployed with director Operator
After you deploy the overcloud with director Operator (OSPdO), you can access it and run commands with the openstack
client tool. The main access point for the overcloud is through the OpenStackClient
pod that OSPdO deploys as a part of the OpenStackControlPlane
resource that you created.
9.1. Accessing the OpenStackClient pod
The OpenStackClient
pod is the main access point to run commands against the overcloud. This pod contains the client tools and authentication details that you require to perform actions on your overcloud. To access the pod from your workstation, you must use the oc
command on your workstation to connect to the remote shell for the pod.
When you access an overcloud that you deploy without director Operator (OSPdO), you usually run the source ~/overcloudrc
command to set environment variables to access the overcloud. You do not require this step with an overcloud that you deploy with OSPdO.
Procedure
Access the remote shell for
openstackclient
:$ oc rsh -n openstack openstackclient
Change to the
cloud-admin
home directory:$ cd /home/cloud-admin
Run your
openstack
commands. For example, you can create adefault
network with the following command:$ openstack network create default
Additional resources
9.2. Accessing the overcloud dashboard
You access the dashboard of an overcloud that you deploy with director Operator (OSPdO) by using the same method as a standard overcloud: access the virtual IP address reserved by the control plane by using a web browser.
Procedure
Optional: To login as the
admin
user, obtain the admin password from theAdminPassword
parameter in thetripleo-passwords
secret:$ oc get secret tripleo-passwords -o jsonpath='{.data.tripleo-overcloud-passwords\.yaml}' | base64 -d
Retrieve the IP address reserved for the control plane from your
OpenStackNetConfig
CR:spec: ... reservations: controlplane: ipReservations: ctlplane: 172.22.0.110 external: 10.0.0.10 internal_api: 172.17.0.10 storage: 172.18.0.10 storage_mgmt: 172.19.0.10
- Open a web browser.
- Enter the IP address for the control plane in the URL field.
- Log in to the dashboard with your username and password.