Hi Kiran,

thanks for your response. The keystone installation worked, however the ./stack.sh command has been stuck here for a while. Is this common in new installations of devstack ?

r-dev --service nova-compute -c ID -f value

+functions:wait_for_compute:490            rval=124

+functions:wait_for_compute:502            time_stop wait_for_service

+functions-common:time_stop:2421           local name

+functions-common:time_stop:2422           local end_time

+functions-common:time_stop:2423           local elapsed_time

+functions-common:time_stop:2424           local total

+functions-common:time_stop:2425           local start_time

+functions-common:time_stop:2427           name=wait_for_service

+functions-common:time_stop:2428           start_time=1731948574355

+functions-common:time_stop:2430           [[ -z 1731948574355 ]]

++functions-common:time_stop:2433           date +%s%3N

+functions-common:time_stop:2433           end_time=1731948634549

+functions-common:time_stop:2434           elapsed_time=60194

+functions-common:time_stop:2435           total=29116

+functions-common:time_stop:2437           _TIME_START[$name]=

+functions-common:time_stop:2438           _TIME_TOTAL[$name]=89310

+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