how can i install trove-manage command-line client

Bug #1867893 reported by zhangss on 2020-03-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)

Bug Description

I can't find ever doc about install torve-manage client in kolla-anisble.
I can use openstack database [arguments] and trove [arg] client command line,but can't use trove-manage to create datestore.
The above document only trove-manage client uses methods.

Radosław Piliszek (yoctozepto) wrote :

The reason is you don't need kolla-ansible to do that. You just install it from distro packages or pip. It's a client that runs from your host.

Radosław Piliszek (yoctozepto) wrote :
Changed in kolla-ansible:
status: New → Incomplete
zhangss (intentc) wrote :

I already install python-troveclient,but i can't find trove-manage command line client.It's just has trove cli and "openstack database" cli."openstack database" client can't create datastore.

pip list | grep troveclient
python-troveclient 3.3.0

Radosław Piliszek (yoctozepto) wrote :

Ah, sorry! I mistook the two. This is actually part of the main trove package which gets installed in all trove containers. Proper place to run it from would be trove-api: go to one of your controllers and do:

  docker exec -it trove_api trove-manage ...

I'm open for doc improvements.

Changed in kolla-ansible:
status: Incomplete → Triaged
importance: Undecided → Low
tags: added: docs
zhangss (intentc) wrote :


zhangss (intentc) wrote :

AND,I want build Trove guest image.when i from here to another links,It report not found this page error(404).

What happend about this links?

Radosław Piliszek (yoctozepto) wrote :

Assigned Trove to that. I am not familiar with Trove so cannot comment.

Both issues are with missing/incomplete docs so may belong together.

Changed in trove:
status: New → Confirmed
Lingxian Kong (kong) wrote :
Radosław Piliszek (yoctozepto) wrote :

@Lingxian, sorry, launchpad told me otherwise. :-) I guess you can configure that.

As for the topic: only the link broke in the Trove docs.

zhangss (intentc) wrote :

In addition,I found that Doc's some suggestions were inconsistent.
for example:
if dev_mode=false, the trove code for guest agent is injected into the image at the building time. Now dev_mode=false is still in experimental and not considered production ready yet.

And the other link does
Trove provides a script named trovestack to help build the image, refer to Build images using trovestack for more information. Make sure to use dev_mode=false for production environment.

what should i set dev_mode field ?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers