2018-10-24 21:04:43 |
Irina Mihai |
description |
Brief Description
-----------------
Querying cinder volumes using cinder v1 returns 404 resource not found error.
[wrsroot@controller-1 ~(keystone_admin)]$ cinder --os-volume-api-version 1 list
WARNING:cinderclient.api_versions:Version 1 is deprecated, use alternative version 2 instead.
ERROR: The resource could not be found.<br /><br />
(HTTP 404)
Severity
--------
Minor
Steps to Reproduce
------------------
source /etc/nova/openrc
cinder --os-volume-api-version 1 list
Expected Behavior
------------------
volume list returned
Actual Behavior
----------------
WARNING:cinderclient.api_versions:Version 1 is deprecated, use alternative version 2 instead.
ERROR: The resource could not be found.<br /><br />
(HTTP 404)
Reproducibility
---------------
Reproducible
System Configuration
--------------------
Any
Branch/Pull Time/Commit
-----------------------
master as of 2018-09-24_20-18-00
Timestamp/Logs
--------------
There are no matching error/failure in /var/log/cinder/xxx.log
Tracebacks from cinder --os-volume-api-version 1 --debug list:
DEBUG:keystoneauth:RESP: [404] Content-Length: 112 Content-Type: application/json Date: Tue, 25 Sep 2018 14:40:26 GMT Connection: keep-alive
RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}
DEBUG (shell:974) The resource could not be found.<br /><br />
(HTTP 404)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cinderclient/shell.py", line 969, in main
for item in sys.argv[1:]])
File "/usr/lib/python2.7/site-packages/cinderclient/shell.py", line 787, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/site-packages/cinderclient/v1/shell.py", line 191, in do_list
volumes = cs.volumes.list(search_opts=search_opts, limit=args.limit)
File "/usr/lib/python2.7/site-packages/cinderclient/v1/volumes.py", line 214, in list
"volumes")
File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line 84, in _list
resp, body = self.api.client.get(url)
File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 199, in get
return self._cs_request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 190, in _cs_request
return self.request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 176, in request
raise exceptions.from_response(resp, body)
NotFound: The resource could not be found.<br /><br />
(HTTP 404)
DEBUG:cinderclient.shell:The resource could not be found.<br /><br /> |
Brief Description
-----------------
Querying cinder volumes using cinder v1 returns 404 resource not found error.
[wrsroot@controller-1 ~(keystone_admin)]$ cinder --os-volume-api-version 1 list
WARNING:cinderclient.api_versions:Version 1 is deprecated, use alternative version 2 instead.
ERROR: The resource could not be found.<br /><br />
(HTTP 404)
Severity
--------
Minor
Steps to Reproduce
------------------
source /etc/nova/openrc
cinder --os-volume-api-version 1 list
Expected Behavior
------------------
volume list returned
Actual Behavior
----------------
WARNING:cinderclient.api_versions:Version 1 is deprecated, use alternative version 2 instead.
ERROR: The resource could not be found.<br /><br />
(HTTP 404)
Reproducibility
---------------
Reproducible
System Configuration
--------------------
Any
Branch/Pull Time/Commit
-----------------------
master as of 2018-09-24_20-18-00
Timestamp/Logs
--------------
There are no matching error/failure in /var/log/cinder/xxx.log
Tracebacks from cinder --os-volume-api-version 1 --debug list:
DEBUG:keystoneauth:RESP: [404] Content-Length: 112 Content-Type: application/json Date: Tue, 25 Sep 2018 14:40:26 GMT Connection: keep-alive
RESP BODY: {"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}
DEBUG (shell:974) The resource could not be found.<br /><br />
(HTTP 404)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/cinderclient/shell.py", line 969, in main
for item in sys.argv[1:]])
File "/usr/lib/python2.7/site-packages/cinderclient/shell.py", line 787, in main
args.func(self.cs, args)
File "/usr/lib/python2.7/site-packages/cinderclient/v1/shell.py", line 191, in do_list
volumes = cs.volumes.list(search_opts=search_opts, limit=args.limit)
File "/usr/lib/python2.7/site-packages/cinderclient/v1/volumes.py", line 214, in list
"volumes")
File "/usr/lib/python2.7/site-packages/cinderclient/base.py", line 84, in _list
resp, body = self.api.client.get(url)
File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 199, in get
return self._cs_request(url, 'GET', **kwargs)
File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 190, in _cs_request
return self.request(url, method, **kwargs)
File "/usr/lib/python2.7/site-packages/cinderclient/client.py", line 176, in request
raise exceptions.from_response(resp, body)
NotFound: The resource could not be found.<br /><br />
(HTTP 404)
DEBUG:cinderclient.shell:The resource could not be found.<br /><br /> |
|