running stack.sh results in error: No module named 'keyrings'

Bug #2042933 reported by Patryk Ludwikowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Unassigned

Bug Description

running ./stack.sh results in error: No module named 'keyrings'.

part of the log:
```
+lib/keystone:bootstrap_keystone:615 '[' False == True ']'

+./stack.sh:main:1138 create_keystone_accounts

+lib/keystone:create_keystone_accounts:314 local admin_project

++lib/keystone:create_keystone_accounts:315 oscwrap project show admin -f value -c id

++functions-common:oscwrap:2424 local xtrace

+++functions-common:oscwrap:2425 set +o

+++functions-common:oscwrap:2425 grep xtrace

++functions-common:oscwrap:2425 xtrace='set -o xtrace'

++functions-common:oscwrap:2426 set +o xtrace

No module named 'keyrings'

++functions-common:oscwrap:2443 return 1

+lib/keystone:create_keystone_accounts:315 admin_project=

+lib/keystone:create_keystone_accounts:1 exit_trap

+./stack.sh:exit_trap:545 local r=1

++./stack.sh:exit_trap:546 jobs -p

+./stack.sh:exit_trap:546 jobs=192607

+./stack.sh:exit_trap:549 [[ -n 192607 ]]

+./stack.sh:exit_trap:549 [[ -n '' ]]

+./stack.sh:exit_trap:555 '[' -f /tmp/tmp.zkCAPm9YUU ']'

+./stack.sh:exit_trap:556 rm /tmp/tmp.zkCAPm9YUU

+./stack.sh:exit_trap:560 kill_spinner

+./stack.sh:kill_spinner:455 '[' '!' -z '' ']'

+./stack.sh:exit_trap:562 [[ 1 -ne 0 ]]

+./stack.sh:exit_trap:563 echo 'Error on exit'

Error on exit

+./stack.sh:exit_trap:565 type -p generate-subunit

+./stack.sh:exit_trap:566 generate-subunit 1699356199 448 fail

+./stack.sh:exit_trap:568 [[ -z /opt/stack/logs ]]

+./stack.sh:exit_trap:571 /opt/stack/data/venv/bin/python3 /home/vboxuser/Desktop/devstack/tools/worlddump.py -d /opt/stack/logs

World dumping... see /opt/stack/logs/worlddump-2023-11-07-113047.txt for details

+./stack.sh:exit_trap:580 exit 1

```

Tried ./unstack.sh & ./clean.sh, no help.

Ran in Ubuntu 22.04 amd64, freshly installed & updated; inside VirtualBox 7.0.10 on Windows 10.

Revision history for this message
Patryk Ludwikowski (pludwikowski) wrote :
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

This looks similar to https://bugs.launchpad.net/devstack/+bug/2042943 and should have been resolved by a revert of the patch in question.

Changed in devstack:
status: New → Fix Released
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.