<div dir="ltr"><div class="gmail_quote"><div dir="ltr"><div><font color="#0000ff">Hi Michael, Hi all,</font></div><div><font color="#0000ff">I'm using this unique guide: "<a href="http://docs.openstack.org/developer/trove/dev/manual_install.html" target="_blank">http://docs.openstack.org/developer/trove/dev/manual_install.html</a>".</font></div>
<div><font color="#0000ff"><br></font></div><div><font color="#0000ff">If you can give me an useful guide, I would be grateful!</font></div><div class=""><div><br></div><div><font color="#ff0000">>> 1) Which user do I need use in order to install TROVE, root user or a<br>
>> non-root user?</font><br><br></div> >Installation should be the same as other projects in OpenStack. If its<br> >not, we definitely have issues :)<br><div> </div></div><div> <font color="#0000ff"> OK</font></div>
<div class="">
<div><br><font color="#ff0000">>> 2) Why is it necessary to run a virtual environment (virtualenv)? Is it<br>>> the right way in order to realize a production Openstack environment?</font><br><br></div>
>? I have helped a few companies install trove, and i have _never_ run in<br> >a venv. Not saying you should/shouldnt, im just saying its not<br> >necessary. Im not sure where you got that.<br><div>
<br></div><div><br></div></div><div> <font color="#0000ff">OK</font></div><div><div class=""><br><br><font color="#ff0000">>> 3) When I run the command:<br>>><br>>> (env)root@hostname:~#trove-manage<br>
>> --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe<br>>> trove_test.sqlite mysql fake<br>>><br>>> I obtain this output:<br>>><br>>> (env)root@hostname:~# trove-manage<br>
>> --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe<br>
>> trove_test.sqlite mysql fake<br>>> usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH] [--debug]<br>>> [--log-config-append PATH] [--log-date-format<br>>> DATE_FORMAT]<br>
>> [--log-dir LOG_DIR] [--log-file PATH]<br>>> [--log-format FORMAT] [--nodebug] [--nouse-syslog]<br>>> [--noverbose] [--syslog-log-facility<br>
>> SYSLOG_LOG_FACILITY]<br>>> [--use-syslog] [--verbose] [--version]</font><br></div><div class=""><font color="#ff0000">>> {db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_wipe}<br>
>> ...<br>>> trove-manage: error: unrecognized arguments: mysql fake</font><br></div></div> <div><div class=""> >Looks like you hit a bug :) Im not sure if anyone has run that via trove<br>
>manage before!!<div>
<br></div></div><div><font color="#0000ff"> I have followed this unique guide (<a href="http://docs.openstack.org/developer/trove/dev/manual_install.html" target="_blank">http://docs.openstack.org/developer/trove/dev/manual_install.html</a>), and precisely this instructions:</font></div>
<ul style="font-family:Arial,sans-serif;font-size:14.399999618530273px"><li style="line-height:1.5em"><p style="line-height:1.5em"><font color="#0000ff">Initialize the database:</font></p><div><div>
<pre style="overflow:auto;padding:10px;line-height:1.2em;border:1px solid rgb(198,201,203);font-size:1.1em;margin-top:1.5em;margin-bottom:1.5em"><span style="font-style:italic"><font color="#0000ff"># trove-manage --config-file=<PathToTroveConf> db_wipe trove_test.sqlite mysql fake</font></span></pre>
</div></div></li></ul><div><font color="#0000ff"> </font></div><div><font color="#0000ff"> where </font><span style="color:rgb(0,0,255);font-style:italic;font-size:1.1em;line-height:1.2em">--config-file=/root/trove/etc/trove/trove.conf.sample</span></div>
<div><font color="#0000ff"><br></font></div><div><font color="#0000ff"> So:</font></div><div><font color="#0000ff"> a) How should I inizialize the trove's database? </font></div>
<div><font color="#0000ff"><br></font></div><div><font color="#0000ff"> b) Why the config files are under the /root/trove/etc insted of /etc/trove/ ?</font><br><div><br></div><div>
</div><div><font color="#0000ff"> However, if I run that command without <b>mysql fake</b>:</font></div><div class=""><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"> (env)root@hostname:~# trove-manage --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe trove_test.sqlite <br>
</font></div><div><font color="#0000ff"> </font></div></div><div><font color="#0000ff"> it seems to work. In the trove's database, infact, I can see a lot of tables.</font><div class=""><br><br><br>
<font color="#ff0000">>> Furthermore, I obtain the "trove-manage: error: unrecognized arguments: image_update</font></div></div>
<div><font color="#ff0000"><div class="">>> when I run the command:<br>>><br></div>>> (env)root@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}'`</font></div>
<div class="">
<div><font color="#ff0000"><br></font></div><div><font color="#ff0000"><br></font><br></div> >I dont see image_update in the list of commands above. Im not sure where<br> >you got image_update from, but i dont see it in the current trove-manage<br>
>code. If you got that from a wiki article, its crazy wrong!!</div></div><div> </div><div> <font color="#0000ff"> I have got image_update from the guide <a href="http://docs.openstack.org/developer/trove/dev/manual_install.html" target="_blank">http://docs.openstack.org/developer/trove/dev/manual_install.html</a> , ed in particular from the section:</font></div>
<div><font color="#0000ff"><br></font></div><div><ul><li style="line-height:1.5em"><p style="font-family:Arial,sans-serif;font-size:14.399999618530273px;line-height:1.5em"><font color="#0000ff">Setup trove to use the uploaded image. Enter the following in a single line, note quotes (‘) and backquotes(`):</font></p>
<div class="">
<div><pre style="overflow:auto;padding:10px;line-height:1.2em;border:1px solid rgb(198,201,203);margin-top:1.5em;margin-bottom:1.5em"><font size="4" face="verdana, sans-serif" color="#0000ff"># trove-manage --config-file=<span style="line-height:normal">/root/trove/etc/</span><span style="line-height:normal">trove/trove.conf.sample</span><span style="line-height:1.2em"> image_update mysql </span><span style="line-height:1.2em"> `nova --os-username trove --os-password trove --os-tenant-name trove </span><span style="line-height:1.2em">--os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk '/trove-image/ {print $2}'`</span></font></pre>
</div></div></li></ul></div><div><br></div><div class=""><div> >If u want synchronous help, find us in #openstack-trove.</div><div> </div></div><div> <font color="#0000ff"> I will do it.</font></div><div><br>
</div><div><font color="#0000ff">Can you help me with a more useful guide that makes trove working?</font></div>
<div><font color="#0000ff"><br></font></div><div><font color="#0000ff">Thank you very much!</font></div><div><font color="#0000ff">Giuseppe</font></div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-13 17:18 GMT+01:00 Michael Basnight <span dir="ltr"><<a href="mailto:mbasnight@gmail.com" target="_blank">mbasnight@gmail.com</a>></span>:<div>
<div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Giuseppe Galeota <<a href="mailto:giuseppegaleota@gmail.com" target="_blank">giuseppegaleota@gmail.com</a>> writes:<br>
<br>
> [...]<br>
<div>><br>
> 1) Which user do I need use in order to install TROVE, root user or a<br>
> non-root user?<br>
<br>
</div>Installation should be the same as other projects in OpenStack. If its<br>
not, we definitely have issues :)<br>
<div><br>
><br>
> 2) Why is it necessary to run a virtual environment (virtualenv)? Is it<br>
> the right way in order to realize a production Openstack environment?<br>
<br>
</div>? I have helped a few companies install trove, and i have _never_ run in<br>
a venv. Not saying you should/shouldnt, im just saying its not<br>
necessary. Im not sure where you got that.<br>
<div><br>
><br>
><br>
><br>
> 3) When I run the command:<br>
><br>
> (env)root@hostname:~#trove-manage<br>
> --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe<br>
> trove_test.sqlite mysql fake<br>
><br>
> I obtain this output:<br>
><br>
> (env)root@hostname:~# trove-manage<br>
> --config-file=/root/trove/etc/trove/trove.conf.sample db_wipe<br>
> trove_test.sqlite mysql fake<br>
> usage: trove-manage [-h] [--config-dir DIR] [--config-file PATH] [--debug]<br>
> [--log-config-append PATH] [--log-date-format<br>
> DATE_FORMAT]<br>
> [--log-dir LOG_DIR] [--log-file PATH]<br>
> [--log-format FORMAT] [--nodebug] [--nouse-syslog]<br>
> [--noverbose] [--syslog-log-facility<br>
> SYSLOG_LOG_FACILITY]<br>
> [--use-syslog] [--verbose] [--version]<br>
<br>
</div>Looks like you hit a bug :) Im not sure if anyone has run that via trove<br>
manage before!!<br>
<div><br>
><br>
><br>
> {db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_wipe}<br>
> ...<br>
> trove-manage: error: unrecognized arguments: mysql fake<br>
><br>
> Furthermore, I obtain the "trove-manage: error: unrecognized arguments:<br>
> image_update" when I run the command:<br>
><br>
> (env)root@hostname:~# trove-manage<br>
> --config-file=/root/trove/etc/trove/trove.conf.sample image_update<br>
> mysql<br>
> `nova --os-username trove --os-password trove --os-tenant-name trove<br>
> --os-auth-url http://<KeystoneIp>:5000/v2.0 image-list | awk<br>
> '/trove-image/ {print $2}'`<br>
<br>
</div>I dont see image_update in the list of commands above. Im not sure where<br>
you got image_update from, but i dont see it in the current trove-manage<br>
code. If you got that from a wiki article, its crazy wrong!!<br>
<br>
If u want synchronous help, find us in #openstack-trove.<br>
</blockquote></div></div></div> </div></div></div></div>
</div><br></div>