[Bug 1902944] Re: Cannot create a swift container, mandatory "Storage Policy" dropdown field is empty

Corey Bryant 1902944 at bugs.launchpad.net
Fri Nov 6 20:23:27 UTC 2020


I've tested this out and it is fixed by https://bugs.launchpad.net
/python-swiftclient/+bug/1712358.

Note that in order for this to work with the admin endpoint it needs to
be updated with a /v1 suffix. By default the charm deployment of ceph-
radosgw is missing the /v1 on the admin endpoint:

$ openstack endpoint list  # snipped to be brief
+----------------------------------+--------------+-----------+------------------------------+
| ID                               | Service Name | Interface | URL                          |
+----------------------------------+--------------+-----------+------------------------------+
| 6a479719e0684596874ec7e8d14b1c0c | swift        | internal  | http://10.5.0.33:80/swift/v1 |
| d8be68238b8342d5851a8593af5cdb7e | swift        | public    | http://10.5.0.33:80/swift/v1 |
| e746487b95104820a9e19c76ff006dae | swift        | admin     | http://10.5.0.33:80/swift    |
+----------------------------------+--------------+-----------+------------------------------+

** Also affects: charm-ceph-radosgw
   Importance: Undecided
       Status: New

** Changed in: charm-openstack-dashboard
       Status: Triaged => Invalid

** Changed in: charm-openstack-dashboard
   Importance: High => Undecided

** Changed in: charm-ceph-radosgw
       Status: New => Triaged

** Changed in: charm-ceph-radosgw
   Importance: Undecided => High

** Also affects: python-swiftclient (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-swiftclient (Ubuntu)
       Status: New => Triaged

** Changed in: python-swiftclient (Ubuntu)
   Importance: Undecided => High

** Also affects: horizon (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: horizon (Ubuntu)
       Status: New => Triaged

** Changed in: horizon (Ubuntu)
   Importance: Undecided => High

** Also affects: horizon (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: python-swiftclient (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: horizon (Ubuntu Hirsute)
   Importance: High
       Status: Triaged

** Also affects: python-swiftclient (Ubuntu Hirsute)
   Importance: High
       Status: Triaged

** Also affects: horizon (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: python-swiftclient (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: horizon (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: horizon (Ubuntu Focal)
       Status: New => Triaged

** Changed in: horizon (Ubuntu Groovy)
   Importance: Undecided => High

** Changed in: horizon (Ubuntu Groovy)
       Status: New => Triaged

** Changed in: python-swiftclient (Ubuntu Focal)
   Importance: Undecided => High

** Changed in: python-swiftclient (Ubuntu Focal)
       Status: New => Triaged

** Changed in: python-swiftclient (Ubuntu Groovy)
   Importance: Undecided => High

** Changed in: python-swiftclient (Ubuntu Groovy)
       Status: New => Triaged

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/ussuri
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/victoria
   Importance: Undecided
       Status: New

** Changed in: cloud-archive/ussuri
   Importance: Undecided => High

** Changed in: cloud-archive/ussuri
       Status: New => Triaged

** Changed in: cloud-archive/victoria
   Importance: Undecided => High

** Changed in: cloud-archive/victoria
       Status: New => Triaged

** No longer affects: charm-openstack-dashboard

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-swiftclient in Ubuntu.
https://bugs.launchpad.net/bugs/1902944

Title:
  Cannot create a swift container, mandatory "Storage Policy" dropdown
  field is empty

Status in OpenStack ceph-radosgw charm:
  Triaged
Status in Ubuntu Cloud Archive:
  Triaged
Status in Ubuntu Cloud Archive ussuri series:
  Triaged
Status in Ubuntu Cloud Archive victoria series:
  Triaged
Status in horizon package in Ubuntu:
  Triaged
Status in python-swiftclient package in Ubuntu:
  Triaged
Status in horizon source package in Focal:
  Triaged
Status in python-swiftclient source package in Focal:
  Triaged
Status in horizon source package in Groovy:
  Triaged
Status in python-swiftclient source package in Groovy:
  Triaged
Status in horizon source package in Hirsute:
  Triaged
Status in python-swiftclient source package in Hirsute:
  Triaged

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-radosgw/+bug/1902944/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list