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.

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to