Description of problem: File preservation not working, re-provision fails on 'initiate kickstart' step with error 'Error creating the new RAM disk'. Detailed output of 'rhn_check -vvv' contains root of the cause: initrd image, created by koan, is named as 'initrd.img_koan', but 'merge-rd.sh' is called with 'initrd.img' as a parameter, thus failing. Version-Release number of selected component (if applicable): server: spacewalk-2.2 cobbler.noarch 2.6.3-1.el6 @epel cobbler-epel.noarch 2.0.11-29.el6 @spacewalk client: koan.noarch 2.6.3-1.el6 @epel-centos6 spacewalk-koan.noarch 2.2.4-1.el6 @spacewalk-client-centos6 How reproducible: not sure. in my environment - 100% reproducible, however i dont have any other spacewalk installations to try on. Steps to Reproduce: 1. create file preservation list 2. create/modify a kickstart, enabling file preservation list from step 1 3. re-provision some machine with a kickstart profile from step 2 Actual results: re-provision fails on 'initiate kickstart' step with error 'Error creating the new RAM disk'. if machine nevertheless rebooted - kickstart starts with selected profile, however files included in 'file preservation list' are _not_ preserved. Expected results: successful kickstart with selected profile, all files from 'file preservation list' preserved. Additional info: Related 'rhn_check -vvv' output: Preserve files! : ['/etc/mongod.conf', '/etc/configsvr.conf', '/etc/mongos.conf'] - looking for Cobbler at http://spacewalk.mydomain.local:443/cobbler_api Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/koan/utils.py", line 568, in __try_connect xmlrpc_server.ping() File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request verbose=self.__verbose File "/usr/lib64/python2.6/xmlrpclib.py", line 1253, in request return self._parse_response(h.getfile(), sock) File "/usr/lib64/python2.6/xmlrpclib.py", line 1387, in _parse_response p.feed(response) File "/usr/lib64/python2.6/xmlrpclib.py", line 601, in feed self._parser.Parse(data, 0) ExpatError: syntax error: line 1, column 49 - looking for Cobbler at https://spacewalk.mydomain.local:443/cobbler_api - reading URL: http://spacewalk.mydomain.local/cblr/svc/op/ks/system/localhost.localdomain:1 install_tree: http://spacewalk.mydomain.local/ty/b5hJTnVG downloading initrd initrd.img to /boot/initrd.img_koan url=http://spacewalk.mydomain.local/cobbler/images/centos6:1:SpacewalkDefaultOrganization/initrd.img - reading URL: http://spacewalk.mydomain.local/cobbler/images/centos6:1:SpacewalkDefaultOrganization/initrd.img downloading kernel vmlinuz to /boot/vmlinuz_koan url=http://spacewalk.mydomain.local/cobbler/images/centos6:1:SpacewalkDefaultOrganization/vmlinuz - reading URL: http://spacewalk.mydomain.local/cobbler/images/centos6:1:SpacewalkDefaultOrganization/vmlinuz - ['/sbin/grubby', '--add-kernel', '/boot/vmlinuz_koan', '--initrd', '/boot/initrd.img_koan', '--args', '"ksdevice=link lang= text ks=http://spacewalk.mydomain.local/cblr/svc/op/ks/system/localhost.localdomain:1 kssendmac ipv6.disable=1 "', '--make-default', '--title=kick1422545220'] - reboot to apply changes CMD: ['/usr/sbin/merge-rd.sh', '/boot/initrd.img', '/boot/initrd.img', '/tmp/ks-tree-shadow'] D: Sending back response(1, 'Error creating the new RAM disk', {'status': 1, 'stderr': '', 'stdout': 'Usage: /usr/sbin/merge-rd.sh SOURCERD DESTRD /path/to/merge/from\n'}) Document URL: Section Number and Name: Describe the issue: Suggestions for improvement: Additional information: Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
This is due to upstream koan change: 8f1842258c4a81b9f6ba86d95ebe9caabd690408 Committing fix to Spacewalk master: 44ff9c82e49b48933181f517e8f7371294bdce4a If you don't want to wait for Spacewalk 2.3 release it should be pretty safe to just install the newer spacewalk-koan package (whenever it finishes building): http://koji.spacewalkproject.org/koji/taskinfo?taskID=179436
(In reply to Stephen Herr from comment #1) > This is due to upstream koan change: > 8f1842258c4a81b9f6ba86d95ebe9caabd690408 > > Committing fix to Spacewalk master: > 44ff9c82e49b48933181f517e8f7371294bdce4a > > If you don't want to wait for Spacewalk 2.3 release it should be pretty safe > to just install the newer spacewalk-koan package (whenever it finishes > building): > http://koji.spacewalkproject.org/koji/taskinfo?taskID=179436 Thank you! With spacewalk-koan-2.3.1-1.el6 file preservation is working without any issue
Moving bugs to ON_QA as we move to release Spacewalk 2.3
Spacewalk 2.3 has been released. See https://fedorahosted.org/spacewalk/wiki/ReleaseNotes23