*** This bug is a duplicate of bug 1303360 ***
    https://bugs.launchpad.net/bugs/1303360

** This bug has been marked a duplicate of bug 1303360
   GroupAntiAffinityFilter scheduler hint still doesn't work

-- 
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/1213149

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

Status in OpenStack Compute (Nova):
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1213149/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to