yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01654
[Bug 1155498] Re: PowerVM driver spawn failed due to missing attribute supported_instances
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => grizzly-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1155498
Title:
PowerVM driver spawn failed due to missing attribute
supported_instances
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
During test in a cross-hypervisor environment (KVM+PowerVM), I ran
into an issue deploying an instance for Power host by PowerVM driver.
And I have configured the property "hypervisor_type" for the PowerVM
image.
Below is the error log:
2013-03-15 12:37:03.207 DEBUG nova.scheduler.filters.image_props_filter [req-02c03c76-7ab9-4f7e-b610-ec76879f94b6 d23b99a77d784eb48de60ce44cf95616 5b4c5924656c4daa96f813608fa91a09] Instance contains properties {u'hypervisor_type': u'powervm'}, but no corresponding capabilities are advertised by the compute node _instance_supported /usr/lib/python2.6/site-packages/nova/scheduler/filters/image_props_filter.py:53
2013-03-15 12:37:03.209 DEBUG nova.scheduler.filters.image_props_filter [req-02c03c76-7ab9-4f7e-b610-ec76879f94b6 d23b99a77d784eb48de60ce44cf95616 5b4c5924656c4daa96f813608fa91a09] (IVM, IVM) ram:65024 disk:410517504 io_ops:0 instances:0 vm_type:all does not support requested instance_properties host_passes /usr/lib/python2.6/site-packages/nova/scheduler/filters/image_props_filter.py:86
2013-03-15 12:37:03.212 WARNING nova.scheduler.driver [req-02c03c76-7ab9-4f7e-b610-ec76879f94b6 d23b99a77d784eb48de60ce44cf95616 5b4c5924656c4daa96f813608fa91a09] [instance: 58f4af64-6586-4740-b78d-215347a28d22] Setting instance to ERROR state.
After review the code of PowerVM driver and image_props_filter.py, I
found the method _update_host_stats of PowerVM driver missing the
attribute "supported_instances".
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1155498/+subscriptions