Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-08 Thread Gary Kotton
Hi Simon, I have found the problem. A nice optimization was added a while ago - https://review.openstack.org/#/c/33720/. This ensures that a filter will only be run once per request. The problem is that if a instance is unable to be run on a scheduled host then a new host will need to be selected.

Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-06 Thread Simon Pasquier
Gary (or others), did you have some time to look at my issue? FYI, I opened a bug [1] on Launchpad. I'll update it with the outcome of this discussion. Cheers, Simon [1] https://bugs.launchpad.net/nova/+bug/1218878 Le 03/09/2013 15:54, Simon Pasquier a écrit : I've done a wrong copypaste,

Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-06 Thread Gary Kotton
Hi, Sorry for the delayed response (it is new years my side of the world and have some family obligations). Would it be possible that you please provide the nova configuration file (I would like to see if you have the group anti affinity filter in your filter list), and if this exists to at least

Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-06 Thread Simon Pasquier
Thanks for the answer. I already posted the links in my previous email but here they are again: * nova.conf = http://paste.openstack.org/show/45671/ * scheduler logs = http://paste.openstack.org/show/45672/ Just to re-iterate, my setup consists of 2 compute nodes which already run instances not

[openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-03 Thread Simon Pasquier
Reposting to openstack-dev as I got no answer on the general mailing list. Message original Sujet: [Openstack] Confused about GroupAntiAffinityFilter and GroupAffinityFilter Date : Mon, 2 Sep 2013 11:19:58 +0200 De : Simon Pasquier simon.pasqu...@bull.net Organisation :

Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-03 Thread Gary Kotton
Hi, Hopefully I will be able to address your questions. First lets start with the group anti-affinity. This was added towards the end of the Grizzly release cycle as a scheduling hint. At the last summit we sat and agreed on a more formal approach to deal with this and we proposed and developed

Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-03 Thread Simon Pasquier
Hello, Thanks for the reply. First of all, do you agree that the current documentation for these filters is inaccurate? My test environment has 2 compute nodes: compute1 and compute3. First, I launch 1 instance (not being tied to any group) on each node: $ nova boot --flavor m1.tiny --image

Re: [openstack-dev] Confused about GroupAntiAffinityFilter and GroupAffinityFilter

2013-09-03 Thread Simon Pasquier
I've done a wrong copypaste, see correction inline. Le 03/09/2013 12:34, Simon Pasquier a écrit : Hello, Thanks for the reply. First of all, do you agree that the current documentation for these filters is inaccurate? My test environment has 2 compute nodes: compute1 and compute3. First, I