Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-20 Thread Balazs Gibizer
On Wed, Jul 19, 2017 at 3:54 PM, Chris Dent wrote: On Wed, 19 Jul 2017, Balazs Gibizer wrote: I added more info to the bug report and the review as it seems the test is fluctuating. (Reflecting some conversation gibi and I have had in IRC) I've made a gabbi-based

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-19 Thread Chris Dent
On Wed, 19 Jul 2017, Balazs Gibizer wrote: I added more info to the bug report and the review as it seems the test is fluctuating. (Reflecting some conversation gibi and I have had in IRC) I've made a gabbi-based replication of the desired functionality. It also flaps, with a >50% failure

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-19 Thread Balazs Gibizer
On Wed, Jul 19, 2017 at 1:13 PM, Chris Dent wrote: On Wed, 19 Jul 2017, Balazs Gibizer wrote: We are trying to get some help from the related functional test [5] but honestly we still need some time to digest that LOCs. So any direct help is appreciated. I

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-19 Thread Chris Dent
On Wed, 19 Jul 2017, Balazs Gibizer wrote: We are trying to get some help from the related functional test [5] but honestly we still need some time to digest that LOCs. So any direct help is appreciated. I managed to create a functional test case that reproduces the above problem

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-19 Thread Balazs Gibizer
On Tue, Jul 18, 2017 at 2:39 PM, Balazs Gibizer wrote: On Mon, Jul 17, 2017 at 6:40 PM, Jay Pipes wrote: > On 07/17/2017 11:31 AM, Balazs Gibizer wrote: > > On Thu, Jul 13, 2017 at 11:37 AM, Chris Dent > > > wrote: >

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-18 Thread Balazs Gibizer
On Mon, Jul 17, 2017 at 6:40 PM, Jay Pipes wrote: On 07/17/2017 11:31 AM, Balazs Gibizer wrote: > On Thu, Jul 13, 2017 at 11:37 AM, Chris Dent > wrote: >> On Thu, 13 Jul 2017, Balazs Gibizer wrote: >> >>>

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-17 Thread Jay Pipes
On 07/17/2017 11:31 AM, Balazs Gibizer wrote: On Thu, Jul 13, 2017 at 11:37 AM, Chris Dent wrote: On Thu, 13 Jul 2017, Balazs Gibizer wrote: /placement/allocation_candidates?resources=CUSTOM_MAGIC%3A512%2CMEMORY_MB%3A64%2CVCPU%3A1" but placement returns an empty

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-17 Thread Balazs Gibizer
On Thu, Jul 13, 2017 at 11:37 AM, Chris Dent wrote: On Thu, 13 Jul 2017, Balazs Gibizer wrote: /placement/allocation_candidates?resources=CUSTOM_MAGIC%3A512%2CMEMORY_MB%3A64%2CVCPU%3A1" but placement returns an empty response. Then nova scheduler falls back to legacy

Re: [openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-13 Thread Chris Dent
On Thu, 13 Jul 2017, Balazs Gibizer wrote: /placement/allocation_candidates?resources=CUSTOM_MAGIC%3A512%2CMEMORY_MB%3A64%2CVCPU%3A1" but placement returns an empty response. Then nova scheduler falls back to legacy behavior [4] and places the instance without considering the custom resource

[openstack-dev] [nova][placement] scheduling with custom resouce classes

2017-07-13 Thread Balazs Gibizer
Dear Placement developers, I'm trying to build on top of the custom resource class implementation [1][2] from the current master [3]. I'd like to place instances based on normal resources (cpu, ram) and based on a custom resource I will call MAGIC for this discussion. So far I managed to use