Installation toolkit setup command fails on RHEL 7.x nodes with setuptools package-related error

The installation toolkit setup command might fail on Red Hat Enterprise Linux® 7.x nodes with a setuptools package-related error.

Found existing Ansible installation on system.
ERROR! Unexpected Exception, this is probably a bug: setuptools>=11.3
This issue typically occurs because of a conflict with the python2-cryptography package installed on the system. The conflicting python2-cryptography package name contains the string ibm. For example, python2-cryptography-x.x.x.x.ibm.el7.
  • Check whether the python2-cryptography package that is installed on the system has ibm in the package name.
    rpm -q python2-cryptography
  • Check whether the object packages are installed.
    rpm -qa | grep spectrum-scale-object

If the object protocol is enabled on your system and you want to continue using it, see Considerations for upgrading from an operating system not supported in IBM Storage Scale 5.1.x.x.

Use the following workaround if:
  • The object protocol is not installed or if you can uninstall the object protocol. You can check that the object protocol is not enabled by using the mmces service list -a command.
  • The correct python2-cryptography package is not installed.
Workaround:
  1. Remove the spectrum-scale-object package if it exists.
    yum remove spectrum-scale-object
  2. Downgrade the python2-cryptography package to the system default version.
    yum downgrade python2-cryptography
After doing the workaround steps, verify that the correct python2-cryptography package is installed on the system. The correct package has the default version without ibm in the name. For example, python2-cryptography-x.x.x.x.el7.
rpm -q  python2-cryptography