In ironic-conductor.log I can see this error:
2022-01-17 05:52:38.176 2 ERROR ironic.drivers.modules.agent_base [req-ffbdafa8-aa43-4472-af95-b9515773227b - - - - -] Deploy step deploy.prepare_instance_boot failed: Failed to install a bootloader when deploying node 46a21833-e127-4a1e-a40b-7b2a8b6be414. Error: Installing GRUB2 boot loader to device /dev/sda failed with Unexpected error while running command. Command: chroot /tmp/tmpm6zdlj3w /bin/sh -c "grub2-install /dev/sda" Exit code: 1 Stdout: '' Stderr: "grub2-install: error: /usr/lib/grub/x86_64-efi/modinfo.sh doesn't exist. Please specify --target or --directory.\n".
In ironic- conductor. log I can see this error:
2022-01-17 05:52:38.176 2 ERROR ironic. drivers. modules. agent_base [req-ffbdafa8- aa43-4472- af95-b951577322 7b - - - - -] Deploy step deploy. prepare_ instance_ boot failed: Failed to install a bootloader when deploying node 46a21833- e127-4a1e- a40b-7b2a8b6be4 14. Error: Installing GRUB2 boot loader to device /dev/sda failed with Unexpected error while running command. grub/x86_ 64-efi/ modinfo. sh doesn't exist. Please specify --target or --directory.\n".
Command: chroot /tmp/tmpm6zdlj3w /bin/sh -c "grub2-install /dev/sda"
Exit code: 1
Stdout: ''
Stderr: "grub2-install: error: /usr/lib/