Nova doesn't honor enable_new_services=False

Bug #1426332 reported by Bogdan Dobrelya
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Expired
Low
Unassigned
openstack-manuals
Expired
Undecided
Unassigned

Bug Description

When specified enable_new_services=False for nova.conf at new node and started nova-compute service, the nova-compute service is shown 'enabled' and 'up' in nova service-list output.

But it is expected instead that the compute service will not register itself and will not be shown in nova-service list

How to reproduce with existing compute node (Destructive! Use it only on test environments):
1) stop nova-compute service
2) remove nova-compute service from DB, for example node-foo:
use nova;
delete from compute_nodes where hypervisor_hostname='node-foo';
delete from services where host='node-foo';
3) Set enable_new_services=False in nova.conf
4) start nova-compute service
5) check nova service-list and launch instance, as an option

description: updated
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Bogdan, Is anyone planning to take this on and file a review?

Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Eric Xie (mark-xiett) wrote :

Hi Bogdan, I tried it in 2014.1 release version. And found that "status" field was changed to "disabled".
| nova-compute | dbg-143 | nova | disabled | up | 2015-02-28T01:50:11.000000 | - |
Did you restart the "nova-conductor" service after "3) Set enable_new_services=False in nova.conf"?

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :

Hi, @Eric, no I didn't restart nova-conductor, should I? I will recheck and update the bug, thank you. Perhaps, this bug has a doc impact, are there any details in documentation? If, not there should be an updatedfor enable_new_services and nova-conductor.

Changed in openstack-manuals:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-manuals because there has been no activity for 60 days.]

Changed in openstack-manuals:
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Compute (nova) because there has been no activity for 60 days.]

Changed in nova:
status: Incomplete → Expired
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.