kolla-ansible reconfigure runs task "Gathering OSD IDs" on non-storage nodes

Bug #1634683 reported by Chris Hoge
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Invalid
Critical
Ravinder Kumar
Newton
Won't Fix
Critical
Unassigned

Bug Description

kolla-ansible reconfigure runs task "Gathering OSD IDs" from /ansible/roles/ceph/tasks/start_osds.yml on non-storage nodes. This will result in failure, as no directory '/var/lib/ceph/osd/' exists on non-storage nodes.

Output from failed run:

TASK [ceph : Gathering OSD IDs] ************************************************
fatal: [node1]: FAILED! => {"failed": true, "msg": "ERROR! 'osds' is undefined"}

Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote :

could u post your inventory file out?

Changed in kolla:
milestone: none → ocata-1
Steven Dake (sdake)
Changed in kolla:
status: New → Triaged
importance: Undecided → Critical
Changed in kolla:
milestone: ocata-1 → ocata-2
Changed in kolla:
milestone: ocata-2 → ocata-3
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Changed in kolla:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-3 → pike-rc1
Changed in kolla:
milestone: pike-rc1 → queens-1
Changed in kolla:
milestone: queens-2 → queens-3
Changed in kolla:
assignee: nobody → Ravinder Kumar (rhcayadav)
status: Triaged → In Progress
Changed in kolla:
milestone: queens-3 → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Revision history for this message
Ravinder Kumar (rhcayadav) wrote :

This bug is not reproduced in latest pike release. I have checked with 4 nodes( deployment node + controller & network node + storage node with ceph(2 osd) & compute node + Non storage node & compute node ).

Result :
root@manager1:~# kolla-ansible reconfigure -i multinode
Reconfigure OpenStack service : ansible-playbook -i multinode -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=reconfigure -e serial=0 /usr/local/share/kolla-ansible/ansible/site.yml

PLAY RECAP *******************************************************************************************************************************
manager2.example.com : ok=354 changed=4 unreachable=0 failed=0
manager3.example.com : ok=95 changed=0 unreachable=0 failed=0
manager4.example.com : ok=70 changed=0 unreachable=0 failed=0

FYI:
 manager1.example.com deployment node
 manager2.example.com controller & network node
 manager3.example.com storage node with ceph(2 osd) & compute node
 manager4.example.com Non storage node & compute node

Changed in kolla:
status: In Progress → Invalid
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.