Hi All, I've analysed this error more in details and found that the spacewalk didn't replaced this SNIPPET variable during the creation and for this reason the installation hanged.
less /var/lib/rhn/kickstarts/wizard/ks_profile_centos7_dev--1.cfg [...] Kickstart config file generated by Spacewalk Config Management Profile Label : ks_profile_centos7_dev Date Created : Wed Jul 18 07:58:56 CEST 2018 install text network --bootproto dhcp url --url http://spacewalk/ks/dist/org/1/ks_distrib_centos7 lang en_US.UTF-8 keyboard ch [...] $SNIPPET('spacewalk/1/part_'+$server_type) [...] This variable was ok in the past before the upgrade to 2.8. Has anyone encounter this issue? How could I troubleshoot such an error? Best regards, J. From: spacewalk-list-boun...@redhat.com [mailto:spacewalk-list-boun...@redhat.com] On Behalf Of Jérôme Meyer Sent: Dienstag, 7. August 2018 16:59 To: 'spacewalk-list@redhat.com' Subject: [Spacewalk-list] Spacewalk snippet will not be replaced while cobbler does Hello, Spacewalk (2.8) didn't replace the $SNIPPET with his value and stopped the process with unknown command. I've checked the kickstart file through URL link : http://spacewalk/cblr/svc/op/ks/profile/ks_profile_centos7_dev:1:SpacewalkDefaultOrganization [...] Kickstart config file generated by Spacewalk Config Management Profile Label : ks_profile_centos7_dev Date Created : Wed Jul 18 07:58:56 CEST 2018 install text network --bootproto dhcp url --url http://spacewalk/ks/dist/org/1/ks_distrib_centos7 lang en_US.UTF-8 keyboard ch zerombr clearpart --all bootloader --location mbr timezone Europe/Zurich auth --enableshadow --passalgo=sha256 rootpw --iscrypted $5$s.qLtZVKhRAGnol3$h/zR3clQ1y/7BXakxgunxDz8tfsdfasfsdfIk2QVPiqRl9 selinux --permissive reboot firewall --enabled --port=10050:tcp,10050:udp skipx services --enabled chronyd user user --name=xxx --groups=wheel --password=$1$QXVddK4t9$KLWj4uJM/vL4ylSVtZtOE1 --iscrypted network --bootproto=dhcp --device=eth0 --onboot=on repo --name=base --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock repo --name=epel7 --baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64/ repo --name=spacewalk --baseurl=http://yum.spacewalkproject.org/2.4/RHEL/7/x86_64/ repo --name=spacewalk-client --baseurl=http://yum.spacewalkproject.org/2.3-client/RHEL/7/x86_64/ $SNIPPET('spacewalk/1/part_'+$server_type) [...] But when I check the kickstart profile with cobbler, all seems ok : # cobbler system getks --name=chlxserver | more Kickstart config file generated by Spacewalk Config Management Profile Label : ks_profile_centos7_dev Date Created : Wed Jul 18 07:58:56 CEST 2018 install text network --bootproto dhcp url --url http://spacewalk/ks/dist/org/1/ks_distrib_centos7 lang en_US.UTF-8 keyboard ch zerombr clearpart --all bootloader --location mbr timezone Europe/Zurich auth --enableshadow --passalgo=sha256 rootpw --iscrypted $5$s.qLtZVKhRAGnol3$h/zR3clQ1y/7BXakxgunxDz8t6sWjLhmIk2QVPiqRl9 selinux --permissive reboot firewall --enabled --port=10050:tcp,10050:udp skipx services --enabled chronyd user user --name=xxx --groups=wheel --password=$1$QXVRK4t9$KssWj4uJM/vL4ylSVtZtOE1 --iscrypted Using "new" style networking config, by matching networking information to the physical interface's MAC-address %include /tmp/pre_install_network_config Timezone based on chlxserver timezone Europe/Zurich repo --name=base --mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock repo --name=epel7 --baseurl=http://download.fedoraproject.org/pub/epel/7/x86_64/ repo --name=spacewalk --baseurl=http://yum.spacewalkproject.org/2.4/RHEL/7/x86_64/ repo --name=spacewalk-client --baseurl=http://yum.spacewalkproject.org/2.3-client/RHEL/7/x86_64/ Default partitionning autopart --type=lvm part /boot --size=1024 --ondisk sda part pv.01 --size=1 --ondisk sda --grow volgroup vg1 pv.01 logvol / --vgname=vg1 --size=1 --grow --name=root logvol swap --vgname=vg1 --recommended --name=swap --fstype=swap ignoredisk --only-use=sda [..] The configuration are done through spacewalk GUI. Have someone seen this problem before? Regards, J.
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Spacewalk-list mailing list Spacewalk-list@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-list