yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #60380
[Bug 1655393] [NEW] manila-ui quotas override part of the default quotas
You have been subscribed to a public bug:
Versions affected: mitaka and higher.
Under Admin -> Defaults -> Update defaults
Due to manila-ui overriding the default quotas from horizon, it makes the "Update Default Quotas" workflow miss some initial values ('Key Pairs' and 'Length of Injected File Path')
This is due to this line of code: https://github.com/openstack/manila-
ui/blob/stable/mitaka/manila_ui/dashboards/project/shares/__init__.py#L81
quotas.QUOTA_FIELDS = quotas.QUOTA_FIELDS + MANILA_QUOTA_FIELDS
This assumes that all the quotas available are in quotas.QUOTA_FIELDS but unfortunately, for some historical reason Im sure, there is some extra quotas not available on that tuple:
https://github.com/openstack/horizon/blob/master/openstack_dashboard/usage/quotas.py#L44
MISSING_QUOTA_FIELDS = ("key_pairs",
"injected_file_path_bytes",)
This causes the quotas to appear correctly when viewing them on Admin -> Defaults, but when editing their values get lost.
** Affects: horizon
Importance: Undecided
Assignee: Itxaka Serrano (itxakaserrano)
Status: In Progress
** Tags: newton-backport-potential
--
manila-ui quotas override part of the default quotas
https://bugs.launchpad.net/bugs/1655393
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).