Overcloud update converge fails when updating Octavia to latest train

Bug #1863599 reported by Gregory Thiemonge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Gregory Thiemonge

Bug Description

Reported in https://bugzilla.redhat.com/show_bug.cgi?id=1803718

Overcloud update converge fails when updating Octavia to latest train

How reproducible: 100%

Steps to Reproduce:
1. Run OSP 16 update from GA to RHOS_TRUNK-16.0-RHEL-8-20200213.n.1 (z1 candidate)
2. The update will fail while executing "openstack overcloud update converge"

Actual results:

2020-02-16 18:52:22 | TASK [Configure octavia command] ***********************************************
2020-02-16 18:52:22 | Sunday 16 February 2020 18:49:53 +0000 (0:00:00.136) 0:27:36.744 *******
2020-02-16 18:52:22 | ok: [undercloud]
2020-02-16 18:52:22 |
2020-02-16 18:52:22 | TASK [set_fact] ****************************************************************
2020-02-16 18:52:22 | Sunday 16 February 2020 18:49:53 +0000 (0:00:00.137) 0:27:36.882 *******
2020-02-16 18:52:22 | ok: [undercloud]
2020-02-16 18:52:22 |
2020-02-16 18:52:22 | TASK [debug] *******************************************************************
2020-02-16 18:52:22 | Sunday 16 February 2020 18:49:53 +0000 (0:00:00.138) 0:27:37.020 *******
2020-02-16 18:52:22 | ok: [undercloud] => {
2020-02-16 18:52:22 | "msg": "Configure Octavia command is: ANSIBLE_CONFIG=\"/var/lib/mistral/overcloud/ansible.cfg\" ansible-playbook -i \"/var/lib/mistral/overcloud/octavia-ansible/inventory.yaml\" --extra-vars @/var/lib/mistral/overcloud/octavia-ansible/group_vars/octavia_vars.yaml --private-key /var/lib/mistral/overcloud/ssh_private_key /usr/share/ansible/tripleo-playbooks/octavia-files.yaml"
2020-02-16 18:52:22 | }
2020-02-16 18:52:22 |
2020-02-16 18:52:22 | TASK [Configure octavia on overcloud] ******************************************
2020-02-16 18:52:22 | Sunday 16 February 2020 18:49:53 +0000 (0:00:00.138) 0:27:37.159 *******
2020-02-16 18:52:22 | changed: [undercloud]
2020-02-16 18:52:25 |
2020-02-16 18:52:25 |
2020-02-16 18:52:25 | TASK [Purge temp dirs] *********************************************************
2020-02-16 18:52:25 | Sunday 16 February 2020 18:52:22 +0000 (0:02:28.703) 0:30:05.862 *******
2020-02-16 18:52:25 | failed: [undercloud] (item=/var/lib/mistral/overcloud/octavia-ansible/local_dir) => {"ansible_loop_var": "item", "changed": false, "item": "/var/lib/mistral/overcloud/octavia-ansible/local_dir", "msg": "rmtree failed: [Errno 13] Permission denied: '/var/lib/mistral/overcloud/octavia-ansible/local_dir'"}
2020-02-16 18:52:25 |
2020-02-16 18:52:25 | NO MORE HOSTS LEFT *************************************************************
2020-02-16 18:52:25 |
2020-02-16 18:52:25 | PLAY RECAP *********************************************************************
2020-02-16 18:52:25 | compute-0 : ok=256 changed=96 unreachable=0 failed=0 skipped=151 rescued=0 ignored=1
2020-02-16 18:52:25 | compute-1 : ok=252 changed=96 unreachable=0 failed=0 skipped=151 rescued=0 ignored=1
2020-02-16 18:52:25 | controller-0 : ok=347 changed=136 unreachable=0 failed=0 skipped=155 rescued=0 ignored=1
2020-02-16 18:52:25 | controller-1 : ok=299 changed=127 unreachable=0 failed=0 skipped=165 rescued=0 ignored=1
2020-02-16 18:52:25 | controller-2 : ok=299 changed=127 unreachable=0 failed=0 skipped=165 rescued=0 ignored=1
2020-02-16 18:52:25 | undercloud : ok=24 changed=10 unreachable=0 failed=1 skipped=64 rescued=0 ignored=0
2020-02-16 18:52:25 |
2020-02-16 18:52:25 | Sunday 16 February 2020 18:52:22 +0000 (0:00:00.376) 0:30:06.239 *******
2020-02-16 18:52:25 | ===============================================================================
2020-02-16 18:52:25 |
2020-02-16 18:52:25 | Ansible failed, check log at /var/lib/mistral/overcloud/ansible.log.
2020-02-16 18:52:25 | 2020-02-16 18:52:25.080 271008 ERROR openstack [-] Overcloud configuration failed.: tripleoclient.exceptions.DeploymentError: Overcloud configuration failed.ESC[00m
2020-02-16 18:52:25 | 2020-02-16 18:52:25.086 271008 INFO osc_lib.shell [-] END return value: 1ESC[00m

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/708100

Changed in tripleo:
assignee: nobody → Gregory Thiemonge (gthiemonge)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/708101

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/708116

Changed in tripleo:
milestone: none → ussuri-3
importance: Undecided → Medium
tags: added: train-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/708100
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8298f4569c86b779e7b50436420aa9f905520527
Submitter: Zuul
Branch: master

commit 8298f4569c86b779e7b50436420aa9f905520527
Author: Gregory Thiemonge <email address hidden>
Date: Mon Feb 17 12:18:24 2020 +0100

    Fix permission issue when removing octavia temp dirs

    Temporary directories were created with 'become: true' parameter,
    removing them without the same parameter might lead to permission denied
    error.

    Closes-Bug: #1863599
    Change-Id: I61db5d3b2ada590f8cbc0e93889872e1746b621c

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/708101
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c41efb62dc09640d996b4ae92d26290c128cd7c0
Submitter: Zuul
Branch: stable/train

commit c41efb62dc09640d996b4ae92d26290c128cd7c0
Author: Gregory Thiemonge <email address hidden>
Date: Mon Feb 17 12:18:24 2020 +0100

    Fix permission issue when removing octavia temp dirs

    Temporary directories were created with 'become: true' parameter,
    removing them without the same parameter might lead to permission denied
    error.

    Closes-Bug: #1863599
    Change-Id: I61db5d3b2ada590f8cbc0e93889872e1746b621c
    (cherry picked from commit 8298f4569c86b779e7b50436420aa9f905520527)

tags: added: in-stable-train
tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/stein)

Reviewed: https://review.opendev.org/708116
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=bda356e8b5b045aca21a2cb8701e9d66248da454
Submitter: Zuul
Branch: stable/stein

commit bda356e8b5b045aca21a2cb8701e9d66248da454
Author: Gregory Thiemonge <email address hidden>
Date: Mon Feb 17 12:18:24 2020 +0100

    Fix permission issue when removing octavia temp dirs

    Temporary directories were created with 'become: true' parameter,
    removing them without the same parameter might lead to permission denied
    error.

    Closes-Bug: #1863599
    Change-Id: I61db5d3b2ada590f8cbc0e93889872e1746b621c
    (cherry picked from commit 8298f4569c86b779e7b50436420aa9f905520527)
    (cherry picked from commit c41efb62dc09640d996b4ae92d26290c128cd7c0)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.2.0

This issue was fixed in the openstack/tripleo-heat-templates 12.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.4.0

This issue was fixed in the openstack/tripleo-heat-templates 11.4.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates stein-eol

This issue was fixed in the openstack/tripleo-heat-templates stein-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.