boot an instance will fail if use "--hint group=XXXXX"

Bug #1213149 reported by David Xie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
David Xie

Bug Description

When use command "nova boot --image <image name> --flavor <flavor id> --hint group=<group uuid> vm1", booting will fail.
After debugging, I found that there's a code error in nova/scheduler/filter_scheduler.py#174

173 values = request_spec['instance_properties']['system_metadata']
174 values.update({'group': group})
175 values = {'system_metadata': values}

values is not dict, can not use `update` method.

David Xie (david-xie)
Changed in nova:
assignee: nobody → David Xie (david-xie)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/42377

Changed in nova:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.