[glance][devstack] Problem with stack.sh in devsatck install
hi guys: I met some problems in installing devstack . the details please refers to "Errors" listed as below. The environment: 1) Win 10 ; 2) VMware workstation ;3) ubuntu-18.04.5-desktop-amd64;4)devstack The installation processes refer to the devstack quick start (https://docs.openstack.org/devstack/latest/) Could you give me the solution to solve the problem. Error : Installing collected packages: oslo.rootwrap, retrying, os-win, oslo.privsep, os-brick, simplejson, python-cinderclient, glance-store Attempting uninstall: simplejson Found existing installation: simplejson 3.13.2 ERROR: Cannot uninstall 'simplejson'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:489 local r=1 ++./stack.sh:exit_trap:490 jobs -p +./stack.sh:exit_trap:490 jobs= +./stack.sh:exit_trap:493 [[ -n '' ]] +./stack.sh:exit_trap:499 '[' -f '' ']' +./stack.sh:exit_trap:504 kill_spinner +./stack.sh:kill_spinner:399 '[' '!' -z '' ']' +./stack.sh:exit_trap:506 [[ 1 -ne 0 ]] +./stack.sh:exit_trap:507 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:509 type -p generate-subunit +./stack.sh:exit_trap:510 generate-subunit 1589476087 780 fail +./stack.sh:exit_trap:512 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap ...
On 2020-10-18 06:02:00 +0800 (+0800), James wrote:
I met some problems in installing devstack [...] ubuntu-18.04.5-desktop-amd64 [...]
For latest versions of DevStack you'll want Ubuntu 20.04 instead, it's not necessarily expected to work on older Ubuntu versions unless you also use an older DevStack.
Attempting uninstall:+simplejson Found existing installation: simplejson 3.13.2 ERROR: Cannot uninstall 'simplejson'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall. [...]
The error you're seeing is because DevStack wants to install simplejson with pip, but there's a distro package of a different version of simplejson already present which it cannot remove. If you continue to see this error on Ubuntu 20.04, try using apt to uninstall the python3-simplejson package before starting DevStack. -- Jeremy Stanley
participants (2)
-
James
-
Jeremy Stanley