jramnai
(JayRam Nai)
April 17, 2021, 8:48am
2
Hello @Piyush_Nikam ,
Follow the below steps to resolve the error:
Open LMS shell: make lms-shell
Move or delete this file: rm /root/.pip/pip.conf
Install setuptools_scm
: pip install setuptools_scm
Follow the same in make studio-shell
and then you can do make dev.provision.services
.
This approach helped me to figure out the same in my installation today, hope this will work for you though I was not able to find the root cause behind this (due to lack of time).
Reference for devpi:
devpi in Devstack
=================
Several tasks in Devstack require pulling fresh copies of Python packages
from PyPI. Depending on the application you are working on this can take
anywhere from a few seconds to several minutes. Additionally, those tasks
could not be done while offline due to not being able to contact PyPI.
To help speed up those tasks and bring us close to being able to use
Devstack entirely offline we have introduced a devpi PyPI cache container
to Devstack. Currently it is only configured as a package cache for LMS
and Studio, but the hope is to expand its use to the other Devstack
applications and to move to a state where it comes pre-populated with the
requirements of all Devstack applications.
In general the operation of devpi should be transparent. You may notice
some significant speedup in tox testing and ``paver update_prereqs``
operations after the first run. Container storage should persist through
``make dev.down`` and ``make dev.up.<service>`` operations.
This file has been truncated. show original
1 Like