Comment 4 for bug 1871252

Revision history for this message
Victoria Martinez de la Cruz (vkmc) wrote :

This issue is no longer reproducible in manila

stack@xena:/opt/stack/manila$ AUTH_TOKEN=$(openstack token issue -f value -c id)

stack@xena:/opt/stack/manila$ curl -i -X PUT http://192.168.122.98/share/v2/quota-class-sets/default -H "X-Openstack-Manila-Api-Version: 2.52" -H "X-Auth-Token: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-manilaclient" -d '{"quota_class_set": {"class_name": "default", "share_groups": 51, "share_group_snapshots": 67}}'
HTTP/1.1 200 OK
Date: Thu, 19 Aug 2021 09:43:50 GMT
Server: Apache/2.4.41 (Ubuntu)
Content-Type: application/json
Content-Length: 170
x-compute-request-id: req-ca5eaed3-8876-47f6-929a-2b15dea4db5b
X-OpenStack-Manila-API-Version: 2.52
Vary: X-OpenStack-Manila-API-Version
Connection: close

{"quota_class_set": {"shares": 51, "gigabytes": 1000, "snapshots": 50, "snapshot_gigabytes": 1000, "share_networks": 10, "share_groups": 51, "share_group_snapshots": 67}}

stack@xena:/opt/stack/manila$ curl -i -X GET http://192.168.122.98/share/v2/quota-class-sets/default -H "X-Openstack-Manila-Api-Version: 2.52" -H "X-Auth-Token: $AUTH_TOKEN" -H "Content-Type: application/json" -H "Accept: application/json"
HTTP/1.1 200 OK
Date: Thu, 19 Aug 2021 09:45:41 GMT
Server: Apache/2.4.41 (Ubuntu)
Content-Type: application/json
Content-Length: 187
x-compute-request-id: req-5ab2a381-ab5f-4bb8-9d9b-d11fd11b0d44
X-OpenStack-Manila-API-Version: 2.52
Vary: X-OpenStack-Manila-API-Version
Connection: close

{"quota_class_set": {"shares": 51, "gigabytes": 1000, "snapshots": 50, "snapshot_gigabytes": 1000, "share_networks": 10, "id": "default", "share_groups": 51, "share_group_snapshots": 67}}