← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1406460] Re: anti-affinity property broken when instance unshelve

 

** Changed in: nova
       Status: New => Invalid

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

Title:
  anti-affinity property broken when instance unshelve

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  The instance can not be scheduled by anti-affinity property while
  unshelving.

  reproduce:
  1. create one server-group, use policy anti-affinity;
  nova server-group-create --policy anti-affinity server-group-test-anti
  2. boot two instances with the server-group;
  nova boot --flavor 1 --image f83026e6-86a3-4eaf-a24c-d0281217aba6 --nic net-id=3a68a059-3493-41d5-9063-773250e570b0 --hint group=36bc7998-ce69-42fc-a45b-e9130bd36f1e vm-anti-affinity-shelve-1
  nova boot --flavor 1 --image f83026e6-86a3-4eaf-a24c-d0281217aba6 --nic net-id=3a68a059-3493-41d5-9063-773250e570b0 --hint group=36bc7998-ce69-42fc-a45b-e9130bd36f1e
  vm-anti-affinity-shelve-2
  They were located at:
  vm-anti-affinity-shelve-1   hpc7000-slot10
  vm-anti-affinity-shelve-2   hpc7000-slot4
  3. shelve vm-anti-affinity-shelve-2, then shelve-offload, then unshelve;
  4. check vm-anti-affinity-shelve-2 location: hpc7000-slot10

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


References