[Spacewalk-list] Unable to create bootstrap files
Michael Mraka
michael.mraka at redhat.com
Tue Feb 27 08:30:30 UTC 2018
DiOrio, Max:
> Interesting – where do you put activation keys – I thought that would be put in there after the bootstrap script was created.
>
> So this is slightly interesting. I put a print options below the main script where it gets the options – and here’s the results. The options are being red – but…it says it’s getting overrides from client-config-overrides.txt. I believe this file is in /var/ww/html/pub/bootstrap. The overrides in the file there don’t match the overrides it’s pulling in.
...
> ERROR: unhandled exception occurred:
> Traceback (most recent call last):
> File "/usr/bin/rhn-bootstrap", line 46, in <module>
> sys.exit(mod.main() or 0)
> File "/usr/share/rhn/certs/rhn_bootstrap.py", line 637, in main
> generateBootstrapScript(options)
> File "/usr/share/rhn/certs/rhn_bootstrap.py", line 577, in generateBootstrapScript
> 1 - options.no_up2date, pubname)
> File "/usr/share/rhn/certs/rhn_bootstrap_strings.py", line 178, in getHeader
> org_gpg_key = ",".join([os.path.basename(gpg_key) for gpg_key in options.gpg_key.split(",")])
> NameError: global name 'options' is not defined
The error has been fixed in
https://github.com/spacewalkproject/spacewalk/commit/5df22a1acf3f945d9d848e9ab9df5cd70e84b09e
Regards,
--
Michael Mráka
System Management Engineering, Red Hat
More information about the Spacewalk-list
mailing list