[Bug 1902944] Re: Cannot create a swift container, mandatory "Storage Policy" dropdown field is empty
Corey Bryant
1902944 at bugs.launchpad.net
Tue Feb 9 16:29:52 UTC 2021
Verified successfully on ussuri-proposed and groovy-proposed. Worth
noting I was blocked for a little bit on verification as the container
name can't contain a digit but is not obvious.
ussuri-proposed package/IP details
----------------------------------
ubuntu at juju-029bfc-zaza-24c113ab3978-28:~$ apt policy openstack-dashboard python3-swiftclient
openstack-dashboard:
Installed: 3:18.3.2-0ubuntu0.20.04.4~cloud0
Candidate: 3:18.3.2-0ubuntu0.20.04.4~cloud0
Version table:
*** 3:18.3.2-0ubuntu0.20.04.4~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64
python3-swiftclient:
Installed: 1:3.9.0-0ubuntu1.2~cloud0
Candidate: 1:3.9.0-0ubuntu1.2~cloud0
Version table:
*** 1:3.9.0-0ubuntu1.2~cloud0 500
500 http://ubuntu-cloud.archive.canonical.com/ubuntu bionic-proposed/ussuri/main amd64
ubuntu at juju-029bfc-zaza-24c113ab3978-28:~$ ip a | grep 10.5.0.19
inet 10.5.0.19/16 brd 10.5.255.255 scope global dynamic ens3
groovy-proposed package/IP details
----------------------------------
ubuntu at juju-029bfc-zaza-24c113ab3978-27:~$ apt policy openstack-dashboard python3-swiftclient
openstack-dashboard:
Installed: 4:18.6.1-0ubuntu1.1
Candidate: 4:18.6.1-0ubuntu1.1
Version table:
*** 4:18.6.1-0ubuntu1.1 500
500 http://archive.ubuntu.com/ubuntu groovy-proposed/main amd64
python3-swiftclient:
Installed: 1:3.10.1-0ubuntu1
Candidate: 1:3.10.1-0ubuntu1
Version table:
*** 1:3.10.1-0ubuntu1 500
500 http://nova.clouds.archive.ubuntu.com/ubuntu groovy/main amd64
ubuntu at juju-029bfc-zaza-24c113ab3978-27:~$ ip a | grep 10.5.0.20
inet 10.5.0.20/16 brd 10.5.255.255 scope global dynamic ens3
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1902944
Title:
Cannot create a swift container, mandatory "Storage Policy" dropdown
field is empty
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive ussuri series:
Fix Committed
Status in Ubuntu Cloud Archive victoria series:
Fix Released
Status in horizon package in Ubuntu:
Fix Released
Status in python-swiftclient package in Ubuntu:
Fix Released
Status in horizon source package in Focal:
Fix Released
Status in python-swiftclient source package in Focal:
Fix Released
Status in horizon source package in Groovy:
Fix Committed
Status in python-swiftclient source package in Groovy:
Fix Released
Status in horizon source package in Hirsute:
Fix Released
Status in python-swiftclient source package in Hirsute:
Fix Released
Bug description:
[Impact]
focal-ussuri, charms revision 20.10
I can't create a container with GUI. When entering "Containers" tab,
the error "Error: Unable to fetch the policy details." appears.
If I proceed and try to create a container, I can't click "Submit"
button until I select a Storage Policy. But the mandatory "Storage
Policy" dropdown field is empty. See attached screenshot.
I can, however, create a container with a CLI. `openstack container
create c1` works fine.
[Test Case]
Deploy horizon with ceph radosgw instead of swift, navigate to http://horizon-ip/horizon/project/containers/ and attempt to create a container. With the package and charm fixes in this bug, it will be successful. Otherwise it will fail as described in this bug.
Note, we also want to test horizon with swift proper for this bug to
ensure it still works with the dashboard.
[Regression Potential]
It's possible this could regress horizon with swift proper as a backend so it should also be regression tested.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1902944/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list