yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #53790
[Bug 1602396] Re: GET os-quota-class-sets/{anything} returns OK
same issue found in nova as well as cinder
** Also affects: nova
Importance: Undecided
Status: New
** Description changed:
I don't quite understand what a quota class set is, since there is no
- documentation (see https://bugs.launchpad.net/cinder/+bug/1415214), but
+ documentation (see https://bugs.launchpad.net/cinder/+bug/1602400), but
no matter what it is the API isn't working properly... You have to
specify a class set, but any name you give is accepted, with the only
difference in the response being that the "id" returns back whatever
name you gave. Surely class sets with these names don't actually exist
and the API should be returning an error.
E.g. where class set is "g":
# curl http://localhost:9000/v2/67154cb74e9a45b19423d164f180e2db/os-quota-class-sets/g -H "Accept: application/json" -H "X-Auth-Token: e21820a0fc1147f9baa58fcb08243aa8"; echo
{"quota_class_set": {"per_volume_gigabytes": -1, "gigabytes_svc186 base template": 1000000, "volumes": 100000, "snapshots_svc186 base template": 100000, "gigabytes": 1000000, "backup_gigabytes": 1000, "snapshots": 100000, "volumes_svc186 base template": 100000, "backups": 10, "id": "g"}}
E.g. where class set is "x":
# curl http://localhost:9000/v2/67154cb74e9a45b19423d164f180e2db/os-quota-class-sets/x -H "Accept: application/json" -H "X-Auth-Token: e21820a0fc1147f9baa58fcb08243aa8"; echo
{"quota_class_set": {"per_volume_gigabytes": -1, "gigabytes_svc186 base template": 1000000, "volumes": 100000, "snapshots_svc186 base template": 100000, "gigabytes": 1000000, "backup_gigabytes": 1000, "snapshots": 100000, "volumes_svc186 base template": 100000, "backups": 10, "id": "x"}}
** Tags added: api
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1602396
Title:
GET os-quota-class-sets/{anything} returns OK
Status in Cinder:
New
Status in OpenStack Compute (nova):
New
Bug description:
I don't quite understand what a quota class set is, since there is no
documentation (see https://bugs.launchpad.net/cinder/+bug/1602400),
but no matter what it is the API isn't working properly... You have to
specify a class set, but any name you give is accepted, with the only
difference in the response being that the "id" returns back whatever
name you gave. Surely class sets with these names don't actually exist
and the API should be returning an error.
E.g. where class set is "g":
# curl http://localhost:9000/v2/67154cb74e9a45b19423d164f180e2db/os-quota-class-sets/g -H "Accept: application/json" -H "X-Auth-Token: e21820a0fc1147f9baa58fcb08243aa8"; echo
{"quota_class_set": {"per_volume_gigabytes": -1, "gigabytes_svc186 base template": 1000000, "volumes": 100000, "snapshots_svc186 base template": 100000, "gigabytes": 1000000, "backup_gigabytes": 1000, "snapshots": 100000, "volumes_svc186 base template": 100000, "backups": 10, "id": "g"}}
E.g. where class set is "x":
# curl http://localhost:9000/v2/67154cb74e9a45b19423d164f180e2db/os-quota-class-sets/x -H "Accept: application/json" -H "X-Auth-Token: e21820a0fc1147f9baa58fcb08243aa8"; echo
{"quota_class_set": {"per_volume_gigabytes": -1, "gigabytes_svc186 base template": 1000000, "volumes": 100000, "snapshots_svc186 base template": 100000, "gigabytes": 1000000, "backup_gigabytes": 1000, "snapshots": 100000, "volumes_svc186 base template": 100000, "backups": 10, "id": "x"}}
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1602396/+subscriptions