<div dir="ltr"><div>Update to my Devstack installation Error. </div><div><br></div><div>I have crossed this Internal Error ( HTTP 500)  and ended up with a new error for the Trove Devstack  Installation attempts. </div><div>##################################################</div><div>2022-06-16 05:46:40.183 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/common-functions:tmpfs_check:26 :   total_kB=16393076<br>2022-06-16 05:46:40.188 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/common-functions:tmpfs_check:29 :   RAM_NEEDED=4<br>2022-06-16 05:46:40.192 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/common-functions:tmpfs_check:30 :   '[' 16393076 -lt 4194304 ']'<br>2022-06-16 05:46:40.197 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/common-functions:tmpfs_check:30 :   return 0<br>2022-06-16 05:46:40.202 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/common-functions:cleanup_image_dir:236 :   timeout 120 sh -c 'while ! sudo umount -f /tmp/dib_image.WMpKoawa; do sleep 1; done'<br>2022-06-16 05:46:40.225 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/common-functions:cleanup_image_dir:241 :   rm -rf --one-file-system /tmp/dib_image.WMpKoawa<br>2022-06-16 05:46:40.231 | + /usr/local/lib/python3.9/dist-packages/diskimage_builder/lib/img-functions:trap_cleanup:38 :   exit 1<br>Error on exit<br># Warning: iptables-legacy tables present, use iptables-legacy to see them<br># Warning: iptables-legacy tables present, use iptables-legacy to see them<br># Warning: iptables-legacy tables present, use iptables-legacy to see them<br>stack@XenaCtrl2:/home/cloud/DEVSTACK_TROVE/devstack$<br></div><div>#############################################################################</div><div><br></div><div>I am able to login to the Horizon dash board inspite  the ./stack.sh script  Exit with the above error status..  And  in the image section, I am able to view    <a href="http://10.184.48.187/dashboard/ngdetails/OS::Glance::Image/be0c8769-286c-4b61-b989-a037e0e9601c" style="font-size:13px;box-sizing:border-box;background-color:rgb(249,249,249);color:rgb(66,139,202);text-decoration-line:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif">cirros-0.5.2-x86_64-disk</a>   image in the dashboard.</div><div><br></div><div>But  on the terminal when I issue the command  DEVSTACK_TROVE/devstack$ openstack datastore version list mysql   it says</div><div>  " Datastore 'mysql' cannot found. HTTP(404).</div><div><br></div><div>#############Here the tty  output  </div><div>stack@XenaCtrl2:/home/cloud/DEVSTACK_TROVE/devstack$ source ./openrc <br>WARNING: setting legacy OS_TENANT_NAME to support cli tools.</div><div><br>stack@XenaCtrl2:/home/cloud/DEVSTACK_TROVE/devstack$ openstack datastore version list mysql<br>Datastore 'mysql' cannot be found. (HTTP 404)</div><div><br>stack@XenaCtrl2:/home/cloud/DEVSTACK_TROVE/devstack$ openstack server list<br><br>stack@XenaCtrl2:/home/cloud/DEVSTACK_TROVE/devstack$ openstack image  list<br>+--------------------------------------+--------------------------+--------+<br>| ID                                   | Name                     | Status |<br>+--------------------------------------+--------------------------+--------+<br>| be0c8769-286c-4b61-b989-a037e0e9601c | cirros-0.5.2-x86_64-disk | active |<br>+--------------------------------------+--------------------------+--------+<br>stack@XenaCtrl2:/home/cloud/DEVSTACK_TROVE/devstack$ openstack datastore version list mysql<br>Datastore 'mysql' cannot be found. (HTTP 404)<br></div><div>#######################################################################################</div><div><br></div><div><br></div><div>So I  ended up with the TROVE installation failing  ?   Or what does this error mean ?   How can I fix this to get a devstack installed successfully with Trove-DbaaS feature up and running ?</div><div><br></div><div><br></div><div>Any help / directions much appreciated .... </div><div><br></div><div>[ How I rectify the earlier errors of  HTTP 500 :  I just created a VM again with same debian 11 image  and 'stack' user created with /opt/stack dir and   freshly git cloned devstack to      DEVSTACK_TROVE/    Dir..  Then created the same local.conf file  which I posted in my earlier mail. </div><div>and  reran    ./stack.sh  script .  This time I was able to get the dashboard up and be able to login(earlier it's not possible to get the dashboard too) ]</div><div><br></div><div>Krish</div><div><br></div><div><br></div><div><br></div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 15, 2022 at 12:31 PM KK CHN <<a href="mailto:kkchn.in@gmail.com">kkchn.in@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">This is my latest  devstack installation error..   No clues  why it fails  repeatedly; earlier it was during the uploading stage of the cirros image,  internal server error ( HTTP 500 ) occurred. This was repeated multiple times. So I posted for the first time in this thread. <div><br></div><div> In this iteration for starting afresh, I have removed the stack user and /opt/stack directory manually, and freshly created   'stack' user with sudo permissions and  /opt/stack  directory with   stack:stack ownership,   and fresh git cloned(git clone <a href="https://opendev.org/openstack/devstack" target="_blank">https://opendev.org/openstack/devstack</a> )  to /opt/DEVSTACK_stack   folder and created local.conf  ( attached here) .  Then executed     ./stack.sh .</div><div><br></div><div>Got the following error this time ...   Any clues why it fails here ?</div><div>Platform (on a VM with Debian uname output) :  Linux XenaCtrl1 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux<br><div><br><div><img src="cid:ii_l4f8g4n40" alt="Trove_installationError.png" width="473" height="174"><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jun 14, 2022 at 8:46 PM Sean Mooney <<a href="mailto:smooney@redhat.com" target="_blank">smooney@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 2022-06-14 at 06:37 -0700, Dan Smith wrote:<br>
> > i hit the same issue the other day if you recall me asking about it.<br>
> > didnt check my devstack logs to see if it installed or not but i can<br>
> > see if i can repoduce it tomorrow.<br>
> <br>
> I checked with the OP and they have it installed properly,<br>
> system-wide. I was assuming your issue might have been venv (or<br>
> ordering) related, but theirs was not. There are some other weird things<br>
> going on with their setup, so I'm not so sure.<br>
nope, was not useing a vnev or anything special, it just devstack installed normaly more or less<br>
but driven by the ansible roles. the run devstack rull litrally just opens a shell and invokes<br>
stack.sh so i dont think there was anything specific ot how i was invoking it.<br>
<br>
> <br>
> --Dan<br>
> <br>
<br>
</blockquote></div>
</blockquote></div></div>