** 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 Server Team, which is subscribed to python-novaclient in Ubuntu. https://bugs.launchpad.net/bugs/1434150 Title: [SRU] missing (anti) affinity support To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-novaclient/+bug/1434150/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs