[rdo-users] Packstack allinone POC with Trove

Javier Pena javier.pena at redhat.com
Wed Nov 22 17:54:26 UTC 2017


----- Original Message -----

> Hi,

> I am trying to implement AIO with Trove enabled using Packstack on Centos 7.

> My installation is successful, but when I try to list databases, it gives me
> “Error: Unable to retrieve database instances.”

> When I check trove controller logs, I see this,

> 2017-11-22 15:47:34.070 21608 ERROR keystonemiddleware.auth_token [-] Bad
> response code while validating token: 400: BadRequest: Expecting to find
> domain in project. The server could not comply with the request since it is
> either malformed or otherwise incorrect. The client is assumed to be in
> error. (HTTP 400) (Request-ID: req-5b3475d2-cc05-40fc-a0cf-19c71b3d65ad)

> 2017-11-22 15:47:34.070 21608 WARNING keystonemiddleware.auth_token [-]
> Identity response: {"error": {"message": "Expecting to find domain in
> project. The server could not comply with the request since it is either
> malformed or otherwise incorrect. The client is assumed to be in error.",
> "code": 400, "title": "Bad Request"}}: BadRequest: Expecting to find domain
> in project. The server could not comply with the request since it is either
> malformed or otherwise incorrect. The client is assumed to be in error.
> (HTTP 400) (Request-ID: req-5b3475d2-cc05-40fc-a0cf-19c71b3d65ad)

> 2017-11-22 15:47:34.070 21608 CRITICAL keystonemiddleware.auth_token [-]
> Unable to validate token: Failed to fetch token data from identity server:
> ServiceError: Failed to fetch token data from identity server

> 2017-11-22 15:47:34.071 21608 INFO eventlet.wsgi [-] 172.16.5.184 - -
> [22/Nov/2017 15:47:34] "GET
> /v1.0/b20cf7ccbd1a4636bb8a8bdf8cd3973d/instances?limit=20 HTTP/1.1" 503 320
> 0.010055

> While installing openstack with packstack, in answer file, only change I did
> was changing “CONFIG_TROVE_INSTALL” to “y” . Was I supposed to do more
> config? What could be issue here?

Hi Sonali, 

You have found a bug in the way Packstack deploys Trove. For a quick fix, you can try to edit /etc/trove/trove.conf and change the following value in the keystone_authtoken section: 

auth_url=http://192.168.122.129:5000 

Use your controller IP instead of that one, of course. Make sure the trailing "/v3" part is not there, and then restart the Trove services before trying again. 

I have created https://review.openstack.org/522313 with a fix. 

> Also, is there any link for pre-made guest trove images for mongodb and
> mysql?

I am not aware of any pre-made images. You can check https://docs.openstack.org/trove/latest/admin/building_guest_images.html for instructions to build your own. 

Thanks, 
Javier 

> Regards,

> /Sonali

> _______________________________________________
> users mailing list
> users at lists.rdoproject.org
> http://lists.rdoproject.org/mailman/listinfo/users

> To unsubscribe: users-unsubscribe at lists.rdoproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/users/attachments/20171122/70023139/attachment.html>


More information about the users mailing list