Empty 'tenant_id' field in cloudkitty hashmap-mapping-create
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloudkitty |
Fix Committed
|
Undecided
|
Luka Peschke |
Bug Description
When I try to create a new mapping from command line, the 'tenat_id' field in the request body is always empty, even whit the -p (project-id) option in the command line:
cloudkitty -d -v hashmap-
DEBUG (extension) found extension EntryPoint.
DEBUG (extension) found extension EntryPoint.
DEBUG (extension) found extension EntryPoint.
DEBUG (extension) found extension EntryPoint.
DEBUG (session) REQ: curl -g -i -X GET http://
INFO (connectionpool) Starting new HTTP connection (1): 192.168.83.189
DEBUG (connectionpool) "GET /v2.0 HTTP/1.1" 200 348
DEBUG (session) RESP: [200] Date: Thu, 25 Aug 2016 08:42:59 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token x-openstack-
RESP BODY: {"version": {"status": "deprecated", "updated": "2016-08-
DEBUG (v2) Making authentication request to http://
INFO (connectionpool) Starting new HTTP connection (1): 192.168.83.189
DEBUG (connectionpool) "POST /identity/
DEBUG (client) REQ: curl -g -i -X 'POST' 'http://
DEBUG (client) REQ BODY: {"tenant_id": "", "cost": "2", "service_id": "cc15e3ac-
INFO (connectionpool) Starting new HTTP connection (1): 192.168.83.189
DEBUG (connectionpool) "POST /v1/rating/
DEBUG (client) RESP: [400] {'Date': 'Thu, 25 Aug 2016 08:43:00 GMT', 'Content-Length': '137', 'Content-Type': 'application/json; charset=UTF-8', 'x-openstack-
DEBUG (client) RESP BODY: {"debuginfo": null, "faultcode": "Client", "faultstring": "Invalid input for field/attribute tenant_id. Value: ''. Invalid UUID, got ''"}
DEBUG (client) Request returned failure status: 400
Traceback (most recent call last):
File "/usr/local/
sys.
File "/opt/stack/
CloudkittyS
File "/opt/stack/
args.
File "/opt/stack/
return func(*args, **kwargs)
File "/opt/stack/
out = cc.hashmap.
File "/opt/stack/
self.
File "/opt/stack/
body = self.client.
File "/opt/stack/
return self.client_
File "/opt/stack/
self, method, url, **kwargs)
File "/opt/stack/
method, self.concat_
File "/opt/stack/
raise exceptions.
cloudkittyclien
Changed in cloudkitty: | |
assignee: | nobody → Luka Peschke (luka-peschke) |
Changed in cloudkitty: | |
status: | New → Confirmed |
Changed in cloudkitty: | |
status: | Confirmed → Fix Committed |
This issue was fixed in the openstack/ python- cloudkittyclien t 0.6.0 release.