I get this (Devstack stable/rocky, user and project "demo"):
$ cinder extend myvol 2 ERROR: Invalid filters all_tenants are found in query options. (HTTP 400)
--debug reveals that the client does indeed submit an API with an all_tenants filter:
DEBUG:keystoneauth:REQ: curl -g -i -X GET http://192.168.1.201/volume/v3/5baa88f5d7654fc69c1116bbc91acdd2/volumes/detail?all_tenants=1&name=myvol -H "Accept: application/json" -H "OpenStack-API-Version: volume 3.51" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA1}9098dc315db3bc910e1e22bf6c4588c6953d46a3"
Looks like a bug to me, but why has nobody else seen it?
The openstack client doesn't have this behaviour. However it can't process microversions:
export OS_VOLUME_API_VERSION=3.47 $ openstack volume list volume version 3.47 is not in supported versions: 1, 2, 3
I get this (Devstack stable/rocky, user and project "demo"):
$ cinder extend myvol 2
ERROR: Invalid filters all_tenants are found in query options. (HTTP 400)
--debug reveals that the client does indeed submit an API with an all_tenants filter:
DEBUG: keystoneauth: REQ: curl -g -i -X GET http:// 192.168. 1.201/volume/ v3/5baa88f5d765 4fc69c1116bbc91 acdd2/volumes/ detail? all_tenants= 1&name= myvol -H "Accept: application/json" -H "OpenStack- API-Version: volume 3.51" -H "User-Agent: python- cinderclient" -H "X-Auth-Token: {SHA1}9098dc315 db3bc910e1e22bf 6c4588c6953d46a 3"
Looks like a bug to me, but why has nobody else seen it?
The openstack client doesn't have this behaviour. However it can't process microversions:
export OS_VOLUME_ API_VERSION= 3.47
$ openstack volume list
volume version 3.47 is not in supported versions: 1, 2, 3