Enable Redis for DNS service coordination

Enable the Redis instance required by the DNS service by editing the OpenStackControlPlane custom resource.

Before you begin

  • You have the oc command line tool installed on your workstation.
  • You are logged on to a workstation that has access to the RHOSO control plane as a user with cluster-admin privileges.

Procedure

  1. Open your OpenStackControlPlane CR file on your workstation, and enable Redis and add the designate-redis instance to the templates parameter by adding the following:
    ...
      redis:
        enabled: true
        templates:
          designate-redis:
            replicas: 1
    Note

    It is not necessary to remove any other Redis instances that are already defined.

  2. Update the OpenStackControlPlane custom resource with the required values for the DNS service.
    Example
    $ oc apply -f openstack_control_plane.yaml -n openstack

Results

  1. Wait until RHOCP creates the DNS service resources related to the OpenStackControlPlane CR. Run the following command to check the status:
    Example
    $ oc get openstackcontrolplane -n openstack
    Sample output
    NAME                      STATUS    MESSAGE
    openstack-control-plane 	Unknown 	Setup started

    The OpenStackControlPlane resources are created when the status is "Setup complete".

    Tip
    Append the -w option to the end of the get command to track deployment progress.
  2. Confirm that the Redis instance is running before continuing.
    Example
    $ oc wait --for=condition=ready --timeout=10s \
    pod/designate-redis-redis-0
    Sample output
    pod/designate-redis-redis-0 condition met

Next step