'rhn-bootstrap' command fails with "ValueError: depth must fall within range [-1, 1...9223372036854775806]" traceback.
Issue
rhn-bootstrapcommand fails with below traceback:
# rhn-bootstrap --script=Dev-bootstrap.sh --activation-keys 1-22459ca7fd186435ea8f5c978b0242d8 --ssl-cert /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT --gpg-key /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT --no-up2date
:
ERROR: unhandled exception occurred:
Traceback (most recent call last):
File "/usr/bin/rhn-bootstrap", line 51, in <module>
sys.exit(mod.main() or 0)
File "/usr/share/rhn/certs/rhn_bootstrap.py", line 629, in main
copyFiles(options)
File "/usr/share/rhn/certs/rhn_bootstrap.py", line 413, in copyFiles
rotateFile(dest, options.verbose)
File "/usr/lib/python2.6/site-packages/spacewalk/common/fileutils.py", line 89, in rotateFile
"[-1, 1...%s]" % (sys.maxint-1))
ValueError: depth must fall within range [-1, 1...9223372036854775806]
Environment
- Red Hat Satellite 5.x
- bootstrap script
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
