Bug 1482100
| Summary: | [UPDATES] Failed to run updates on controllers: "no action detected in task" | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> |
| Component: | openstack-tripleo-heat-templates | Assignee: | mathieu bultel <mbultel> |
| Status: | CLOSED DUPLICATE | QA Contact: | Gurenko Alex <agurenko> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 12.0 (Pike) | CC: | aschultz, lbezdick, mandreou, mbultel, mburns, morazi, rhel-osp-director-maint, sathlang, yprokule |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 12.0 (Pike) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-15 13:21:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Hi, Can you try to installed the ansible-pacemaker module and re-run the playbook ? *** This bug has been marked as a duplicate of bug 1498901 *** |
Description of problem: ----------------------- Attempt to run minor update playbook on controllers fails: $ ansible-playbook -b -i tmp-hosts tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_playbook.yaml --limit controller PLAY [overcloud] ************************************************************************************************************************************************************************************************** TASK [Gathering Facts] ******************************************************************************************************************************************************************************************** ok: [192.168.24.13] TASK [include] **************************************************************************************************************************************************************************************************** included: /home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_tasks.yaml for 192.168.24.13 included: /home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_tasks.yaml for 192.168.24.13 included: /home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_tasks.yaml for 192.168.24.13 included: /home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_tasks.yaml for 192.168.24.13 included: /home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_tasks.yaml for 192.168.24.13 TASK [include] **************************************************************************************************************************************************************************************************** fatal: [192.168.24.13]: FAILED! => {"failed": true, "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 '/home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/Controller/update_tasks.yaml': line 7, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n when: step == \"1\"\n- name: Update the haproxy resource bundle for new image\n ^ here\n\n\nThe error appears to have been in '/home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/Controller/update_tasks.yaml': line 7, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n when: step == \"1\"\n- name: Update the haproxy resource bundle for new image\n ^ here\n"} to retry, use: --limit @/home/stack/tmpconfig-latest/tripleo-VM7Mr1-config/update_steps_playbook.retry PLAY RECAP ******************************************************************************************************************************************************************************************************** 192.168.24.13 : ok=6 changed=0 unreachable=0 failed=1 Looks like ansible's module "pacemaker_resource" is missing on undercloud. Version-Release number of selected component (if applicable): ------------------------------------------------------------- openstack-tripleo-heat-templates-7.0.0-0.20170805163048.el7ost.noarch ansible-2.3.1.0-3.el7.noarch Steps to Reproduce: ------------------- 1. Update uc 2. Setup repos on oc 3. Apply patches on uc 4. Restart heat/mistral on uc 5. Get latest images on uc 6. Re-run initial deploy command with update_noop.yaml 7. Generate list of hosts with tripleo-ansible-inventory 8. Generate updates' playbook: openstack overcloud config download --config-dir tmpconfig-latest 9. Run minor update against controller nodes ansible-playbook -b -i tmp-hosts tmpconfig-latest/tripleo-VM7Mr1-config /update_steps_playbook.yaml --limit controller Actual results: --------------- Attempt to run minor update fails Expected results: ----------------- Minor update of oc controllers succeeds