Chapter 1. Accessing the RHOSO cloud
Chapter 1. Accessing the RHOSO cloud You can access your Red Hat OpenStack Services on OpenShift (RHOSO) cloud to perform actions on your data plane by either accessing the OpenStackClient pod through a remote shell from your workstation, or by using a web browser to access the Dashboard service (horizon) interface. 1.1. Accessing the OpenStackClient pod You can execute Red Hat OpenStack Services on OpenShift (RHOSO) commands on the deployed data plane by using the OpenStackClient pod through a remote shell from your workstation. The OpenStack Operator created the OpenStackClient pod as a part of the OpenStackControlPlane resource. The OpenStackClient pod contains the client tools and authentication details that you require to perform actions on your data plane. Prerequisites You are logged on to a workstation that has access to the Red Hat OpenShift Container Platform (RHOCP) cluster as a user with cluster-admin privileges. Procedure Access the remote shell for the OpenStackClient pod: Run your openstack commands. For example, you can create a default network with the following command: Exit the OpenStackClient pod: Additional resources Creating and managing instances Configuring networking services 1.2. Accessing the Dashboard service (horizon) interface You can access the Dashboard service (horizon) interface by providing the Dashboard service endpoint URL in a web browser. Prerequisites The Dashboard service is enabled on the control plane. For information about how to enable the Dashboard service, see Enabling the Dashboard service (horizon) interface in Customizing the Red Hat OpenStack Services on OpenShift deployment . You need to log into the dashboard as the admin user. Procedure Retrieve the admin password from the AdminPassword parameter in the osp-secret secret: Retrieve the Dashboard service endpoint URL: Open a web browser. Enter the Dashboard endpoint URL. Log in to the dashboard by providing the username of admin and the admin password.
oc rsh -n openstack openstackclient openstack network create default exit oc get secret osp-secret -o jsonpath='{.data.AdminPassword}' | base64 -d oc get horizons horizon -o jsonpath='{.status.endpoint}'