Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-04 Thread Jay Pipes
On 05/04/2017 04:59 AM, Giuseppe Di Lena wrote: Hi Chris, I'm pretty sure a regular user can create a server group and specify the anti-affinity filter. yes, but we want that the user specifies just the Robustness; the way in which we assign the instances to the compute nodes should be a

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-04 Thread Giuseppe Di Lena
Hi Chris, > I'm pretty sure a regular user can create a server group and specify the > anti-affinity filter. yes, but we want that the user specifies just the Robustness; the way in which we assign the instances to the compute nodes should be a black box for the regular user(and also for the

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-03 Thread Chris Friesen
On 05/03/2017 03:08 AM, Giuseppe Di Lena wrote: Thank you a lot for the help! I think that the problem can be solved using the anti-affinity filter, but we want a regular user can choose an instance and set the property(image, flavour, network, etc.) and a parameter Robustness >= 1(that is

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-03 Thread Giuseppe Di Lena
Thank you a lot for the help! I think that the problem can be solved using the anti-affinity filter, but we want a regular user can choose an instance and set the property(image, flavour, network, etc.) and a parameter Robustness >= 1(that is the number of copies of this particular instance).

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Matt Riedemann
On 5/2/2017 2:15 PM, Chris Friesen wrote: It sounds to me that the problem could be solved by specifying --min-count and --max-count to specify the number of copies, and using server groups with the anti-affinity filter to ensure that they end up on different compute nodes. This is exactly

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Chris Friesen
On 05/02/2017 10:59 AM, Jay Pipes wrote: On 05/02/2017 12:33 PM, Giuseppe Di Lena wrote: Thank you a lot! :-). Actually, we are also working in parallel to implement the algorithm with tacker, but for this project we will only use the basic modules in OpenStack and Heat. If the scheduler hints

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Mooney, Sean K
> -Original Message- > From: Jay Pipes [mailto:jaypi...@gmail.com] > Sent: Tuesday, May 2, 2017 5:59 PM > To: openstack-dev@lists.openstack.org > Subject: Re: [openstack-dev] [nova-scheduler] Get scheduler hint > > On 05/02/2017 12:33 PM, Giuseppe Di Lena wrote

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Jay Pipes
On 05/02/2017 12:33 PM, Giuseppe Di Lena wrote: Thank you a lot! :-). Actually, we are also working in parallel to implement the algorithm with tacker, but for this project we will only use the basic modules in OpenStack and Heat. If the scheduler hints are no longer supported, what is the

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Giuseppe Di Lena
Thank you a lot! :-). Actually, we are also working in parallel to implement the algorithm with tacker, but for this project we will only use the basic modules in OpenStack and Heat. If the scheduler hints are no longer supported, what is the correct way to give the scheduler personalized

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Jay Pipes
On 05/02/2017 09:58 AM, Giuseppe Di Lena wrote: Thank you for your answer :-) I'm pretty new in OpenStack and open source in general(I started two months ago, and I don't have any experience in developing big project). What we are trying to do is to implement our algorithm for Robust NFV chain;

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Giuseppe Di Lena
Thank you for your answer :-) I'm pretty new in OpenStack and open source in general(I started two months ago, and I don't have any experience in developing big project). What we are trying to do is to implement our algorithm for Robust NFV chain; to do it we need to create multiple copies of

Re: [openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Jay Pipes
On 05/02/2017 05:14 AM, Giuseppe Di Lena wrote: Hello all, I’m modifying nova-scheduler, implementing my own scheduler; there is a way to get all the list of the scheduler hints(for example when I lunch a new Instance, add a custom Hint MY_HINT, with value 100)? I tried with def

[openstack-dev] [nova-scheduler] Get scheduler hint

2017-05-02 Thread Giuseppe Di Lena
Hello all, I’m modifying nova-scheduler, implementing my own scheduler; there is a way to get all the list of the scheduler hints(for example when I lunch a new Instance, add a custom Hint MY_HINT, with value 100)? I tried with def select_destination(self, context, spec_obj): …..