Devstack all in one having a issue

Bug #1906367 reported by Бат-оргил Даваажанцан
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
devstack
New
Undecided
Unassigned

Bug Description

I followed https://docs.openstack.org/devstack/latest/guides/single-machine.html this link in my VM it was working before yesterday. but now it gives me error. VM is exact same as before.

When i run ./stack it gives following error:

+inc/python:setup_package:445 pip_install -e /opt/stack/keystone
Using python 3.6 to install /opt/stack/keystone
+inc/python:pip_install:193 sudo -H LC_ALL=en_US.UTF-8 SETUPTOOLS_USE_DISTUTILS=stdlib http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite python3.6 -m pip install -c /opt/stack/requirements/upper-constraints.txt -e /opt/stack/keystone
WARNING: The directory '/root/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
DEPRECATION: Constraints are only allowed to take the form of a package name and a version specifier. Other forms were originally permitted as an accident of the implementation, but were undocumented. The new implementation of the resolver no longer supports these forms. A possible replacement is replacing the constraint with a requirement.. You can find discussion regarding this at https://github.com/pypa/pip/issues/8210.
ERROR: Links are not allowed as constraints
+inc/python:pip_install:1 exit_trap
+./stack.sh:exit_trap:491 local r=1
++./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 '' ']'
+./stack.sh:exit_trap:506 kill_spinner
+./stack.sh:kill_spinner:401 '[' '!' -z '' ']'
+./stack.sh:exit_trap:508 [[ 1 -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 1606803439 288 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
+./stack.sh:exit_trap:526 exit 1

Revision history for this message
Lingxian Kong (kong) wrote :

Same here.

Revision history for this message
mohamed rhim (mohamedrhim-deactivatedaccount) wrote :

Hi

i have done a video here with all the steps to install devstack and also a solution for the issues you will face.
I used vmware workstation to create a VM and ubuntu 18.04
https://youtu.be/SYd34yuyLYk

I will enjoy your feedbacks and comments.

Best Regards
Mohamed Rhim
IT4ALL Channel

Revision history for this message
kiran pawar (kpdev) wrote :

Facing same issue

Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

This is not yet fixed but we added a workaround to cap the pip https://review.opendev.org/q/topic:%22cap-pip-23-0%22+(status:open%20OR%20status:merged)

Revision history for this message
saptarsi saha (sapo96) wrote :

Facing same issue. Did anyone solve this?

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.