Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-23 Thread Alex Xu
2014-12-22 21:50 GMT+08:00 Sylvain Bauza : > > Le 22/12/2014 13:37, Alex Xu a écrit : > > > > 2014-12-22 10:36 GMT+08:00 Lingxian Kong : > >> 2014-12-22 9:21 GMT+08:00 Alex Xu : >> > >> > >> > 2014-12-22 9:01 GMT+08:00 Lingxian Kong : >> >> >> >> >> >> >> but what if the compute node is back to no

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-22 Thread Sylvain Bauza
Le 22/12/2014 13:37, Alex Xu a écrit : 2014-12-22 10:36 GMT+08:00 Lingxian Kong >: 2014-12-22 9:21 GMT+08:00 Alex Xu mailto:sou...@gmail.com>>: > > > 2014-12-22 9:01 GMT+08:00 Lingxian Kong mailto:anlin.k...@gmail.com>>: >> >> >> but

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-22 Thread Alex Xu
2014-12-22 10:36 GMT+08:00 Lingxian Kong : > 2014-12-22 9:21 GMT+08:00 Alex Xu : > > > > > > 2014-12-22 9:01 GMT+08:00 Lingxian Kong : > >> > > >> > >> but what if the compute node is back to normal? There will be > >> instances in the same server group with affinity policy, but located > >> in di

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-22 Thread Alex Xu
Joe, thanks, that's useful feature. But still not sure it's good for this case. Thinking of user's server-group will be deleted by administrator and new server-group created for user by administrator, that sounds confused for user. I'm thinking of the HA case, if there is host failed, the infrastru

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-21 Thread Eli Qiao
在 2014年12月22日 10:36, Lingxian Kong 写道: 2014-12-22 9:21 GMT+08:00 Alex Xu : 2014-12-22 9:01 GMT+08:00 Lingxian Kong : but what if the compute node is back to normal? There will be instances in the same server group with affinity policy, but located in different hosts. If operator decide to e

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-21 Thread Joe Cropper
This is another great example of a use case in which these blueprints [1, 2] would be handy. They didn’t make the clip line for Kilo, but we’ll try again for L. I personally don’t think the scheduler should have “special case” rules about when/when not to apply affinity policies, as that could

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-21 Thread Lingxian Kong
2014-12-22 9:21 GMT+08:00 Alex Xu : > > > 2014-12-22 9:01 GMT+08:00 Lingxian Kong : >> >> >> but what if the compute node is back to normal? There will be >> instances in the same server group with affinity policy, but located >> in different hosts. >> > > If operator decide to evacuate the instan

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-21 Thread Alex Xu
2014-12-22 9:01 GMT+08:00 Lingxian Kong : > 2014-12-19 17:44 GMT+08:00 Alex Xu : > > Hi, > > > > There is problem when evacuate instance. If the instance is in the server > > group with affinity policy, the instance can't evacuate out the failed > > compute node. > > > > I know there is soft affin

Re: [openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-21 Thread Lingxian Kong
2014-12-19 17:44 GMT+08:00 Alex Xu : > Hi, > > There is problem when evacuate instance. If the instance is in the server > group with affinity policy, the instance can't evacuate out the failed > compute node. > > I know there is soft affinity policy under development, but think of if the > instanc

[openstack-dev] [nova] Evacuate instance which in server group with affinity policy

2014-12-19 Thread Alex Xu
Hi, There is problem when evacuate instance. If the instance is in the server group with affinity policy, the instance can't evacuate out the failed compute node. I know there is soft affinity policy under development, but think of if the instance in server group with hard affinity means no way t