Installing devstack fails with "enable_service s-proxy s-object s-container s-account"

Bug #1904348 reported by jaybe1966
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Expired
Undecided
Unassigned

Bug Description

When installing OpenStack with devstack (https://opendev.org/openstack/devstack) in a minimal configuration it works.
local.conf:

[[local|localrc]]
ADMIN_PASSWORD=StrongAdminSecret
DATABASE_PASSWORD=StrongAdminSecret
RABBIT_PASSWORD=StrongAdminSecret
SERVICE_PASSWORD=StrongAdminSecret

But, whe I try to install it with SWIFT enabled and keystone authantication, the installation fails.
I use the instructions in this wiki-article:
https://wiki.openstack.org/wiki/Swift/DevstackSetupForKeystoneV3
So I added
  enable_service s-proxy s-object s-container s-account
to the local.conf configuration file.
I also (optionally) changed lib/swift and lib/keystone as described in the article, but with or without these achanges, the installation fails with this message:

++:: openstack --os-cloud devstack-admin --os-region RegionOne compute service list --host system185 --service nova-compute -c ID -f value
+:: ID=
+:: [[ '' == '' ]]
+:: sleep 1
+:: [[ libvirt = \f\a\k\e ]]
++:: openstack --os-cloud devstack-admin --os-region RegionOne compute service list --host system185 --service nova-compute -c ID -f value
+functions:wait_for_compute:503 rval=124
+functions:wait_for_compute:515 time_stop wait_for_service
+functions-common:time_stop:2310 local name
+functions-common:time_stop:2311 local end_time
+functions-common:time_stop:2312 local elapsed_time
+functions-common:time_stop:2313 local total
+functions-common:time_stop:2314 local start_time
+functions-common:time_stop:2316 name=wait_for_service
+functions-common:time_stop:2317 start_time=1605435660067
+functions-common:time_stop:2319 [[ -z 1605435660067 ]]
++functions-common:time_stop:2322 date +%s%3N
+functions-common:time_stop:2322 end_time=1605435720235
+functions-common:time_stop:2323 elapsed_time=60168
+functions-common:time_stop:2324 total=19606
+functions-common:time_stop:2326 _TIME_START[$name]=
+functions-common:time_stop:2327 _TIME_TOTAL[$name]=79774
+functions:wait_for_compute:517 [[ 124 != 0 ]]
+functions:wait_for_compute:518 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:519 openstack --os-cloud devstack-admin --os-region RegionOne compute service list
+----+----------------+-----------+----------+---------+-------+----------------------------+
| ID | Binary | Host | Zone | Status | State | Updated At |
+----+----------------+-----------+----------+---------+-------+----------------------------+
| 1 | nova-conductor | system185 | internal | enabled | up | 2020-11-15T10:21:56.000000 |
| 2 | nova-scheduler | system185 | internal | enabled | up | 2020-11-15T10:21:59.000000 |
| 5 | nova-conductor | system185 | internal | enabled | up | 2020-11-15T10:21:55.000000 |
+----+----------------+-----------+----------+---------+-------+----------------------------+
+functions:wait_for_compute:521 return 124
+lib/nova:is_nova_ready:1 exit_trap
+./stack.sh:exit_trap:491 local r=124
++./stack.sh:exit_trap:492 jobs -p
+./stack.sh:exit_trap:492 jobs=
+./stack.sh:exit_trap:495 [[ -n '' ]]
+./stack.sh:exit_trap:501 '[' -f /tmp/tmp.fbDzs55FXF ']'
+./stack.sh:exit_trap:502 rm /tmp/tmp.fbDzs55FXF
+./stack.sh:exit_trap:506 kill_spinner
+./stack.sh:kill_spinner:401 '[' '!' -z '' ']'
+./stack.sh:exit_trap:508 [[ 124 -ne 0 ]]
+./stack.sh:exit_trap:509 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:511 type -p generate-subunit
+./stack.sh:exit_trap:512 generate-subunit 1605433861 1861 fail
+./stack.sh:exit_trap:514 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:517 /usr/bin/python3.6 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2020-11-15-102202.txt for details
neutron-dhcp-agent: no process found
neutron-l3-agent: no process found
neutron-metadata-agent: no process found
neutron-openvswitch-agent: no process found
+./stack.sh:exit_trap:526 exit 124
Sun Nov 15 10:22:04 UTC 2020

Revision history for this message
jaybe1966 (jaybe1966) wrote :
jaybe1966 (jaybe1966)
tags: added: nova-compute swift
tags: added: nova
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

Does this issue still happen? If yes, please attach your local.conf and the complete stack.sh.log file.

Changed in devstack:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for devstack because there has been no activity for 60 days.]

Changed in devstack:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.