[Openstack] [Trove] Unable to list databases and other api calls in Ubuntu 14.04 packaged install
Mark Kirkwood
mark.kirkwood at catalyst.net.nz
Wed Jun 4 01:38:24 UTC 2014
On 04/06/14 12:56, Mark Kirkwood wrote:
> So short version - code appears to only works nicely in devstack. I
> amended the init scri[t for trove-api to set cwd to
> /usr/lib/python2.7/dist-packages, which makes extensions load ok (and -
> at last - makes database list and other api calls work). I'll look
> deeper and see if there is a way to tell trove use something more
> sensible in 'path' (i.e not a relative path)...so we can avoid making
> the service cd into the python lib! If not I'll raise an issue.
>
There is a config for this:
$ tail -1 /etc/trove/trove.conf
api_extensions_path =
/usr/lib/python2.7/dist-packages/trove/extensions/routes
gets things working without having to bludgeon the init script.
More information about the Openstack
mailing list