Hi,
Please check in neutron-server logs why it didn't start. You can do this with command ;
sudo journalctl --unit devstack@q-svc
Dnia wtorek, 28 maja 2024 06:32:22 CEST Lohit S pisze:
> How to fix this issue while stack.sh is executed
>
> +functions-common:_run_under_systemd:1655 sudo systemctl start
> devstack@q-svc.service
> +functions-common:run_process:1687 time_stop run_process
> +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=run_process
> +functions-common:time_stop:2428 start_time=1716869530330
> +functions-common:time_stop:2430 [[ -z 1716869530330 ]]
> ++functions-common:time_stop:2433 date +%s%3N
> +functions-common:time_stop:2433 end_time=1716869534546
> +functions-common:time_stop:2434 elapsed_time=4216
> +functions-common:time_stop:2435 total=16163
> +functions-common:time_stop:2437 _TIME_START[$name]=
> +functions-common:time_stop:2438 _TIME_TOTAL[$name]=20379
> +lib/neutron:start_neutron_service_and_check:640 neutron_url=
> http://192.168.122.150:9696/
> +lib/neutron:start_neutron_service_and_check:642 is_service_enabled
> tls-proxy
> +functions-common:is_service_enabled:2077 return 1
> +lib/neutron:start_neutron_service_and_check:646 '[' '!' -z networking ']'
> +lib/neutron:start_neutron_service_and_check:647 neutron_url=
> http://192.168.122.150:9696/networking
> +lib/neutron:start_neutron_service_and_check:649 echo 'Waiting for Neutron
> to start...'
> Waiting for Neutron to start...
> +lib/neutron:start_neutron_service_and_check:651 local 'testcmd=wget
> --no-proxy -q -O- http://192.168.122.150:9696/networking'
> +lib/neutron:start_neutron_service_and_check:652 test_with_retry 'wget
> --no-proxy -q -O- http://192.168.122.150:9696/networking' 'Neutron did not
> start' 60
> +functions-common:test_with_retry:2359 local 'testcmd=wget --no-proxy
> -q -O- http://192.168.122.150:9696/networking'
> +functions-common:test_with_retry:2360 local 'failmsg=Neutron did not
> start'
> +functions-common:test_with_retry:2361 local until=60
> +functions-common:test_with_retry:2362 local sleep=0.5
> +functions-common:test_with_retry:2364 time_start test_with_retry
> +functions-common:time_start:2407 local name=test_with_retry
> +functions-common:time_start:2408 local start_time=
> +functions-common:time_start:2409 [[ -n '' ]]
> ++functions-common:time_start:2412 date +%s%3N
> +functions-common:time_start:2412 _TIME_START[$name]=1716869535329
> +functions-common:test_with_retry:2365 timeout 60 sh -c 'while ! wget
> --no-proxy -q -O- http://192.168.122.150:9696/networking; do sleep 0.5;
> done'
> +functions-common:test_with_retry:2366 die 2366 'Neutron did not start'
> +functions-common:die:285 local exitcode=0
> [Call Trace]
> ./stack.sh:1322:start_neutron_service_and_check
> /home/lohit22/opensource/openstack/devstack/Org/devstack/lib/neutron:652:test_with_retry
> /home/lohit22/opensource/openstack/devstack/Org/devstack/functions-common:2366:die
> [ERROR]
> /home/lohit22/opensource/openstack/devstack/Org/devstack/functions-common:2366
> Neutron did not start
> exit_trap: cleaning up child processes
> Error on exit
>
--
Slawek Kaplonski
Principal Software Engineer
Red Hat