Adopting the {dashboard_service}

To adopt the {dashboard_first_ref}, you patch an existing OpenStackControlPlane custom resource (CR) that has the {dashboard_service} disabled. The patch starts the service with the configuration parameters that are provided by the {rhos_prev_long} environment.

Prerequisites
Procedure
  • Patch the OpenStackControlPlane CR to deploy the {dashboard_service}:

    oc patch openstackcontrolplane openstack --type=merge --patch '
    spec:
      horizon:
        enabled: true
        apiOverride:
          route: {}
        template:
          memcachedInstance: memcached
          secret: osp-secret
    '
Verification
  1. Verify that the {dashboard_service} instance is successfully deployed and ready:

    oc get horizon
  2. Confirm that the {dashboard_service} is reachable and returns a 200 status code:

    PUBLIC_URL=$(oc get horizon horizon -o jsonpath='{.status.endpoint}')
    curl --silent --output /dev/stderr --head --write-out "%{http_code}" "$PUBLIC_URL/dashboard/auth/login/?next=/dashboard/" -k | grep 200