I allways meet devstack install error

Bug #1963746 reported by Jerry Du
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
devstack
Expired
Low
Unassigned

Bug Description

2022-03-05 12:21:07.449 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Created implied role where e06264734ccd424ebb41b9825cf51caa implies 607c69af5b584a32b212a895bd566685
2022-03-05 12:21:07.513 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Created role admin
2022-03-05 12:21:07.619 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Created implied role where 4c7889af73c447fa87a079bd859a26b0 implies e06264734ccd424ebb41b9825cf51caa
2022-03-05 12:21:07.694 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Granted role admin on project admin to user admin.
2022-03-05 12:21:07.756 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Granted role admin on the system to user admin.
2022-03-05 12:21:07.821 | WARNING py.warnings [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] /usr/local/lib/python3.8/dist-packages/pycadf/identifier.py:71: UserWarning: Invalid uuid: RegionOne. To ensure interoperability, identifiers should be a valid uuid.
2022-03-05 12:21:07.821 | warnings.warn(('Invalid uuid: %s. To ensure interoperability, '
2022-03-05 12:21:07.822 |
2022-03-05 12:21:07.827 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Created region RegionOne
2022-03-05 12:21:07.930 | INFO keystone.cmd.bootstrap [None req-ff6252b9-226d-4fe9-af9a-5439b5c0dee0 None None] Created public endpoint http://192.168.10.11/identity
2022-03-05 12:21:08.445 | +lib/keystone:bootstrap_keystone:610 '[' False == True ']'
2022-03-05 12:21:08.457 | +./stack.sh:main:1101 create_keystone_accounts
2022-03-05 12:21:08.469 | +lib/keystone:create_keystone_accounts:309 local admin_project
2022-03-05 12:21:08.481 | ++lib/keystone:create_keystone_accounts:310 oscwrap project show admin -f value -c id
2022-03-05 12:21:13.898 | /usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
2022-03-05 12:21:13.899 | from cryptography.utils import int_from_bytes
2022-03-05 12:21:13.899 | /usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
2022-03-05 12:21:13.899 | from cryptography.utils import int_from_bytes
2022-03-05 12:21:13.899 | Failed to discover available identity versions when contacting http://192.168.10.11/identity. Attempting to parse version from URL.
2022-03-05 12:21:13.899 | Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Service Unavailable (HTTP 503)
2022-03-05 12:21:14.105 | ++functions-common:oscwrap:2465 return 1
2022-03-05 12:21:14.117 | +lib/keystone:create_keystone_accounts:310 admin_project=
2022-03-05 12:21:14.130 | +lib/keystone:create_keystone_accounts:1 exit_trap
2022-03-05 12:21:14.141 | +./stack.sh:exit_trap:521 local r=1
2022-03-05 12:21:14.153 | ++./stack.sh:exit_trap:522 jobs -p
2022-03-05 12:21:14.165 | +./stack.sh:exit_trap:522 jobs=118236
2022-03-05 12:21:14.176 | +./stack.sh:exit_trap:525 [[ -n 118236 ]]
2022-03-05 12:21:14.186 | +./stack.sh:exit_trap:525 [[ -n /opt/stack/logs/stack.sh.log.2022-03-05-121438 ]]
2022-03-05 12:21:14.196 | +./stack.sh:exit_trap:525 [[ True == \T\r\u\e ]]
2022-03-05 12:21:14.207 | +./stack.sh:exit_trap:526 echo 'exit_trap: cleaning up child processes'
2022-03-05 12:21:14.208 | exit_trap: cleaning up child processes
2022-03-05 12:21:14.218 | +./stack.sh:exit_trap:527 kill 118236
2022-03-05 12:21:14.231 | +./stack.sh:exit_trap:531 '[' -f /tmp/tmp.hRthu3yZF4 ']'
2022-03-05 12:21:14.242 | +./stack.sh:exit_trap:532 rm /tmp/tmp.hRthu3yZF4
2022-03-05 12:21:14.256 | +./stack.sh:exit_trap:536 kill_spinner
2022-03-05 12:21:14.268 | +./stack.sh:kill_spinner:431 '[' '!' -z '' ']'
2022-03-05 12:21:14.280 | +./stack.sh:exit_trap:538 [[ 1 -ne 0 ]]
2022-03-05 12:21:14.291 | +./stack.sh:exit_trap:539 echo 'Error on exit'
2022-03-05 12:21:14.291 | Error on exit
2022-03-05 12:21:14.302 | +./stack.sh:exit_trap:541 type -p generate-subunit
2022-03-05 12:21:14.314 | +./stack.sh:exit_trap:542 generate-subunit 1646482472 402 fail
2022-03-05 12:21:15.125 | +./stack.sh:exit_trap:544 [[ -z /opt/stack/logs ]]
2022-03-05 12:21:15.137 | +./stack.sh:exit_trap:547 /usr/bin/python3.8 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2022-03-05 12:21:15.335 | ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
2022-03-05 12:21:15.360 | ovs-vsctl: unix:/var/run/openvswitch/db.sock: database connection failed (No such file or directory)
2022-03-05 12:21:16.168 | +./stack.sh:exit_trap:556 exit 1

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [ ] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [ ] I have a fix to the document that I can paste below including example: input and output.

If you have a troubleshooting or support issue, use the following resources:

 - The mailing list: https://lists.openstack.org
 - IRC: 'openstack' channel on OFTC

-----------------------------------
Release: on 2022-02-05 00:26:11
SHA: ecadfb65ce38208bd3871986436777c63f309455
Source: https://opendev.org/openstack-dev/devstack/src/doc/source/guides/multinode-lab.rst
URL: https://docs.openstack.org/devstack/latest/guides/multinode-lab.html

Revision history for this message
Martin Kopec (mkopec) wrote :

Could you please provide steps you ran so that we can try to reproduce the failure? e.g what OS you were running this on? what version? what services did you enable in your local.conf file and etc

Until more info is provided, I'm gonna mark this as incomplete.

Changed in devstack:
assignee: nobody → Martin Kopec (mkopec)
importance: Undecided → Low
status: New → Incomplete
assignee: Martin Kopec (mkopec) → nobody
Revision history for this message
Aditi Tripathi (adititripathi) wrote :

I had faced issue during installation as well. I would recommend you to try reinstall the Ubuntu Vm>20.0 version. It resolved the issue for me and it got installed in one go!

Revision history for this message
Vladislav Belogrudov (vlad-belogrudov) wrote :

I've got the same with CentOS 8 Stream, used local.conf from https://opendev.org/openstack/cinder-tempest-plugin

Revision history for this message
Vladislav Belogrudov (vlad-belogrudov) wrote :

from the beginning I have installed python38, but after running stack.sh I see python3.6 installed. Keystone is installed as 3.8, while keystone service runs as 3.6. That's the problem

stack@devstack devstack]$ python3.6
Python 3.6.8 (default, Mar 25 2022, 11:15:52)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-10)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from keystone.server.wsgi import initialize_public_application
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'keystone'
>>>
[stack@devstack devstack]$ python3.8
Python 3.8.12 (default, Sep 21 2021, 00:10:52)
[GCC 8.5.0 20210514 (Red Hat 8.5.0-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from keystone.server.wsgi import initialize_public_application

Revision history for this message
Vladislav Belogrudov (vlad-belogrudov) wrote :

lib/apache installs uwsgi for 3.6, also libvirt-python is installed of the same python 3.6.. it's problem of poor 3.8 support

Revision history for this message
Martin Kopec (mkopec) wrote :

we dropped centos 8 stream support by https://review.opendev.org/c/openstack/devstack/+/839260 and also support for python3.6 has been dropped across the community.

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

Remote bug watches

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