[Bug 2003772] Re: [SRU] Cannot list shares in dashboard GUI: "Error: Unable to retrieve share list. 'NoneType' object has no attribute 'pop'"

Launchpad Bug Tracker 2003772 at bugs.launchpad.net
Wed Oct 11 17:25:48 UTC 2023


This bug was fixed in the package manila-ui - 1:7.0.0-0ubuntu1.1

---------------
manila-ui (1:7.0.0-0ubuntu1.1) jammy; urgency=medium

  * d/gbp.conf: Create stable/yoga branch.
  * d/p/workaround-sdk-bug-in-listing-shares.patch: Cherry-picked
    from upstream stable/yoga branch to fix listing of shares
    in OpenStack dashboard (LP: #2003772).

 -- Corey Bryant <corey.bryant at canonical.com>  Mon, 25 Apr 2022 09:58:21
-0400

** Changed in: manila-ui (Ubuntu Jammy)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/2003772

Title:
  [SRU] Cannot list shares in dashboard GUI: "Error: Unable to retrieve
  share list. 'NoneType' object has no attribute 'pop'"

Status in OpenStack Manila Dashboard Charm:
  Invalid
Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive yoga series:
  Fix Committed
Status in manila-ui package in Ubuntu:
  Fix Released
Status in manila-ui source package in Jammy:
  Fix Released

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-manila.yaml).

  Log files from manila unit for the successful `manila list` call:
  - cli-success_manila-access.log
  - cli-success_manila-error.log

  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_manila-access.log
  - gui-error_manila-error.log
  - gui-error_openstack-dashboard_access.log
  - gui-error_openstack-dashboard_error.log

  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-manila-dashboard/+bug/2003772/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list