Fix the breaking change to ComputeDriver.spawn in nova-dpm
Bug #1724744 reported by
Sreeram Vancheeswaran
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-dpm |
Fix Released
|
Critical
|
Sreeram Vancheeswaran |
Bug Description
Changed in nova-dpm: | |
assignee: | nobody → Sreeram Vancheeswaran (sreeram-vancheeswaran) |
importance: | Undecided → Critical |
status: | New → In Progress |
To post a comment you must log in.
Have fixed the root cause by adding allocations kwarg to the spawn methods in driver and test files; However hit with another issue (see below); looking into that
Oct 26 06:36:54 zfwcec190 nova-compute[ 39722]: ERROR nova.compute. manager [None req-cffaeec4- f73d-4e81- b7af-8ed9d446a9 03 service nova] [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] Instance failed to spawn: KeyError: 'object_id' 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] Traceback (most recent call last): 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] File "/opt/stack/ nova/nova/ compute/ manager. py", line 2208, in _build_resources 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] yield resources 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] File "/opt/stack/ nova/nova/ compute/ manager. py", line 2001, in _build_ and_run_ instance 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] block_device_ info=block_ device_ info) 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] File "/opt/stack/ nova-dpm/ nova_dpm/ virt/dpm/ driver. py", line 346, in spawn 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] nic = inst.attach_ nic(vif) 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] File "/opt/stack/ nova-dpm/ nova_dpm/ virt/dpm/ vm.py", line 182, in attach_nic 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] dpm_object_id = vif_details[ 'object_ id'] 39722]: ERROR nova.compute. manager [instance: c353aeae- 2ee2-446c- 889c-f1cdc084c7 05] KeyError: 'object_id'
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[
Oct 26 06:36:54 zfwcec190 nova-compute[