nova boot fails to attach vmdk in multi-host environments without DRS properly enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Medium
|
Shawn Hartsock |
Bug Description
When a VMware vCenter manages more than one ESXi Hosts the nova boot command will fail at the point during which the image (VMDK) is being attached to the VM. The error will be that the "file is not found" inspection of the datastore (you have to suspend or halt the nova process before it performs cleanup activities to observe this) will show that the VMDK was properly placed in the shared datastore but that the host may not be able to see the path at which the VMDK was stored. If you move the VMDK and attach it (using vSphere's own management tools) the VM will recover.
* If you have only one host in the cluster this problem goes away.
* If you only have one host in the vCenter this problem goes away.
* If you have DRS with automatic placement turned on the problem goes away.
2013-05-16 09:22:29.473 ERROR nova.compute.
2013-05-16 09:22:29.474 DEBUG nova.openstack.
2013-05-16 09:22:29.474 DEBUG nova.openstack.
2013-05-16 09:22:29.474 DEBUG nova.openstack.
2013-05-16 09:22:29.475 DEBUG amqp [-] Closed channel #1 from (pid=32776) _do_close /usr/local/
2013-05-16 09:22:29.475 DEBUG amqp [-] using channel_id: 1 from (pid=32776) __init__ /usr/local/
2013-05-16 09:22:29.476 DEBUG amqp [-] Channel open from (pid=32776) _open_ok /usr/local/
2013-05-16 09:22:29.477 DEBUG nova.openstack.
2013-05-16 09:22:29.478 DEBUG nova.openstack.
2013-05-16 09:22:29.479 DEBUG nova.compute.
2013-05-16 09:22:29.480 DEBUG nova.openstack.
2013-05-16 09:22:29.481 INFO nova.compute.
2013-05-16 09:22:29.496 DEBUG amqp [-] Closed channel #1 from (pid=32776) _do_close /usr/local/
2013-05-16 09:22:29.497 DEBUG amqp [-] using channel_id: 1 from (pid=32776) __init__ /usr/local/
2013-05-16 09:22:29.498 DEBUG amqp [-] Channel open from (pid=32776) _open_ok /usr/local/
2013-05-16 09:22:29.606 WARNING nova.virt.
value = "task-273"
_type = "Task"
} status: error File [datastore01] instance-00000009 was not found
2013-05-16 09:22:29.607 WARNING nova.virt.
2013-05-16 09:22:29.607 ERROR nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:29.607 TRACE nova.openstack.
2013-05-16 09:22:30.867 DEBUG nova.openstack.
Changed in nova: | |
assignee: | nobody → Shawn Hartsock (hartsock) |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in nova: | |
status: | Confirmed → In Progress |
summary: |
- nova compute fails when vmware cluster has more than one ESXi Host + nova compute fails when vmware cluster has more than one ESXi Host and + NO shared datastores |
summary: |
- nova compute fails when vmware cluster has more than one ESXi Host and - NO shared datastores + nova compute fails when vmware cluster has NO shared datastores |
Changed in nova: | |
assignee: | Shawn Hartsock (hartsock) → nobody |
Changed in nova: | |
assignee: | nobody → Shawn Hartsock (hartsock) |
Changed in nova: | |
milestone: | none → havana-2 |
summary: |
- nova compute fails when vmware cluster has NO shared datastores + nova boot fails to attach vmdk in multi-host-cluster |
summary: |
- nova boot fails to attach vmdk in multi-host-cluster + nova boot fails to attach vmdk in multi-host-cluster without DRS |
Changed in nova: | |
importance: | Medium → High |
summary: |
- nova boot fails to attach vmdk in multi-host-cluster without DRS + nova boot fails to attach vmdk in multi-host environments |
description: | updated |
Note: I am actively working on this.