yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03857
[Bug 1193233] Re: there are key errors when using nova cells
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-2
--
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/1193233
Title:
there are key errors when using nova cells
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
in nova/cells/scheduler.py there are typo that caused key errors .
172
173 def _build_instances(self, message, target_cells, instance_uuids,
174 build_inst_kwargs):
175 """Attempt to build instance(s) or send msg to child cell."""
176 ctxt = message.ctxt
177 instance_properties = build_inst_kwargs['instances'][0]
178 instance_type = build_inst_kwargs['instance_type']
179 image = build_inst_kwargs['image']
180 security_groups = build_inst_kwargs['security_group']
181 block_device_mapping = build_inst_kwargs['block_device_mapping']
182
183 LOG.debug(_("Building instances with routing_path=%(routing_path)s"),
184 {'routing_path': message.routing_path})
185
instance_type not in build_inst_kwargs dict.
security_groups should be get from build_inst_kwargs['security_groups']
the key error exception can cause schedule to child cell failed.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1193233/+subscriptions