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 Copy linkLink copied to clipboard!
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 openstackclientChange to the
cloud-adminhome directory:$ cd /home/cloud-adminRun your
openstackcommands. For example, you can create adefaultnetwork with the following command:$ openstack network create default
9.2. Accessing the overcloud dashboard Copy linkLink copied to clipboard!
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
adminuser, obtain the admin password from theAdminPasswordparameter in thetripleo-passwordssecret:$ oc get secret tripleo-passwords -o jsonpath='{.data.tripleo-overcloud-passwords\.yaml}' | base64 -dRetrieve the IP address reserved for the control plane from your
OpenStackNetConfigCR: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.