yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62977
[Bug 1504641] Re: Listing volumes respects osapi_max_limit but does not provide a link to the next element
This seems like change in API and with version bump. Now nova proxy APIs
are deprecated and so volume APIs [1]. IMO, there is no much benefit of
enhancing the proxy APIs, it is recommended to use volume APIs instead.
.. 1 https://developer.openstack.org/api-ref/compute/#volume-extension-os-volumes-os-snapshots-deprecated
Tempest is verifying what current API return.
I am marking invalid for both nova and tempest as per APIs are
deprecated now.
** Changed in: tempest
Status: New => Won't Fix
--
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/1504641
Title:
Listing volumes respects osapi_max_limit but does not provide a link
to the next element
Status in OpenStack Compute (nova):
New
Status in tempest:
Won't Fix
Bug description:
When GETting os-volumes, the returned list of volumes respects the
osapi_max_limit configuration parameter but does not provide a link to
the next element in the list. For example, with two volumes configured
and osapi_max_limit set to 1, GETting volumes results in the
following:
{
"volumes": [
{
"attachments": [
{}
],
"availabilityZone": "nova",
"createdAt": "2015-10-09T18:12:04.000000",
"displayDescription": null,
"displayName": null,
"id": "08792e26-204b-4bb9-8e9b-0e37331de51c",
"metadata": {},
"size": 1,
"snapshotId": null,
"status": "error",
"volumeType": "lvmdriver-1"
}
]
}
Unsetting osapi_max_limit results in both volumes being listed:
{
"volumes": [
{
"attachments": [
{}
],
"availabilityZone": "nova",
"createdAt": "2015-10-09T18:12:04.000000",
"displayDescription": null,
"displayName": null,
"id": "08792e26-204b-4bb9-8e9b-0e37331de51c",
"metadata": {},
"size": 1,
"snapshotId": null,
"status": "error",
"volumeType": "lvmdriver-1"
},
{
"attachments": [
{}
],
"availabilityZone": "nova",
"createdAt": "2015-10-09T18:12:00.000000",
"displayDescription": null,
"displayName": null,
"id": "5cf46cd2-8914-4ffd-9037-abd53c55ca76",
"metadata": {},
"size": 1,
"snapshotId": null,
"status": "error",
"volumeType": "lvmdriver-1"
}
]
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1504641/+subscriptions
References