[tuskar] wrong URL for tuskar in default installation of TripleO
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Jay Dobies |
Bug Description
Default installation of TripleO prevent user from using tuskar.
When everything is installed, and setup, I wanted to create a new plan with tuskar client.
"tuskar plan-create overcloud"
returns
WARNING:
ERROR:tuskarcli
Traceback (most recent call last):
File "/usr/local/
TuskarShell
File "/usr/local/
args.
File "/usr/local/
description
File "/usr/local/
return self._create(
File "/usr/local/
resp, body = self.api.
File "/usr/local/
resp, body_iter = self._http_
File "/usr/local/
raise exc.from_
NotFound: Not Found (HTTP 404)
and tuskar-api returns:
192.168.122.1 - - [02/Apr/2015 08:04:52] "POST /v2/v2/plans HTTP/1.1" 404 56
Solution:
User have to change URL in keystone.endpoint for all occurences of tuskar:
mysql> select service.id, endpoint.url from endpoint join service on endpoint.
mysql> update endpoint set url=replace(url, 'v2', '') where service_
Query OK, 3 rows affected (0.02 sec)
Rows matched: 3 Changed: 3 Warnings: 0
Without this, user is not able to use Tripleo + Tuskar
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
Fixed in:
https:/ /git.openstack. org/cgit/ openstack/ python- tuskarclient/ commit/ ?id=284c47b0c85 82dd8d5fb2e8d79 74513d88d9eb40