Hide Forgot
Using localboot on RHEL6 images fails when installing the bootloader with the following error chroot /tmp/tmpBo_mZh /bin/bash -c "/usr/sbin/grub-install /dev/vda" Exit code: 127 Stdout: u'' Stderr: u'/bin/bash: /usr/sbin/grub-install: No such file or directory' as grub-install is available at the path "/sbin/grub-install" not "/usr/sbin/grub-install" Adding a symbolic link to the image so it finds the grub-install command shows another failure $ ln -s /usr/sbin/grub-install -> /sbin/grub-install chroot /tmp/tmpb2FNYF /bin/bash -c "/usr/sbin/grub-install /dev/vda" Exit code: 1 Stdout: u\'' Stderr: u\'The file /boot/grub/stage1 not read correctly.' netboot works find as IPA doesn't attempt to install a bootloader
Hi Derek, So I believe this happens because RHEL6 only have GRUB Legacy and Ironic only supports installing GRUB2. As you said, netboot should work. And if localboot is a requirement, what can be done is to create a whole disk image with RHEL6 + GRUB Legacy installed and deploy it [0]. [0] http://docs.openstack.org/project-install-guide/baremetal/draft/configure-integration.html#configure-the-image-service