← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1227102] Re: Change neutron quota default in local_settings.py

 

Having thought on it some more, if enabled_quotas is False, the
assumption is that the backend plugin doesn't support quotas at all, and
therefore that there are no quotas in place, i.e. "infinite resources" -
resulting in quotas such as floating IP limits being shown as
"unlimited" to users when this might not be true. This would affect all
users.

Even if only "read-only" quotas are available then it sounds worthwhile
showing them correctly. Then the only affected users are admins on
project updates, and there is no actual loss of functionality since the
other quotas (nova, cinder) still update correctly. I think it's the
less-worse solution, and will leave enable_quotas set to True as is
currently.

Closing this, though feel free to reopen if in disagreement.

** Changed in: horizon
       Status: New => Invalid

** Changed in: horizon
   Importance: Medium => Undecided

** Changed in: horizon
     Assignee: Julie Pichon (jpichon) => (unassigned)

** Changed in: horizon
    Milestone: havana-rc1 => None

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1227102

Title:
  Change neutron quota default in local_settings.py

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  The default for OPENSTACK_NEUTRON_NETWORK 'enable_quotas' is set to
  True in the local_settings.py.example file.

  https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L162

  It means by default, when Neutron is enabled, quotas will be displayed
  and updated in the Project Update form.

  However, the default quota driver for Neutron doesn't support updates
  (cf. bug 1189671), which causes an error message to get displayed
  whenever the Project details/membership/etc are updated - "Error:
  Unauthorized: Modified project information and members, but unable to
  modify project quotas."

  When deploying for the first time, it's recommended to simply copy-
  paste the example file, and tools like e.g. devstack do it
  automatically. It would make more sense to have a more conservative
  default until Neutron's default driver changes.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1227102/+subscriptions