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 Swift Object packages are installed.
    rpm -qa | grep spectrum-scale-object
Use the following workaround if:
  • The Swift Object protocol is not installed or if you can uninstall the Swift Object protocol. You can check that the Swift 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