I'm trying to setup a fully automated deployment with Uyuni and cobbler, but it seems that there is something wrong with my setup.
When I run 'uyuni:/etc/cobbler # cobbler system add --help'
Traceback (most recent call last):
File "/usr/bin/cobbler", line 35, in <module>
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 745, in main
rc = cli.run(sys.argv)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 358, in run
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 428, in object_command
network_interface_fields, settings, object_action)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 238, in add_options_from_fields
_add_parser_option_from_field(parser, field, settings)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 209, in _add_parser_option_from_field
raise Exception("field %s default value (%s) is not listed in choices (%s)" % (name, default, str(choices)))
Exception: field redhat_management_key default value (<<inherit>>) is not listed in choices (str)
I got a traceback that 'redhat_management_key' default value is not listed in choices. My guess is that this should not happen,but my python skills are quite limited.
As I have a separate NIC (separate VLAN) for the Uyuni's cobbler, I wanted to be able to pass in kickstart/autoyast 's script the network settings (via system variables) before powering off the machine.
Then an automated process will change the VLAN (and PXE boot) of the client's NIC and will start it up.
Once it's available, it will be bootstrapped and additional configuration can be done on the permanent address.
Also, it seems that bootstrapping RHEL 7 via cobbler is failing, so that cannot be done during initial deployment. Most probably the 'spacewalk/redhat_register' snippet has an issue and cobbler is not expanding the it.
Thanks for reading such a long post and any help is appreciated, maybe there is already a fix. If not - I can provide details in an issue.
To unsubscribe, e-mail: uyuni-users+unsubscribe(a)opensuse.org
To contact the owner, e-mail: uyuni-users+owner(a)opensuse.org