[SRU] Cannot list shares in dashboard GUI: "Error: Unable to retrieve share list. 'NoneType' object has no attribute 'pop'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila Dashboard Charm |
Invalid
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Yoga |
Fix Released
|
Medium
|
Unassigned | ||
manila-ui (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
It is impossible to list shares in OpenStack dashboard GUI. Share list is empty and the error message in GUI says: "Error: Unable to retrieve share list. 'NoneType' object has no attribute 'pop'".
It is however possible to list shares with CLI `manila list` command.
Versions:
OpenStack Yoga
Ubuntu 20.04 Focal
manila charm: channel yoga/stable, revision 98
manila-dashboard charm: channel yoga/stable, revision 11
openstack-dashboard charm: channel yoga/stable, revision 566
I'm attaching juju overlay bundle with manila-related charms which has been used to deploy the environment (overlay-
Log files from manila unit for the successful `manila list` call:
- cli-success_
- cli-success_
Output of successful `manila list`:
- manila-list.out
Log files from manila and openstack-dashboard units, for failure scenario, when visiting /project/shares/ URL:
- gui-error_
- gui-error_
- gui-error_
- gui-error_
[Test Case]
Deploy openstack with juju, including manila and manila dashboard. Create a share and attempt to list shares via the manila dashboard. This should be successful.
[Regression Potential]
I don't see any potential regression. The manila dashboard can't list shares so this will fix that regression. The fix is limited to the share_list() function.
[Discussion]
I've confirmed that this is already fixed in the kinetic/zed package.
Changed in charm-manila-dashboard: | |
status: | New → Invalid |
no longer affects: | charm-manila-dashboard/yoga |
Changed in cloud-archive: | |
status: | New → Fix Released |
Changed in manila-ui (Ubuntu Jammy): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in manila-ui (Ubuntu): | |
status: | Confirmed → Fix Released |
summary: |
- Cannot list shares in dashboard GUI: "Error: Unable to retrieve share - list. 'NoneType' object has no attribute 'pop'" + [SRU] Cannot list shares in dashboard GUI: "Error: Unable to retrieve + share list. 'NoneType' object has no attribute 'pop'" |
description: | updated |
description: | updated |
Fix released.
Should close ticket.
https:/ /review. opendev. org/c/openstack /manila- ui/+/837614 /bugs.launchpad .net/python- manilaclient/ +bug/1967312
https:/