stable/rocky octavia upgrade fails with ansible error

Bug #1811050 reported by Rabi Mishra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Rabi Mishra

Bug Description

It seems there is a typo (s/common/command)[1] in the upgrade_tasks.

[1] https://github.com/openstack/tripleo-heat-templates/blob/stable/rocky/docker/services/octavia-health-manager.yaml#L154

That task was removed from master[1]. However, we need to fix it in stable branches.

[1] https://github.com/openstack/tripleo-heat-templates/commit/e4ee042a2aaf880e9863461a7423549be3bb0aa1

traceback:

2019-01-08 11:19:55.566 435758 DEBUG osc_lib.clientmanager [-] Get auth_ref auth_ref /usr/lib/python2.7/site-packages/osc_lib/clientmanager.py:201
2019-01-08 11:20:03.121 435758 WARNING tripleoclient.plugin [-] Waiting for messages on queue 'upgrade' with no timeout.
[u'Using /tmp/ansible-mistral-actionxlaX9x/ansible.cfg as config file',
 u'',
 u'PLAY [overcloud] ***************************************************************',
 u'',
 u'TASK [Gathering Facts] *********************************************************',
 u'Tuesday 08 January 2019 11:20:11 -0500 (0:00:00.106) 0:00:00.106 ******* ',
 u'ok: [controller-2]',
 u'ok: [controller-0]',
 u'ok: [controller-1]',
 u'',
 u'TASK [include_tasks] ***********************************************************',
 u'Tuesday 08 January 2019 11:20:16 -0500 (0:00:04.996) 0:00:05.102 ******* ',
 u'fatal: [controller-2]: FAILED! => {"reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\\n\\nThe error appears
to have been in \'/var/lib/mistral/6e008413-cdc0-4938-bd35-bad25904e130/Controller/upgrade_tasks.yaml\': line 775, column 5, but may\\nbe elsewhere in the file depending on
the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n - common: systemctl is-enabled --quiet openstack-octavia-health-manager\\n ^ here\\n"}'
,
 u'fatal: [controller-1]: FAILED! => {"reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\\n\\nThe error appears
to have been in \'/var/lib/mistral/6e008413-cdc0-4938-bd35-bad25904e130/Controller/upgrade_tasks.yaml\': line 775, column 5, but may\\nbe elsewhere in the file depending on
the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n - common: systemctl is-enabled --quiet openstack-octavia-health-manager\\n ^ here\\n"}'
,
 u'fatal: [controller-0]: FAILED! => {"reason": "no action detected in task. This often indicates a misspelled module name, or incorrect module path.\\n\\nThe error appears
to have been in \'/var/lib/mistral/6e008413-cdc0-4938-bd35-bad25904e130/Controller/upgrade_tasks.yaml\': line 775, column 5, but may\\nbe elsewhere in the file depending on
the exact syntax problem.\\n\\nThe offending line appears to be:\\n\\n- block:\\n - common: systemctl is-enabled --quiet openstack-octavia-health-manager\\n ^ here\\n"}'

Rabi Mishra (rabi)
Changed in tripleo:
assignee: nobody → Rabi Mishra (rabi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/629383

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

Reviewed: https://review.openstack.org/629383
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=8bdef1e7b6ff7ea39be29575ff6529634340a0a2
Submitter: Zuul
Branch: stable/rocky

commit 8bdef1e7b6ff7ea39be29575ff6529634340a0a2
Author: Rabi Mishra <email address hidden>
Date: Wed Jan 9 11:15:59 2019 +0530

    Fix typo in octavia upgrade_tasks

    These tasks have been removed from master[1], hence only stable
    branches need this.

    [1] https://review.openstack.org/#/c/622578/

    Change-Id: Ic8161a134c8b1fa49c0469fd9fba335d62c45659
    Closes-Bug: #1811050

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/629750

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

Reviewed: https://review.openstack.org/629750
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=bd2da9bf4e264d2629125ff2db37d0212039b973
Submitter: Zuul
Branch: stable/queens

commit bd2da9bf4e264d2629125ff2db37d0212039b973
Author: Rabi Mishra <email address hidden>
Date: Wed Jan 9 11:15:59 2019 +0530

    Fix typo in octavia upgrade_tasks

    These tasks have been removed from master[1], hence only stable
    branches need this.

    [1] https://review.openstack.org/#/c/622578/

    Change-Id: Ic8161a134c8b1fa49c0469fd9fba335d62c45659
    Closes-Bug: #1811050
    (cherry picked from commit 8bdef1e7b6ff7ea39be29575ff6529634340a0a2)

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

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/630941

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

Reviewed: https://review.openstack.org/630941
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=85826b52dae723536dfe1a62f2d80c4901c35641
Submitter: Zuul
Branch: stable/pike

commit 85826b52dae723536dfe1a62f2d80c4901c35641
Author: Rabi Mishra <email address hidden>
Date: Wed Jan 9 11:15:59 2019 +0530

    Fix typo in octavia upgrade_tasks

    These tasks have been removed from master[1], hence only stable
    branches need this.

    [1] https://review.openstack.org/#/c/622578/

    Change-Id: Ic8161a134c8b1fa49c0469fd9fba335d62c45659
    Closes-Bug: #1811050
    (cherry picked from commit 8bdef1e7b6ff7ea39be29575ff6529634340a0a2)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.3.0

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

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

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

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

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

Changed in tripleo:
milestone: none → train-1
importance: Undecided → Medium
status: New → Fix Released
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.