Can't stop Ceph OSD after fresh install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Oleksiy Molchanov | ||
5.1.x |
Fix Committed
|
High
|
Oleksiy Molchanov | ||
6.0.x |
Fix Committed
|
High
|
Oleksiy Molchanov | ||
6.1.x |
Fix Released
|
High
|
Oleksiy Molchanov |
Bug Description
Environment:
{"build_id": "2014-09-
Steps to reproduce:
-Deploy 3 controller nodes, 3 compute nodes and 3 ceph nodes used for glance and cinder on Ubuntu 12.04
-ssh to ceph node
-display running osd on node (ceph osd tree)
-issue stop ceph-osd id=XX
-receive "error stop: Unknown instance: ceph/XX"
example:
root@node-25:~# ceph osd tree
# id weight type name up/down reweight
-1 16.35 root default
-2 5.45 host node-24
0 1.09 osd.0 up 1
3 1.09 osd.3 up 1
6 1.09 osd.6 up 1
9 1.09 osd.9 up 1
12 1.09 osd.12 up 1
-3 5.45 host node-26
1 1.09 osd.1 up 1
4 1.09 osd.4 up 1
7 1.09 osd.7 up 1
10 1.09 osd.10 up 1
13 1.09 osd.13 up 1
-4 5.45 host node-25
2 1.09 osd.2 up 1
5 1.09 osd.5 up 1
8 1.09 osd.8 up 1
11 1.09 osd.11 up 1
14 1.09 osd.14 up 1
root@node-25:~# stop ceph-osd id=2
stop: Unknown instance: ceph/2
root@node-25:~#
Expected result:
The osd should be downed by the command
Work around :
reboot ceph node : stop ceph-osd command works fine
Changed in fuel: | |
assignee: | nobody → Fuel for Openstack (fuel) |
Changed in fuel: | |
status: | New → Incomplete |
importance: | Undecided → Low |
milestone: | none → 6.0 |
tags: | added: ceph |
tags: | added: on-verification |
I can't reproduce is, similar environment, same ISO version (build 11 aka 5.1 GA):
root@node-1:~# ceph osd tree
# id weight type name up/down reweight
-1 0.18 root default
-2 0.06 host node-2
0 0.03 osd.0 up 1
3 0.03 osd.3 up 1
-3 0.06 host node-3
2 0.03 osd.2 up 1
5 0.03 osd.5 up 1
-4 0.06 host node-1
1 0.03 osd.1 up 1
4 0.03 osd.4 up 1
root@node-1:~# stop ceph-osd id=1
ceph-osd stop/waiting
root@node-1:~# ceph osd tree
# id weight type name up/down reweight
-1 0.18 root default
-2 0.06 host node-2
0 0.03 osd.0 up 1
3 0.03 osd.3 up 1
-3 0.06 host node-3
2 0.03 osd.2 up 1
5 0.03 osd.5 up 1
-4 0.06 host node-1
1 0.03 osd.1 down 1
4 0.03 osd.4 up 1
root@node-1:~# start ceph-osd id=1
ceph-osd (ceph/1) start/running, process 1485
root@node-1:~# ceph osd tree
# id weight type name up/down reweight
-1 0.18 root default
-2 0.06 host node-2
0 0.03 osd.0 up 1
3 0.03 osd.3 up 1
-3 0.06 host node-3
2 0.03 osd.2 up 1
5 0.03 osd.5 up 1
-4 0.06 host node-1
1 0.03 osd.1 up 1
4 0.03 osd.4 up 1