[Spacewalk-list] Provisioning from WebConsole
Philipp Wehling
philipp.wehling at megatel.de
Tue May 10 13:36:26 UTC 2016
Hello,
when Provisioning from WebConsole, I get some weird error:
At first, here is the output from rhn_check after scheduling the kickstart:
[root at hostname ~]# rhn_check
Preserve files! : []
- looking for Cobbler at http://spacewalkserver:443/cobbler_api
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/koan/utils.py", line 570, in __try_connect
xmlrpc_server.ping()
File "/usr/lib64/python2.7/xmlrpclib.py", line 1233, in __call__
return self.__send(self.__name, args)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1587, in __request
verbose=self.__verbose
File "/usr/lib64/python2.7/xmlrpclib.py", line 1273, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib64/python2.7/xmlrpclib.py", line 1321, in single_request
response.msg,
ProtocolError: <ProtocolError for spacewalkserver:443/cobbler_api: 400 Bad Request>
- looking for Cobbler at https://spacewalkserver:443/cobbler_api
- reading URL: http://spacewalkserver/cblr/svc/op/ks/system/hostname:1
install_tree: http://spacewalkserver/ty/RGlonnd5
downloading initrd initrd.img to /boot/initrd.img_koan
url=http://spacewalkserver/cobbler/images/CentOS7-x86_64-dist:1:SpacewalkDefaultOrganization/initrd.img
- reading URL: http://spacewalkserver/cobbler/images/CentOS7-x86_64-dist:1:SpacewalkDefaultOrganization/initrd.img
downloading kernel vmlinuz to /boot/vmlinuz_koan
url=http://spacewalkserver/cobbler/images/CentOS7-x86_64-dist:1:SpacewalkDefaultOrganization/vmlinuz
- reading URL: http://spacewalkserver/cobbler/images/CentOS7-x86_64-dist:1:SpacewalkDefaultOrganization/vmlinuz
- ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz_koan', '--initrd', '/boot/initrd.img_koan', '--args', '"ksdevice=ens160 lang= text hostname=hostname ks=file:ks.cfg netmask=255.255.255.0 dns=<ip> ip=<ip> kssendmac gateway=<ip> "', '--make-default', '--title=kick1462878829']
- ['/sbin/grubby', '--update-kernel', '/boot/vmlinuz_koan', '--remove-args=root']
- reboot to apply changes
Shutdown scheduled for Tue 2016-05-10 13:16:49 CEST, use 'shutdown -c' to cancel.
Broadcast message from root at hostname (Tue 2016-05-10 13:13:49 CEST):
Reboot of system "hostname" initiated by Spacewalk reboot action.
The system is going down for reboot at Tue 2016-05-10 13:16:49 CEST!
The problem I have is marked: ks=file:ks.cfg
Isnt this wrong?
When I do a Kickstart with an ISO-Image, ks= contains an url to my spacewalk server.
Then, when rebooting, there is the error message:
Cant find file:ks.cfg
kind regards,
Philipp
Sie kC6nnen uns "live" erleben.
ILA Berlin Air Show
01. - 04. Juni 2016 - Berlin ExpoCenter Airport
Halle 4, Stand 4201 / http://www.ila-berlin.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20160510/54b04128/attachment.htm>
More information about the Spacewalk-list
mailing list