Description of problem: During the setup, the spacewalk-setup script runs rhn-ssl-tool --gen-ca to generate some certs. The rhn-ssl-tool bails out with a stackbarf. In fact, running the tool alone will also appear to stackbarf: # /usr/bin/rhn-ssl-tool Traceback (most recent call last): File "/usr/bin/rhn-ssl-tool", line 39, in <module> mod = __import__("certs." + mod_name) File "/usr/share/rhn/certs/rhn_ssl_tool.py", line 45, in <module> from sslToolCli import processCommandline, CertExpTooShortException, \ File "/usr/share/rhn/certs/sslToolCli.py", line 31, in <module> from sslToolConfig import figureDEFS_dirs, figureDEFS_CA, figureDEFS_server File "/usr/share/rhn/certs/sslToolConfig.py", line 30, in <module> from spacewalk.common.fileutils import cleanupNormPath, rotateFile, rhn_popen, cleanupAbsPath File "/usr/lib/python2.6/site-packages/spacewalk/common/__init__.py", line 21, in <module> from spacewalk.common.rhnApache import rhnApache File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnApache.py", line 30, in <module> from spacewalk.common.rhnLog import log_debug, log_error, log_setreq File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnLog.py", line 38, in <module> from spacewalk.common.fileutils import getUidGid File "/usr/lib/python2.6/site-packages/spacewalk/common/fileutils.py", line 28, in <module> from spacewalk.common.rhnLib import isSUSE File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnLib.py", line 19, in <module> import spacewalk.common.usix as usix AttributeError: 'module' object has no attribute 'common' Version-Release number of selected component (if applicable): # rpm -qf /usr/bin/rhn-ssl-tool spacewalk-certs-tools-2.5.2-1.el6.noarch How reproducible: easy Steps to Reproduce: 1. install nightly from 2016-05-11 2. just run rhn-ssl-tool 3. Actual results: # /usr/bin/rhn-ssl-tool Traceback (most recent call last): File "/usr/bin/rhn-ssl-tool", line 39, in <module> mod = __import__("certs." + mod_name) File "/usr/share/rhn/certs/rhn_ssl_tool.py", line 45, in <module> from sslToolCli import processCommandline, CertExpTooShortException, \ File "/usr/share/rhn/certs/sslToolCli.py", line 31, in <module> from sslToolConfig import figureDEFS_dirs, figureDEFS_CA, figureDEFS_server File "/usr/share/rhn/certs/sslToolConfig.py", line 30, in <module> from spacewalk.common.fileutils import cleanupNormPath, rotateFile, rhn_popen, cleanupAbsPath File "/usr/lib/python2.6/site-packages/spacewalk/common/__init__.py", line 21, in <module> from spacewalk.common.rhnApache import rhnApache File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnApache.py", line 30, in <module> from spacewalk.common.rhnLog import log_debug, log_error, log_setreq File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnLog.py", line 38, in <module> from spacewalk.common.fileutils import getUidGid File "/usr/lib/python2.6/site-packages/spacewalk/common/fileutils.py", line 28, in <module> from spacewalk.common.rhnLib import isSUSE File "/usr/lib/python2.6/site-packages/spacewalk/common/rhnLib.py", line 19, in <module> import spacewalk.common.usix as usix AttributeError: 'module' object has no attribute 'common' Expected results: (2.4/devel:) # /usr/bin/rhn-ssl-tool Usage: rhn-ssl-tool [options] step 1 rhn-ssl-tool --gen-ca [sub-options] step 2 rhn-ssl-tool --gen-server [sub-options] The two options listed above are "base options". For more help about a particular option, just add --help to either one, such as: rhn-ssl-tool --gen-ca --help If confused, please refer to the man page or other documentation for sample usage. Options: --gen-ca generate a Certificate Authority (CA) key pair and public RPM. Review "--gen-ca --help" for more information. --gen-server generate the web server's SSL key set, RPM and tar archive. Review "--gen-server --help" for more information. -h, --help show this help message and exit Additional info: A host installed 24 hours ago from the same nightly repo, from the same chef recipe, was NOT bugged and did display the expected behaviour with spacewalk-certs-tools-2.5.1-1 .
appears fixed in nightly after ~2016-05-12 . This one can be closed up, and thanks for your time, as always.
This BZ closed some time during 2.5, 2.6 or 2.7. Adding to 2.7 tracking bug.