Access the cloud

Access your Red Hat OpenStack Services on OpenShift (RHOSO) cloud through the OpenStackClient pod remote shell or the Dashboard service (horizon) web interface to manage data plane resources.

Connect to the OpenStack CLI

You can run Red Hat OpenStack Services on OpenShift (RHOSO) commands on your data plane by accessing the OpenStackClient pod from your workstation. The pod contains the client tools and authentication details required to manage your data plane.

Before you begin

  • 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

  1. Access the remote shell for the OpenStackClient pod:
    $ oc rsh -n openstack openstackclient
  2. Run your openstack commands. For example, you can create a default network with the following command:
    $ openstack network create default
  3. Exit the OpenStackClient pod:
    $ exit

Access the dashboard

You can access the OpenStack Dashboard service (horizon) interface by providing the Dashboard service endpoint URL in a browser.

Before you begin

Procedure

  1. Retrieve the admin password from the AdminPassword parameter in the osp-secret secret:
    $ oc get secret osp-secret -o jsonpath='{.data.AdminPassword}' | base64 -d
  2. Retrieve the Dashboard service endpoint URL:
    $ oc get horizons horizon -o jsonpath='{.status.endpoint}'
  3. Open a browser.
  4. Enter the Dashboard endpoint URL.
  5. Log in to the Dashboard by providing the username of admin and the admin password.