Welcome to the Linux Foundation Forum!

Lab_2.2 etcd service problem

hello,

i'm facing a problem with the devstack installation.

i'm having an error with the devstack@etcd service .

2018-12-23 13:12:25.475 | +lib/etcd3:start_etcd3:62 sudo systemctl enable devstack@etcd.service
2018-12-23 13:12:25.485 | Created symlink from /etc/systemd/system/multi-user.target.wants/devstack@etcd.service to /etc/systemd/system/devstack@etcd.service.
2018-12-23 13:12:25.557 | +lib/etcd3:start_etcd3:63 sudo systemctl start devstack@etcd.service
2018-12-23 13:12:25.603 | Job for devstack@etcd.service failed because the control process exited with error code. See "systemctl status devstack@etcd.service" and "journalctl -xe" for details.
2018-12-23 13:12:25.615 | +lib/etcd3:start_etcd3:1 exit_trap
2018-12-23 13:12:25.625 | +./stack.sh:exit_trap:521 local r=1
2018-12-23 13:12:25.635 | ++./stack.sh:exit_trap:522 jobs -p
2018-12-23 13:12:25.644 | +./stack.sh:exit_trap:522 jobs=
2018-12-23 13:12:25.655 | +./stack.sh:exit_trap:525 [[ -n '' ]]
2018-12-23 13:12:25.665 | +./stack.sh:exit_trap:531 '[' -f /tmp/tmp.Qn7J9DO5AW ']'
2018-12-23 13:12:25.673 | +./stack.sh:exit_trap:532 rm /tmp/tmp.Qn7J9DO5AW
2018-12-23 13:12:25.682 | +./stack.sh:exit_trap:536 kill_spinner
2018-12-23 13:12:25.692 | +./stack.sh:kill_spinner:417 '[' '!' -z '' ']'
2018-12-23 13:12:25.702 | +./stack.sh:exit_trap:538 [[ 1 -ne 0 ]]
2018-12-23 13:12:25.713 | +./stack.sh:exit_trap:539 echo 'Error on exit'
2018-12-23 13:12:25.713 | Error on exit
2018-12-23 13:12:25.723 | +./stack.sh:exit_trap:541 type -p generate-subunit
2018-12-23 13:12:25.733 | +./stack.sh:exit_trap:542 generate-subunit 1545570507 238 fail
2018-12-23 13:12:26.107 | +./stack.sh:exit_trap:544 [[ -z /opt/stack/logs ]]
2018-12-23 13:12:26.117 | +./stack.sh:exit_trap:547 /home/ubuntu/devstack/tools/worlddump.py -d /opt/stack/logs
2018-12-23 13:12:26.590 | +./stack.sh:exit_trap:556 exit 1

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Comments

  • Works fine now.

  • Posts: 2
    edited March 2024

    Hey,

    I have the same problem as you on oracle cloud infrastructure with the following image:
    Canonical-Ubuntu-22.04-2024.02.18-0. When I see the status of "devstack@etcd.service" is marked as failed with no logs on it.
    And when I want to see the status of "etcd.service", I have the following output: "Unit etcd.service could not be found."
    I tried to had the following line in local.conf file: "disable_service etcd3", and I have a new error output:
    Waiting for keystone to start...
    +lib/keystone:start_keystone:575 local service_uri=http://158.178.204.43/identity/v3/
    +lib/keystone:start_keystone:577 wait_for_service 60 http://158.178.204.43/identity/v3/
    +functions:wait_for_service:468 local timeout=60
    +functions:wait_for_service:469 local url=http://158.178.204.43/identity/v3/
    +functions:wait_for_service:470 local rval=0
    +functions:wait_for_service:471 time_start wait_for_service
    +functions-common:time_start:2407 local name=wait_for_service
    +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]=1709909223704
    +functions:wait_for_service:472 timeout 60 bash -x
    ++:: curl -g -k --noproxy '*' -s -o /dev/null -w '%{http_code}' http://158.178.204.43/identity/v3/
    +functions:wait_for_service:472 rval=124
    +functions:wait_for_service:477 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=1709909223704
    +functions-common:time_stop:2430 [[ -z 1709909223704 ]]
    ++functions-common:time_stop:2433 date +%s%3N
    +functions-common:time_stop:2433 end_time=1709909283820
    +functions-common:time_stop:2434 elapsed_time=60116
    +functions-common:time_stop:2435 total=0
    +functions-common:time_stop:2437 _TIME_START[$name]=
    +functions-common:time_stop:2438 _TIME_TOTAL[$name]=60116
    +functions:wait_for_service:478 return 124
    +lib/keystone:start_keystone:578 die 578 'keystone did not start'
    +functions-common:die:285 local exitcode=0
    +functions-common:die:286 set +o xtrace
    [Call Trace]
    ./stack.sh:1129:start_keystone
    /opt/stack/devstack/lib/keystone:578:die
    [ERROR] /opt/stack/devstack/lib/keystone:578 keystone did not start
    Error on exit
    World dumping... see /opt/stack/logs/worlddump-2024-03-08-144805.txt for details

    Do you have some suggestions to resolve this problem as you resolved it.

  • Posts: 2,282

    Hi @jojodevops

    What course are you enrolled in? LFS252 has been discontinued since 2019, and we are not showing records of any enrollment under this email.

    Regards,
    Flavia

  • Hey,

    Thank you for your fast reply.
    I'm not enrolled in any course I just search for my bug on google and I see this page.

    Regards,
    Jonas

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training