[Update] Playbook for updating ceph should handle clusters without ceph.

Bug #1645427 reported by Ilya Bumarskov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexey Stupnikov

Bug Description

Update_ceph playbook failed on cluster without ceph:

ansible-playbook playbooks/update_ceph.yml -e '{"env_id":1,"restart_ceph":false}':

TASK [Update radosgw package] **************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: KeyError: 'changed'
fatal: [node-2.test.domain.local]: FAILED! => {"changed": false, "failed": true, "module_stderr": "Traceback (most recent call last):\n File \"/tmp/ansible_EARU3s/ansible_module_apt.py\", line 909, in <module>\n main()\n File \"/tmp/ansible_EARU3s/ansible_module_apt.py\", line 892, in main\n if updated_cache and not retvals['changed']:\nKeyError: 'changed'\n", "module_stdout": "", "msg": "MODULE FAILURE"}

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
node-1.test.domain.local : ok=1 changed=0 unreachable=0 failed=0
node-2.test.domain.local : ok=3 changed=1 unreachable=0 failed=1
node-3.test.domain.local : ok=1 changed=0 unreachable=0 failed=0

Changed in fuel:
assignee: nobody → Andrey Epifanov (aepifanov)
importance: Undecided → Low
milestone: none → 9.2
Changed in fuel:
importance: Low → High
Changed in fuel:
status: New → Confirmed
assignee: Andrey Epifanov (aepifanov) → Alexey Stupnikov (astupnikov)
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
Alexey Stupnikov (astupnikov) wrote :

This bug is fixed by https://review.fuel-infra.org/#/c/29067/ patch.

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
tags: removed: on-verification
tags: added: on-verification
Revision history for this message
Ilya Bumarskov (ibumarskov) wrote :

Was verified on snapshot-id #631

tags: removed: on-verification
Changed in fuel:
status: Fix Committed → 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.