[Spacewalk-list] Spacewalk 0.8.36-1 , generate CA certificate fails
Michael Mraka
michael.mraka at redhat.com
Wed Jan 27 12:45:50 UTC 2010
Bushby, Bruce (London)(c) wrote:
% I forgot to add the contents of /var/log/rhn/rhn-installation.log
...
% ERROR: unhandled exception occurred:
% Generating private CA key: /root/ssl-build/RHN-ORG-PRIVATE-SSL-KEY
% Traceback (most recent call last):
% File "/usr/bin/rhn-ssl-tool", line 58, in <module>
% sys.exit(mod.main() or 0)
% File "/usr/share/rhn/certs/rhn_ssl_tool.py", line 1229, in main
% ret = _main() or 0
% File "/usr/share/rhn/certs/rhn_ssl_tool.py", line 1172, in _main
% options.verbose, options.force)
% File "/usr/share/rhn/certs/rhn_ssl_tool.py", line 273, in genPrivateCaKey
% ret, out_stream, err_stream = rhn_popen(args % repr(password))
% File "/usr/lib/python2.6/site-packages/spacewalk/common/fileutils.py", line 213, in rhn_popen
% stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)
% File "/usr/lib64/python2.6/subprocess.py", line 595, in __init__
% errread, errwrite)
% File "/usr/lib64/python2.6/subprocess.py", line 1092, in _execute_child
% raise child_exception
% OSError: [Errno 2] No such file or directory
Hi Bruce,
we've switched from popen2 python module to subprocess module recently
('cause popen2's been deprecated in Fedora 12) and there still may be some
bugs left - like this one.
It has been fixed in spacewalk-backend-0.8.37 (current nightly repo).
Regards,
--
Michael Mráka
Satellite Engineering, Red Hat
More information about the Spacewalk-list
mailing list