Bug 1482100 - [UPDATES] Failed to run updates on controllers: "no action detected in task"
Summary: [UPDATES] Failed to run updates on controllers: "no action detected in task"
Keywords:
Status: CLOSED DUPLICATE of bug 1498901
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 12.0 (Pike)
Assignee: mathieu bultel
QA Contact: Gurenko Alex
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-16 13:03 UTC by Yurii Prokulevych
Modified: 2017-11-15 13:21 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-15 13:21:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yurii Prokulevych 2017-08-16 13:03:18 UTC
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

Comment 2 mathieu bultel 2017-08-17 08:02:49 UTC
Hi,

Can you try to installed the ansible-pacemaker module and re-run the playbook ?

Comment 4 mathieu bultel 2017-11-15 13:21:37 UTC

*** This bug has been marked as a duplicate of bug 1498901 ***


Note You need to log in before you can comment on or make changes to this bug.