[Spacewalk-list] Unable to create bootstrap files

Brian Schonecker bschonec at gmail.com
Tue Feb 27 11:27:47 UTC 2018


For those interested, I enabled spacewalk-nightly repo in YUM and then
simply updated 'spacewalk-certs-tools' package.

Brian

On Tue, Feb 27, 2018 at 3:30 AM, Michael Mraka <michael.mraka at redhat.com>
wrote:

> 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
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20180227/80088f1f/attachment.htm>


More information about the Spacewalk-list mailing list