[Openstack] [TROVE] Manual Installation: problems with trove-manage

Michael Basnight mbasnight at gmail.com
Thu Feb 13 16:18:43 UTC 2014


Giuseppe Galeota <giuseppegaleota at gmail.com> writes:

> [...]
>
> 1) Which user do I need use in order to install TROVE, root user or a
> non-root user?

Installation should be the same as other projects in OpenStack. If its
not, we definitely have issues :)

>
> 2)  Why is it necessary to run a virtual environment (virtualenv)? Is it
> the right way in order to realize a production Openstack environment?

? I have helped a few companies install trove, and i have _never_ run in
a venv. Not saying you should/shouldnt, im just saying its not
necessary. Im not sure where you got that.

>
>
>
> 3) When I run the command:
>
> (env)root at hostname:~#trove-manage
> --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
> trove_test.sqlite mysql fake
>
> I obtain this output:
>
> (env)root at hostname:~# trove-manage
> --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe
> trove_test.sqlite mysql fake
> usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH] [--debug]
>                     [--log-config-append PATH] [--log-date-format
> DATE_FORMAT]
>                     [--log-dir LOG_DIR] [--log-file PATH]
>                     [--log-format FORMAT] [--nodebug] [--nouse-syslog]
>                     [--noverbose] [--syslog-log-facility
> SYSLOG_LOG_FACILITY]
>                     [--use-syslog] [--verbose] [--version]

Looks like you hit a bug :) Im not sure if anyone has run that via trove
manage before!!

>
>
> {db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_wipe}
>                     ...
> trove-manage: error: unrecognized arguments: mysql fake
>
> Furthermore, I obtain the "trove-manage: error: unrecognized arguments:
> image_update" when I run the command:
>
> (env)root at hostname:~# trove-manage
> --config-file=/root/trove/etc/trove/trove.conf.sample image_update
> mysql
>     `nova --os-username trove --os-password trove --os-tenant-name trove
>     --os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk
> '/trove-image/ {print $2}'`

I dont see image_update in the list of commands above. Im not sure where
you got image_update from, but i dont see it in the current trove-manage
code. If you got that from a wiki article, its crazy wrong!!

If u want synchronous help, find us in #openstack-trove.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 512 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140213/f09a210c/attachment.sig>


More information about the Openstack mailing list