OpenStack repository configuration required by the object protocol

On IBM Storage Scale 5.1.2.0 and earlier 5.1.x releases, an installation repository for the OpenStack packages and their dependencies must be configured on all protocol nodes before you install the object protocol.

Note: This repository configuration is not required in IBM Storage Scale 5.1.2.1 and later releases.

The installation of the object protocol requires an OpenStack repository to be preconfigured on all protocol nodes. This repository is needed to provide the Swift and Keystone OpenStack components, and their associated dependent packages. This repository can be configured through the Red Hat® subscription manager or from publicly available OpenStack repositories.

Configuring the OpenStack repository from the Red Hat subscription manager

Red Hat supplies the OpenStack installation repository through the Red Hat OpenStack Platform subscription. Contact Red Hat to add this subscription to your Red Hat license if necessary.

  1. Attach the OpenStack pool ID to your subscription manager with the following command.
    # subscription-manager attach --pool=12345…
    You can obtain the OpenStack pool ID that is needed for this step by using the following command.
    # subscription-manager list --all --available
    …
       Red Hat OpenStack for IBM Power
       Red Hat Enterprise Linux for Real Time for NFV
       …
    SKU:      SER999
    Contract: 112233
    Pool ID:  12345…
  2. Add the following repositories to the subscription manager. In the repository names, replace ARCH with ppc64le or x86_64, as needed for your environment.
    # subscription-manager repos --enable=openstack-16-for-rhel-8-ARCH-rpms
    # subscription-manager repos --enable=codeready-builder-for-rhel-8-ARCH-rpms
    
  3. Repeat these steps on each protocol node to ensure that the OpenStack repositories are available on all of them.

Configuring the OpenStack repository from publicly available repositories

You can configure the necessary OpenStack packages from public providers. Refer to OpenStack packages for RHEL and CentOS in Open Stack documentation for instructions on how to use CentOS or RDO repositories. Ensure that the Train version of the OpenStack repository is configured.

Verifying that the OpenStack repository is properly configured

Ensure that the protocol nodes can access the OpenStack repository and packages with the following command.
# dnf whatprovides python3-keystone

python3-keystone-1:16.0.1-0.20191210095025.bd3f637.el8ost.noarch : Keystone Python libraries
Repo        : openstack-16-for-rhel-8-ppc64le-rpms
Matched from:
Provide    : python3-keystone = 1:16.0.1-0.20191210095025.bd3f637.el8os