Hi Kiran,

Thanks for your response. Keystone installation worked but the script has been stuck here work for compute service installation for a while. Is this common in new installations ?

+functions:wait_for_compute:504            [[ 124 != 0 ]]

+functions:wait_for_compute:505            echo 'Didn'\''t find service registered by hostname after 60 seconds'

Didn't find service registered by hostname after 60 seconds

+functions:wait_for_compute:506            openstack --os-cloud devstack-admin --os-region RegionOne compute service list


Thanks
Ishan

From: Kiran Pawar <kinpaa@gmail.com>
Date: Monday, 18 November 2024 at 9:52
PM
To: Ishan Shanware (ishanwar) <ishanwar@cisco.com>
Cc: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org>
Subject: Re: [Devstack] Trying to setup development environment on VM

Hi,
There is a workaround for this, which works for ubuntu 20/22 at least.

1. ./unstack.sh ; ./clean.sh
2. reboot
3. sudo su - stack
4. apply below changes


5. ./stack.sh


- Kiran

 

On Mon, Nov 18, 2024 at 4:52PM Ishan Shanware (ishanwar) <ishanwar@cisco.com> wrote:

Hello Everyone,  

I am currently trying to setup in all-in-one development environment for OpenStack on a Debian VM.  The VM has 16 GB RAM and 4 CPUs. However, I face an error while trying to run FORCE=yes ./stack.sh. 
I get an error that keystone does not start. This causes the entire process to fail. Requesting assistance in solving this issue. 

I am following the this guide: https://docs.openstack.org/devstack/latest/guides/single-machine.html

PFA the error log and error message on the terminal. 

[Call Trace]

./stack.sh:1126:start_keystone

/opt/stack/devstack/lib/keystone:549:die

[ERROR] /opt/stack/devstack/lib/keystone:549 keystone did not start

Error on exit

World dumping... see /opt/stack/logs/worlddump-2024-11-18-150808.txt for details

ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)

Thanks in advance,
Ishan