missing some saved quotas values in manila share tab
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
manila-ui |
Fix Released
|
Undecided
|
Gloria Gu |
Bug Description
Horizon need to fix https:/
From identity/projects click one of the projects, click modify quotas action, a dialog comes up, if update quotas fields in compute tab without entering values in share tab, the save button will not respond and have some console errors (hit F12 to open browser dev tool).
Entering values in share tab, click save, it will save successfully (with horizon fix), however when open the dialog again, the saved values are empty for share.
This is caused by that manila-ui doesn't get quotas in manilar_
class UpdateShareQuot
Once I updated to call api_manila.
, then only field of shares and share_network have data, other fields are empty.
responded data:
DEBUG:manilacli
RESP BODY: {"quota_set": {"gigabytes": 2, "snapshots": 2, "snapshot_
the data returned mismatched with the UI fields.
MANILA_QUOTA_FIELDS = {
"shares",
"share_
"share_
"share_
"share_
}
Mishmatch problem also exist in admin->system-> defaults for manila-ui
Changed in manila-ui: | |
status: | New → In Progress |
assignee: | nobody → Gloria Gu (gloria-gu) |
description: | updated |
api_manila. tenant_ quota_get where exactly have you add this call ?