Public bug reported: VM created with vTPM, and barbican configured on nova, also resume_guests_state_on_host_boot = True configured so VM will start when hypervisor host reboot. But once host reboot VM with vTPM goes in error state. using antelope version for nova Nova logs show it not able to get barbican client as keystone auth fails.
2025-02-04 08:22:55.318 DEBUG stevedore.extension [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] found extension EntryPoint(name='barbican', value='castellan.key_manager.barbican_key_manager:BarbicanKeyManager', group='castellan.drivers') from (pid=1760) _load_plugins /opt/venv/lib/python3.9/site-packages/stevedore/extension.py:204 2025-02-04 08:22:55.320 DEBUG stevedore.extension [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] found extension EntryPoint(name='vault', value='castellan.key_manager.vault_key_manager:VaultKeyManager', group='castellan.drivers') from (pid=1760) _load_plugins /opt/venv/lib/python3.9/site-packages/stevedore/extension.py:204 2025-02-04 08:22:55.321 ERROR castellan.key_manager.barbican_key_manager [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] Error creating Barbican client: The service catalog is empty.: keystoneauth1.exceptions.catalog.EmptyCatalog: The service catalog is empty. 2025-02-04 08:22:55.322 ERROR nova.virt.libvirt.driver [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] [instance: 2b0cc465-8bb4-4da2-8438-7662f60d9808] Failed to start libvirt guest: castellan.common.exception.KeyManagerError: Key manager error: The service catalog is empty. ** Affects: nova Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/2097580 Title: VM with vTPM goes to error state when hypervisor host reboot Status in OpenStack Compute (nova): New Bug description: VM created with vTPM, and barbican configured on nova, also resume_guests_state_on_host_boot = True configured so VM will start when hypervisor host reboot. But once host reboot VM with vTPM goes in error state. using antelope version for nova Nova logs show it not able to get barbican client as keystone auth fails. 2025-02-04 08:22:55.318 DEBUG stevedore.extension [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] found extension EntryPoint(name='barbican', value='castellan.key_manager.barbican_key_manager:BarbicanKeyManager', group='castellan.drivers') from (pid=1760) _load_plugins /opt/venv/lib/python3.9/site-packages/stevedore/extension.py:204 2025-02-04 08:22:55.320 DEBUG stevedore.extension [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] found extension EntryPoint(name='vault', value='castellan.key_manager.vault_key_manager:VaultKeyManager', group='castellan.drivers') from (pid=1760) _load_plugins /opt/venv/lib/python3.9/site-packages/stevedore/extension.py:204 2025-02-04 08:22:55.321 ERROR castellan.key_manager.barbican_key_manager [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] Error creating Barbican client: The service catalog is empty.: keystoneauth1.exceptions.catalog.EmptyCatalog: The service catalog is empty. 2025-02-04 08:22:55.322 ERROR nova.virt.libvirt.driver [req-0e379fc0-7762-4298-8bf3-72be3c7272a4 None None] [instance: 2b0cc465-8bb4-4da2-8438-7662f60d9808] Failed to start libvirt guest: castellan.common.exception.KeyManagerError: Key manager error: The service catalog is empty. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/2097580/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp