Starting in the 5.1 release of the Spectrum Scale Object protocol, many of the OpenStack Swift and Keystone packages and their associated dependencies are no longer shipped along with the Spectrum Scale installation image. Instead, the necessary repositories for these dependent packages will need to be pre-configured on the CES protocol nodes before attempting the installation of the Object protocol. Without the necessary repositories configured, these types of installation errors may be seen:
- nothing provides crudini needed by spectrum-scale-object...
- nothing provides python3-swiftclient needed by spectrum-scale-object...
- nothing provides openstack-keystone > 16 needed by spectrum-scale-object...
- nothing provides openstack-selinux >= 0.8.20 needed by spectrum-scale-object...
- nothing provides python3-cliff >= 2.8.0-1 needed by spectrum-scale-object...
- nothing provides python3-keystone > 16 needed by spectrum-scale-object...
...
The necessary packages can be resolved through a variety of different repositories. Instructions on how to resolve them through the following repositories will be described below. Repo installation instructions can also be found in the OpenStack guide at
OpenStack packages for RHEL and CentOS.
RHOSP through Red Hat Subscription Manager
All of the necessary dependencies can be resolved with the subscription "Red Hat OpenStack Platform (RHOSP)". Provided your systems have this RHOSP subscription, either through Red Hat directly or a Red Hat Satellite , configure the necessary repos using the following commands:
subscription-manager attach --pool=1234... # Set to the pool id of the subscription with the OpenStack packages (see below)
subscription-manager repos --enable=openstack-16-for-rhel-8-x86_64-rpms
subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms
As the OpenStack packages are not part of the base subscription, it will likely be necessary to attach to a subscription pool which explicitly provides the OpenStack packages. A list of all the subscription pools you have access to can be shown with the command "
subscription-manager list --all --available". Look through the list and find which pool id is associated with the subscription with OpenStack packages.
CentOS OpenStack repos used with a Red Hat basic subscription
Systems using Red Hat subscription manager but without the RHOSP subscription can access the necessary packages through a combination of Red Hat and CentOS repositories.
- Enable the codeready repo, which is available through the Red Hat subscription manager:
subscription-manager repos --enable=codeready-builder-for-rhel-8-x86_64-rpms
- Manually download and install the CentOS OpenStack Train repo package with the commands:
wget -O /tmp/centos-release-openstack-train-2-1.el8.noarch.rpm http://mirror.centos.org/centos/8/extras/x86_64/os/Packages/centos-release-openstack-train-2-1.el8.noarch.rpm
rpm -i --nodeps /tmp/centos-release-openstack-train-2-1.el8.noarch.rpm
CentOS Systems
Systems built upon CentOS can enable the necessary OpenStack repositories using the following commands:
RDO OpenStack repos used with a Red Hat basic subscription
Systems using Red Hat subscription manager but without the RHOSP subscription can access the necessary packages through a combination of Red Hat and RDO repositories.
Installing Spectrum Scale Object
Once the OpenStack repos have been configured with the above commands, the install of Spectrum Scale Object can proceed as usual with either the mmobj command or the spectrumscale toolkit installer.