← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: in-stable-icehouse shelve

-- 
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):
  New

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


Follow ups

References