Redeployment fails on removal of CephOSD from cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
Medium
|
Fuel Sustaining |
Bug Description
1. Prepare cluster of 4 nodes:
Controller+
Controller+
Controller+
Compute
Compute QEMU
Network Neutron with VLAN segmentation
Storage Backends Ceph RBD for volumes (Cinder)
Ceph RadosGW for objects (Swift API)
Ceph RBD for ephemeral volumes (Nova)
Ceph RBD for images (Glance)
Set Ceph Replication factor = 2.
2. Deploy it and wait until deployment completes.
3. Check OSD tree:
# ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.14996 root default
-2 0.04999 host node-1
0 0.04999 osd.0 up 1.00000 1.00000
-3 0.04999 host node-3
1 0.04999 osd.1 up 1.00000 1.00000
-4 0.04999 host node-2
2 0.04999 osd.2 up 1.00000 1.00000
4. Then prepare node-2 (and osd.2) to deletion:
ceph osd out 2
ceph pg stat (check until all PGs will be "active+clean")
stop ceph-all
ceph osd crush remove osd.2
ceph auth del osd.2
ceph osd rm 2
Check that osd.2 successfully set out of Ceph tree:
# ceph osd tree
ID WEIGHT TYPE NAME UP/DOWN REWEIGHT PRIMARY-AFFINITY
-1 0.09998 root default
-2 0.04999 host node-1
0 0.04999 osd.0 up 1.00000 1.00000
-3 0.04999 host node-3
1 0.04999 osd.1 up 1.00000 1.00000
-4 0 host node-2
5. Delete node-2 from nodes tab in Fuel.
6. Redeploy changes.
Expected: node-2 to be deleted from cluster.
Actual result: quickly get an error
[500] Error running RPC method granular_deploy: 83e35741-
ID: 1 - Reason: Lock file and PID file exist; puppet is running.
http://
Astute log error:
Puppet error on primary controller: http://
Version:
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
fuel-nailgun_sha: "558ca91a854cf2
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "c2a335b5b725f1
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "78ffc73065a967
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "d605bcbabf3153
Changed in mos: | |
importance: | Undecided → Medium |
tags: | added: area-python |
Changed in fuel: | |
assignee: | Fuel Python (Deprecated) (fuel-python) → Fuel Sustaining (fuel-sustaining-team) |
Diagnostic snapshot: https:/ /drive. google. com/a/mirantis. com/file/ d/0B6E70aHvCcRQ Z21BQ2pBVmtYcGM /view?usp= sharing