cinder service-disable should not change current state of cinder serivces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Medium
|
harsh mishra |
Bug Description
some service down as below:
stack@ubuntu-
+------
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------
| cinder-scheduler | ubuntu-server7 | nova | enabled | up | 2014-11-
| cinder-volume | ubuntu-
you can see, the ubuntu-
then i issued :
stack@ubuntu-
to disable this service
while i checked output of service-list:
stack@ubuntu-
+------
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------
| cinder-scheduler | ubuntu-server7 | nova | enabled | up | 2014-11-
| cinder-volume | ubuntu-
the service was disabled, but the state was set to up, which is not reasonable
Thanks
Peter
summary: |
- cinder service-disable show not change current state of cinder serivces + cinder service-disable should not change current state of cinder + serivces |
tags: |
added: low-hanging-fruit removed: cinder |
Changed in cinder: | |
assignee: | nobody → Hideki Saito (saitou) |
Changed in cinder: | |
assignee: | Hideki Saito (saitou) → nobody |
Changed in cinder: | |
assignee: | nobody → harsh mishra (harsh-mishra) |
status: | Confirmed → In Progress |
Changed in cinder: | |
importance: | Wishlist → Medium |
Changed in cinder: | |
milestone: | none → next |
Changed in cinder: | |
status: | Fix Committed → Fix Released |
Changed in cinder: | |
milestone: | kilo-rc1 → 2015.1.0 |
This is unfortunately a side-effect of 'cinder service-disable' touching the service record in DB, which would update the 'updated_at' timestamp of the record, result in the awkward situation you've seen. But that doesn't really hurt much, it's just weird.