[Bug 1434150] Re: [SRU] missing (anti) affinity support

Felipe Reyes 1434150 at bugs.launchpad.net
Thu Mar 19 17:48:40 UTC 2015


** Description changed:

  [Impact]
  
  OpenStack Icehouse deprecates GroupAffinityFilter in favor of
  ServerGroupAffinityFilter[0], but python-novaclient 2.17 doesn't support
  server-group creation[1] and policy definition during instance creation,
  this a bug in terms that the client isn't complete.
  
  [Test Case]
  
  * Deploy an icehouse cloud with ServerGroupAffinityFilter enabled (the default if using juju charms)
  * Create a server group
     $ nova server-group-create --policy affinity group-1
  * Boot two instances using the previously created group
    $ nova boot --image IMAGE_ID --flavor 1 --hint group=SERVER_GROUP_UUID vm01
    $ nova boot --image IMAGE_ID --flavor 1 --hint group=SERVER_GROUP_UUID vm02
  * Both instances must be running in the same compute node, this can be verified running, as admin: $ nova show INSTANCE_UUID
  
  [Regression Potential]
  
  None expected, this change adds a new command line parameter and a test
  for it.
  
  [Other Info]
  
  * This problem only affects Trusty, because Utopic ships python-novaclient 2.19 which comes with support for server groups creation.
  * Patch that adds 'server-group-create' operation
    https://github.com/openstack/python-novaclient/commit/c40891b2824805458db40067ab669d961ecfdfed
  * Patch that adds --policy to nova boot
    https://github.com/openstack/python-novaclient/commit/376fd9f5bb825e2ce01fc9141c7477f25ac10101
+ * "How to use Affinity and Anti-Affinity in OpenStack Icehouse"
+   http://dev.cloudwatt.com/en/blog/affinity-and-anti-affinity-in-openstack.html
  
  [0] http://docs.openstack.org/icehouse/config-reference/content/section_compute-scheduler.html
  [1] http://docs.openstack.org/icehouse/config-reference/content/section_compute-scheduler.html#servergroupaffinityfilter

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1434150

Title:
  [SRU] missing (anti) affinity support

Status in python-novaclient package in Ubuntu:
  New

Bug description:
  [Impact]

  OpenStack Icehouse deprecates GroupAffinityFilter in favor of
  ServerGroupAffinityFilter[0], but python-novaclient 2.17 doesn't
  support server-group creation[1] and policy definition during instance
  creation, this a bug in terms that the client isn't complete.

  [Test Case]

  * Deploy an icehouse cloud with ServerGroupAffinityFilter enabled (the default if using juju charms)
  * Create a server group
     $ nova server-group-create --policy affinity group-1
  * Boot two instances using the previously created group
    $ nova boot --image IMAGE_ID --flavor 1 --hint group=SERVER_GROUP_UUID vm01
    $ nova boot --image IMAGE_ID --flavor 1 --hint group=SERVER_GROUP_UUID vm02
  * Both instances must be running in the same compute node, this can be verified running, as admin: $ nova show INSTANCE_UUID

  [Regression Potential]

  None expected, this change adds a new command line parameter and a
  test for it.

  [Other Info]

  * This problem only affects Trusty, because Utopic ships python-novaclient 2.19 which comes with support for server groups creation.
  * Patch that adds 'server-group-create' operation
    https://github.com/openstack/python-novaclient/commit/c40891b2824805458db40067ab669d961ecfdfed
  * Patch that adds --policy to nova boot
    https://github.com/openstack/python-novaclient/commit/376fd9f5bb825e2ce01fc9141c7477f25ac10101
  * "How to use Affinity and Anti-Affinity in OpenStack Icehouse"
    http://dev.cloudwatt.com/en/blog/affinity-and-anti-affinity-in-openstack.html

  [0] http://docs.openstack.org/icehouse/config-reference/content/section_compute-scheduler.html
  [1] http://docs.openstack.org/icehouse/config-reference/content/section_compute-scheduler.html#servergroupaffinityfilter

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/1434150/+subscriptions



More information about the Ubuntu-sponsors mailing list