Deploy of hardware node fails in grub2-install
Issue
-
We are working on deploying OSP16 for our new cloud. This far we have been working on virtual controllers and compute nodes.
-
Now, we are tying to deploy hardware networker / compute, but that fails.
-
From logs extracted, we can see the following error:
Oct 06 05:48:48 host-10-222-104-54 ironic-python-agent[3322]: 2020-10-06 05:48:47.822 3322 ERROR ironic_python_agent.extensions.image [-] Installing GRUB2 boot loader to device /dev/sda failed with Unexpected error while running command.
Command: chroot /tmp/tmp9svts23f /bin/sh -c "grub2-install /dev/sda"
Exit code: 1
Stdout: 'Skipping unreadable variable "Boot0000": Input/output error\n'
Stderr: 'Installing for x86_64-efi platform.\nCould not prepare Boot variable: Input/output error\ngrub2-install: error: efibootmgr failed to register the boot entry: Input/output error.\n'.: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
Environment
- Red Hat OpenStack Platform 16.0 (RHOSP)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.