Merge lp://qastaging/~anso/nova/burnin into lp://qastaging/~hudson-openstack/nova/trunk
Proposed by
Todd Willey
Status: | Merged |
---|---|
Approved by: | Todd Willey |
Approved revision: | 478 |
Merged at revision: | 511 |
Proposed branch: | lp://qastaging/~anso/nova/burnin |
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk |
Diff against target: |
446 lines (+244/-5) 10 files modified
bin/nova-manage (+49/-1) nova/api/ec2/cloud.py (+39/-0) nova/compute/api.py (+3/-1) nova/db/api.py (+5/-0) nova/db/sqlalchemy/api.py (+2/-0) nova/db/sqlalchemy/models.py (+2/-0) nova/scheduler/driver.py (+5/-0) nova/scheduler/simple.py (+26/-0) nova/tests/test_scheduler.py (+87/-3) nova/tests/test_service.py (+26/-0) |
To merge this branch: | bzr merge lp://qastaging/~anso/nova/burnin |
Related bugs: | |
Related blueprints: |
Staging of hardware for system users
(Medium)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Vish Ishaya (community) | Approve | ||
Devin Carlen (community) | Approve | ||
Review via email: mp+44425@code.qastaging.launchpad.net |
Description of the change
Add burnin support. Services are now by default disabled, but can have instances and volumes run on them using availability_zone = nova:HOSTNAME. This lets the hardware be put through its paces without being put in the generally available pool of hardware. There is a 'service' subcommand for nova-manage where you can enable, disable, and list statuses of services.
To post a comment you must log in.
I think that we should provide a flag that defaults to True called auto_enable_ services to key whether services should be enabled by default. That way we don't have to change the install and testing scripts to do a nova-manage service enable automatically. Defaulting to enabled=False is great for deployment but annoying for dev/testing. I'll add it real quick if it seems like a reasonable addition.