Command 'openstack overcloud external-update run --tags online_upgrade' failed with 'Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.'

Solution Unverified - Updated -

Issue

Command 'openstack overcloud external-update run --tags online_upgrade' failed with 'Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.'

(undercloud) [stack@RHOSP ~]$ openstack overcloud external-update run --tags online_upgrade
You are about to run a UPDATE command. It is strongly recommended to perform a backup before the update. Are you sure you want to update [y/N]?y
2024-07-03 12:26:25.892 421345 INFO tripleoclient.v1.overcloud_external_update.ExternalUpdateRun [-] User confirmed action.
2024-07-03 12:26:27.080 421345 WARNING tripleoclient.utils.utils [-] WARNING:tripleo_common.inventory:Stack not found: overcloud. Only the undercloud will be added to the inventory.
2024-07-03 12:26:27.795 421345 WARNING tripleoclient.plugin [-] Waiting for messages on queue 'tripleo' with no timeout.
Ansible failed, check log at /var/log/containers/mistral/package_update.log.
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun [-] Exception occured while running the command: RuntimeError: Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun Traceback (most recent call last):
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun   File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 32, in run
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun     super(Command, self).run(parsed_args)
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun   File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 41, in run
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun     return super(Command, self).run(parsed_args)
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun   File "/usr/lib/python3.6/site-packages/cliff/command.py", line 185, in run
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun     return_code = self.take_action(parsed_args) or 0
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun   File "/usr/lib/python3.6/site-packages/tripleoclient/v1/overcloud_external_update.py", line 157, in take_action
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun     priv_key=key, forks=parsed_args.ansible_forks)
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun   File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 1431, in run_update_ansible_action
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun     verbosity=verbosity, extra_vars=extra_vars)
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun   File "/usr/lib/python3.6/site-packages/tripleoclient/workflows/package_update.py", line 127, in update_ansible
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun     raise RuntimeError('Update failed with: {}'.format(payload['message']))
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun RuntimeError: Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
2024-07-03 12:26:28.491 421345 ERROR tripleoclient.v1.overcloud_external_update.ExternalUpdateRun
2024-07-03 12:26:28.492 421345 ERROR openstack [-] Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.: RuntimeError: Update failed with: Ansible failed, check log at /var/log/containers/mistral/package_update.log.
2024-07-03 12:26:28.492 421345 INFO osc_lib.shell [-] END return value: 1
(undercloud) [stack@RHOSP ~]$
==================================================

Environment

Red Hat OpenStack Platform 16.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content