efibootmgr File Not Found during overcloud deployment

Solution In Progress - Updated -

Issue

  • It appears there is a difference between the 20200130 and 20200227 versions of the ipa images and deployment is resulting in the following traceback when using UEFI:
Mar 04 18:09:03 localhost ironic-python-agent[9106]: 2020-03-04 18:09:03.460 9106 DEBUG oslo_concurrency.processutils [-] Running cmd (subprocess): efibootmgr --version execute /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:372
Mar 04 18:09:03 localhost ironic-python-agent[9106]: 2020-03-04 18:09:03.493 9106 DEBUG oslo_concurrency.processutils [-] 'efibootmgr --version' failed. Not Retrying. execute /usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py:457
Mar 04 18:09:03 localhost ironic-python-agent[9106]: 2020-03-04 18:09:03.523 9106 ERROR root [-] Command execution error: [Errno 2] No such file or directory: 'efibootmgr': 'efibootmgr': FileNotFoundError: [Errno 2] No such file or directory: 'efibootmgr': 'efibootmgr'
                                                               2020-03-04 18:09:03.523 9106 ERROR root Traceback (most recent call last):
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/ironic_python_agent/extensions/base.py", line 252, in execute_command
                                                               2020-03-04 18:09:03.523 9106 ERROR root     result = ext.execute(command_part, **kwargs)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/ironic_python_agent/extensions/base.py", line 205, in execute
                                                               2020-03-04 18:09:03.523 9106 ERROR root     return cmd(**kwargs)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/ironic_python_agent/extensions/base.py", line 321, in wrapper
                                                               2020-03-04 18:09:03.523 9106 ERROR root     result = func(self, **command_params)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/ironic_python_agent/extensions/image.py", line 520, in install_bootloader
                                                               2020-03-04 18:09:03.523 9106 ERROR root     utils.execute('efibootmgr', '--version')
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/ironic_python_agent/utils.py", line 74, in execute
                                                               2020-03-04 18:09:03.523 9106 ERROR root     return ironic_utils.execute(*cmd, **kwargs)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/ironic_lib/utils.py", line 99, in execute
                                                               2020-03-04 18:09:03.523 9106 ERROR root     result = processutils.execute(*cmd, **kwargs)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib/python3.6/site-packages/oslo_concurrency/processutils.py", line 391, in execute
                                                               2020-03-04 18:09:03.523 9106 ERROR root     env=env_variables)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
                                                               2020-03-04 18:09:03.523 9106 ERROR root     restore_signals, start_new_session)
                                                               2020-03-04 18:09:03.523 9106 ERROR root   File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
                                                               2020-03-04 18:09:03.523 9106 ERROR root     raise child_exception_type(errno_num, err_msg, err_filename)
                                                               2020-03-04 18:09:03.523 9106 ERROR root FileNotFoundError: [Errno 2] No such file or directory: 'efibootmgr': 'efibootmgr'
                                                               2020-03-04 18:09:03.523 9106 ERROR root 
Mar 04 18:09:03 localhost ironic-python-agent[9106]: 2020-03-04 18:09:03.933 9106 INFO root [-] Command image.install_bootloader completed: Command name: image.install_bootloader, params: {'root_uuid': '63a12e8d-4563-453e-9df5-d62a8fc0f0ea', 'efi_system_part_uuid': '496E-F9C1', 'prep_boot_part_uuid': None}, status: FAILED, result: None.
  • It basically looks like the efibootmgr is missing in rhosp-director-images-ipa-x86_64-16.0-20200226.1.el8ost.noarch.

Environment

  • Red Hat OpenStack Platform 16.0 (RHOSP)

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