Updating overcloud nodes fail if octavia is deployed in the overcloud

Solution In Progress - Updated -

Issue

  • Updating overcloud nodes always fail if octavia is deployed in the overcloud.

    $ openstack overcloud update run --stack osp170 --limit Controller --playbook all
    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
    2022-09-28 12:25:33.800 270956 INFO tripleoclient.v1.overcloud_update.MinorUpdateRun [-] User confirmed action.
    2022-09-28 12:25:33.803 270956 INFO tripleoclient.utils.utils [-] Running Ansible playbook: /home/stack/overcloud-deploy/osp170/config-download/osp170/tripleo-multi-playbook.yaml, multi-playbook execution: ['/home/stack/overcloud-deploy/osp170/config-download/osp170/update_steps_playbook.yaml'] Working directory: /home/stack/overcloud-deploy/osp170/config-download/osp170, Playbook directory: /home/stack/overcloud-deploy/osp170/config-download/osp170
    2022-09-28 12:25:33.803 270956 INFO tripleoclient.utils.utils [-] Running ansible with the following limit: Controller
    [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to
    new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be
    removed from ansible-core in version 2.15. Deprecation warnings can be disabled
    by setting deprecation_warnings=False in ansible.cfg.
    [WARNING]: Skipping key (deprecated) in group (overcloud) as it is not a
    mapping, it is a <class 'ansible.parsing.yaml.objects.AnsibleUnicode'>
    ERROR! couldn't resolve module/action 'docker'. This often indicates a misspelling, missing collection, or incorrect module path.
    
    The error appears to be in '/home/stack/overcloud-deploy/osp170/config-download/osp170/Controller/update_tasks_step2.yaml': line 103, column 5, but may
    be elsewhere in the file depending on the exact syntax problem.
    
    The offending line appears to be:
    
    - block:
    - docker:
      ^ here
    2022-09-28 12:25:35.225 270956 INFO tripleoclient.utils.utils [-] Temporary directory [ /tmp/tripleo_tqcwunc ] cleaned up
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.utils.utils [-] Ansible execution failed. playbook: /home/stack/overcloud-deploy/osp170/config-download/osp170/tripleo-multi-playbook.yaml, Run Status: failed, Return Code: 4, To rerun the failed command manually execute the following script: /home/stack/overcloud-deploy/osp170/config-download/osp170/ansible-playbook-command.sh
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun [-] Exception occured while running the command: RuntimeError: Ansible execution failed. playbook: /home/stack/overcloud-deploy/osp170/config-download/osp170/tripleo-multi-playbook.yaml, Run Status: failed, Return Code: 4, To rerun the failed command manually execute the following script: /home/stack/overcloud-deploy/osp170/config-download/osp170/ansible-playbook-command.sh
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun Traceback (most recent call last):
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun   File "/usr/lib/python3.9/site-packages/tripleoclient/command.py", line 32, in run
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun     super(Command, self).run(parsed_args)
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun   File "/usr/lib/python3.9/site-packages/osc_lib/command/command.py", line 39, in run
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun     return super(Command, self).run(parsed_args)
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun   File "/usr/lib/python3.9/site-packages/cliff/command.py", line 186, in run
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun     return_code = self.take_action(parsed_args) or 0
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun   File "/usr/lib/python3.9/site-packages/tripleoclient/v1/overcloud_update.py", line 190, in take_action
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun     oooutils.run_ansible_playbook(
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun   File "/usr/lib/python3.9/site-packages/tripleoclient/utils.py", line 739, in run_ansible_playbook
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun     raise RuntimeError(err_msg)
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun RuntimeError: Ansible execution failed. playbook: /home/stack/overcloud-deploy/osp170/config-download/osp170/tripleo-multi-playbook.yaml, Run Status: failed, Return Code: 4, To rerun the failed command manually execute the following script: /home/stack/overcloud-deploy/osp170/config-download/osp170/ansible-playbook-command.sh
    2022-09-28 12:25:35.226 270956 ERROR tripleoclient.v1.overcloud_update.MinorUpdateRun
    2022-09-28 12:25:35.249 270956 ERROR openstack [-] Ansible execution failed. playbook: /home/stack/overcloud-deploy/osp170/config-download/osp170/tripleo-multi-playbook.yaml, Run Status: failed, Return Code: 4, To rerun the failed command manually execute the following script: /home/stack/overcloud-deploy/osp170/config-download/osp170/ansible-playbook-command.sh: RuntimeError: Ansible execution failed. playbook: /home/stack/overcloud-deploy/osp170/config-download/osp170/tripleo-multi-playbook.yaml, Run Status: failed, Return Code: 4, To rerun the failed command manually execute the following script: /home/stack/overcloud-deploy/osp170/config-download/osp170/ansible-playbook-command.sh
    2022-09-28 12:25:35.249 270956 INFO osc_lib.shell [-] END return value: 1
    $
    

Environment

  • Red Hat OpenStack Platform 17.0
  • Octavia is deployed in the overcloud

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