problem with instalaltion of openstack

asked 2020-05-07 07:48:47 -0500

kokolaki gravatar image

I try to isntall opestack with the istructions of that exist here: https://docs.openstack.org/devstack/latest/ (https://docs.openstack.org/devstack/l...) on Ubuntu 18.04. I have the following problem when execute ./stack.sh

Exception: Traceback (most recent call last): File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/commands/install.py", line 342, in run requirement_set.prepare_files(finder) File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/req/req_set.py", line 554, in _prepare_file require_hashes File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/req/req_install.py", line 281, in populate_link self.link = self._wheel_cache.cached_wheel(self.link, self.name) File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/wheel.py", line 68, in cached_wheel self._cache_dir, link, self._format_control, package_name) File "/opt/stack/requirements/.venv/lib/python3.6/site-packages/pip/wheel.py", line 129, in cached_wheel wheel_names = os.listdir(root) PermissionError: [Errno 13] Permission denied: '/opt/stack/.cache/pip/wheels/a7/c1/ea/cf5bd31012e735dc1dfea3131a2d5eae7978b251083d6247bd' Can anyone help?

edit retag flag offensive close merge delete

Comments

It seems that user privilege isn't appropriate. Did you do something like "add stack user" before starting to install DevStack?

ting gravatar imageting ( 2020-05-07 21:07:13 -0500 )edit

Change the permissions of the file you want to save it to ensure that all users have read and write permissions.

thenextgeneration gravatar imagethenextgeneration ( 2020-05-08 17:37:43 -0500 )edit