Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Jay Pipes
On 08/29/2016 05:53 AM, Andrew Laski wrote: Personally I believe the cat is out of the bag on bdms overriding flavors and we should just commit to that path and make it work well. And for deployers who rely on flavors being the source of truth maybe we provide them a policy check or some other

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Kostiantyn.Volenbovskyi
> -Original Message- > From: Sylvain Bauza [mailto:sba...@redhat.com] > Sent: Monday, August 29, 2016 2:43 PM > To: OpenStack Development Mailing List (not for usage questions) d...@lists.openstack.org> > Subject: Re: [openstack-dev] [Nova] Reconciling flavors and block

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Andrew Laski
On Mon, Aug 29, 2016, at 08:42 AM, Sylvain Bauza wrote: > > > Le 29/08/2016 14:20, Jay Pipes a écrit : > > On 08/29/2016 05:11 AM, Sylvain Bauza wrote: > >> Le 29/08/2016 13:25, Jay Pipes a écrit : > >>> On 08/26/2016 09:20 AM, Ed Leafe wrote: > On Aug 25, 2016, at 3:19 PM, Andrew Laski

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Andrew Laski
On Mon, Aug 29, 2016, at 07:25 AM, Jay Pipes wrote: > On 08/26/2016 09:20 AM, Ed Leafe wrote: > > On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: > > > >> One other thing to note is that while a flavor constrains how much local > >> disk is used it does not constrain volume

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Sylvain Bauza
Le 29/08/2016 14:43, Andrew Laski a écrit : On Mon, Aug 29, 2016, at 08:20 AM, Jay Pipes wrote: On 08/29/2016 05:11 AM, Sylvain Bauza wrote: Le 29/08/2016 13:25, Jay Pipes a écrit : On 08/26/2016 09:20 AM, Ed Leafe wrote: On Aug 25, 2016, at 3:19 PM, Andrew Laski

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Andrew Laski
On Mon, Aug 29, 2016, at 08:20 AM, Jay Pipes wrote: > On 08/29/2016 05:11 AM, Sylvain Bauza wrote: > > Le 29/08/2016 13:25, Jay Pipes a écrit : > >> On 08/26/2016 09:20 AM, Ed Leafe wrote: > >>> On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: > >>> > One other thing to

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Sylvain Bauza
Le 29/08/2016 14:20, Jay Pipes a écrit : On 08/29/2016 05:11 AM, Sylvain Bauza wrote: Le 29/08/2016 13:25, Jay Pipes a écrit : On 08/26/2016 09:20 AM, Ed Leafe wrote: On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: One other thing to note is that while a flavor

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Jay Pipes
On 08/29/2016 05:11 AM, Sylvain Bauza wrote: Le 29/08/2016 13:25, Jay Pipes a écrit : On 08/26/2016 09:20 AM, Ed Leafe wrote: On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: One other thing to note is that while a flavor constrains how much local disk is used it does not

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Sylvain Bauza
Le 29/08/2016 13:25, Jay Pipes a écrit : On 08/26/2016 09:20 AM, Ed Leafe wrote: On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: One other thing to note is that while a flavor constrains how much local disk is used it does not constrain volume size at all. So a user

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Jay Pipes
On 08/26/2016 09:20 AM, Ed Leafe wrote: On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: One other thing to note is that while a flavor constrains how much local disk is used it does not constrain volume size at all. So a user can specify an ephemeral/swap disk <= to what

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Sylvain Bauza
Le 26/08/2016 12:33, Chris Dent a écrit : On Thu, 25 Aug 2016, Sylvain Bauza wrote: Of course, long-term, we could try to see how to have composite flavors for helping users to not create a whole handful of flavors for quite the same user requests, but that would still be flavors (or the

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-29 Thread Kekane, Abhishek
From: John Griffith [mailto:john.griffi...@gmail.com] Sent: Friday, August 26, 2016 10:21 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings On Fri, Aug 26, 2016 at 10:20 AM, Ed Leafe &l

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-26 Thread John Griffith
On Fri, Aug 26, 2016 at 10:20 AM, Ed Leafe wrote: > On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: > > > One other thing to note is that while a flavor constrains how much local > > disk is used it does not constrain volume size at all. So a user can > >

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-26 Thread Ed Leafe
On Aug 25, 2016, at 3:19 PM, Andrew Laski wrote: > One other thing to note is that while a flavor constrains how much local > disk is used it does not constrain volume size at all. So a user can > specify an ephemeral/swap disk <= to what the flavor provides but can > have an

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-26 Thread Chris Dent
On Thu, 25 Aug 2016, Sylvain Bauza wrote: Of course, long-term, we could try to see how to have composite flavors for helping users to not create a whole handful of flavors for quite the same user requests, but that would still be flavors (or the name for saying a flavor composition).

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-26 Thread Chris Dent
On Thu, 25 Aug 2016, Andrew Laski wrote: Allow block device mappings, when present, to mostly determine instance packing. By that I mean that the scheduler only takes into account local disk that would be consumed, but we add additional configuration to Nova which limits the number of instance

Re: [openstack-dev] [Nova] Reconciling flavors and block device mappings

2016-08-25 Thread Sylvain Bauza
Le 25/08/2016 16:19, Andrew Laski a écrit : Cross posting to gather some operator feedback. There have been a couple of contentious patches gathering attention recently about how to handle the case where a block device mapping supersedes flavor information. Before moving forward on either of