While provisioning a system registered with RHN Satellite, it fails with error message `Error creating the new RAM disk` with file preservations

Solution Verified - Updated -

Issue

  • Provisioning a machine registered with RHN Satellite fails if there are configurations of file preservation.

  • File preservation example:

/etc/ssh/moduli
/etc/ssh/ssh_host_dsa_key
/etc/ssh/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_rsa_key.pub
/etc/ssh/ssh_host_key.pub
/etc/ssh/ssh_host_rsa_key
/etc/ssh/ssh_host_key
  • The problem seems to be at merge-rd.sh:
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'})
  • There is no /boot/initrd.img but /boot/initrd.img_koan exists.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Network Satellite

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.