can not boot a VM with a custom Aggregates
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Incomplete
|
Undecided
|
lvmxh |
Bug Description
boot a VM with a custom Aggregates will fail
1. Exact version of Nova/OpenStack you are running:
libera
2. Reproduce steps:
step 1. in dashboard, admin -> host aggregates tap
click "create host aggregate"
"Host Aggregate Information" tap:
"Manage Hosts within Aggregate" tap
step 2. create an instance with new Availability Zone "Pro-zone".
the instance will fail.
3. Relevant log files:
log:
383144-2015-10-06 16:56:54.464 TRACE nova.compute.
383145-2015-10-06 16:56:54.464 TRACE nova.compute.
383146-2015-10-06 16:56:54.464 TRACE nova.compute.
383147-2015-10-06 16:56:54.464 TRACE nova.compute.
383148-2015-10-06 16:56:54.464 TRACE nova.compute.
383149-2015-10-06 16:56:54.464 TRACE nova.compute.
383150-2015-10-06 16:56:54.464 TRACE nova.compute.
383151-2015-10-06 16:56:54.464 TRACE nova.compute.
383152-2015-10-06 16:56:54.464 TRACE nova.compute.
383153-2015-10-06 16:56:54.464 TRACE nova.compute.
383154-2015-10-06 16:56:54.464 TRACE nova.compute.
383155-2015-10-06 16:56:54.464 TRACE nova.compute.
that's because cinder does not know this new zone.
$ cinder availability- zone-list +------ -----+ +------ -----+ +------ -----+
+------
| Name | Status |
+------
| nova | available |
+------
but: zone-list ------- ------- ------+ ------- ------- ------- ------- ------- -----+ ------- ------- ------+ ------- ------- ------- ------- ------- -----+ OptiPlex- 9020 | | 06T14:41: 41.000000 | 06T14:41: 38.000000 | 06T14:41: 39.000000 | 06T14:41: 39.000000 | OptiPlex- 9020 | | 06T14:41: 45.000000 | 06T14:41: 43.000000 | ------- ------- ------+ ------- ------- ------- ------- ------- -----+
$ nova availability-
+------
| Name | Status |
+------
| internal | available |
| |- shhfeng-
| | |- nova-conductor | enabled :-) 2015-10-
| | |- nova-consoleauth | enabled :-) 2015-10-
| | |- nova-scheduler | enabled :-) 2015-10-
| | |- nova-cert | enabled :-) 2015-10-
| nova-pro | available |
| |- shhfeng-
| | |- nova-compute | enabled :-) 2015-10-
| nova-low | available |
| |- stack-OptiPlex-7010 | |
| | |- nova-compute | enabled :-) 2015-10-
+------