[openstack-dev] [nova] nova default quotas
Joe Gordon
joe.gordon0 at gmail.com
Wed May 28 01:43:27 UTC 2014
On Tue, May 27, 2014 at 1:11 PM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:
> Phil,
>
> You are correct and this seems to be an error. I don’t think in the
> earlier ML thread[1] that anyone remembered that the quota classes were
> being used for default quotas. IMO we need to revert this removal as we
> (accidentally) removed a Havana feature with no notification to the
> community. I’ve reactivated a bug[2] and marked it critcal.
>
While I agree that we shouldn't have removed support for a working feature
like updating the default quota via the REST API. I don't think we should
just do a revert.
The good news is we haven't dropped any tables yet, so a revert won't
require any migrations.
* quota-classes never worked for anything except changing default quotas,
and this feature adds a whole bunch of DB calls to every quota lookup (a
big overhead for a mostly broken feature). I am not a huge fan of bringing
back a feature that is known to be mostly broken. I am also not a fan of
breaking working features, which we did. Perhaps the right answer is to
bring back just the default value override support.
* But having a rest API to override config file options sounds like a step
in the wrong direction. I can see this easily leading to confusion about
where the default quota values are coming from. This is part of a larger
issue: folks want to update config options without restarting any services,
as far as I know there is no reason why we cannot support this with minimal
changes in a way that we can use this for other config options.
>
> Vish
>
> [1]
> http://lists.openstack.org/pipermail/openstack-dev/2014-February/027574.html
> [2] https://bugs.launchpad.net/nova/+bug/1299517
>
> On May 27, 2014, at 12:19 PM, Day, Phil <philip.day at hp.com> wrote:
>
> > Hi Vish,
> >
> > I think quota classes have been removed from Nova now.
> >
> > Phil
> >
> >
> > Sent from Samsung Mobile
> >
> >
> > -------- Original message --------
> > From: Vishvananda Ishaya
> > Date:27/05/2014 19:24 (GMT+00:00)
> > To: "OpenStack Development Mailing List (not for usage questions)"
> > Subject: Re: [openstack-dev] [nova] nova default quotas
> >
> > Are you aware that there is already a way to do this through the cli
> using quota-class-update?
> >
> > http://docs.openstack.org/user-guide-admin/content/cli_set_quotas.html(near the bottom)
> >
> > Are you suggesting that we also add the ability to use just regular
> quota-update? I’m not sure i see the need for both.
> >
> > Vish
> >
> > On May 20, 2014, at 9:52 AM, Cazzolato, Sergio J <
> sergio.j.cazzolato at intel.com> wrote:
> >
> >> I would to hear your thoughts about an idea to add a way to manage the
> default quota values through the API.
> >>
> >> The idea is to use the current quota api, but sending ''default'
> instead of the tenant_id. This change would apply to quota-show and
> quota-update methods.
> >>
> >> This approach will help to simplify the implementation of another
> blueprint named per-flavor-quotas
> >>
> >> Feedback? Suggestions?
> >>
> >>
> >> Sergio Juan Cazzolato
> >> Intel Software Argentina
> >>
> >> _______________________________________________
> >> OpenStack-dev mailing list
> >> OpenStack-dev at lists.openstack.org
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> >
> >
> > _______________________________________________
> > OpenStack-dev mailing list
> > OpenStack-dev at lists.openstack.org
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140527/d97563bf/attachment.html>
More information about the OpenStack-dev
mailing list