stable/mitaka installation issues
- Installed Ubuntu 16.04 Server with Gnome Desktop on a VirtualBox.
- sudo apt-get install cloud-init
git clone https://git.openstack.org/openstack-dev/devstack (https://git.openstack.org/openstack-d...) -b stable/mitaka
cd devstack
Create a local.conf file with the following contents: '[[local|localrc]]' ADMIN_PASSWORD=password DATABASE_PASSWORD=password RABBIT_PASSWORD=password SERVICE_PASSWORD=password
Open the file stack.sh with an editor, and near the top of the file, include the line FORCE=yes ./stack.sh
After this the installation breaks, have tried it number of times ..... logs are:
Collecting unittest2===1.1.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 369)) Downloading unittest2-1.1.0-py2.py3-none-any.whl (96kB) 100% |################################| 102kB 2.3MB/s Collecting python-mimeparse===1.5.1 (from -c /opt/stack/requirements/upper-constraints.txt (line 293)) Exception: Traceback (most recent call last): File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/commands/install.py", line 324, in run requirement_set.prepare_files(finder) File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/req/req_set.py", line 554, in _prepare_file require_hashes File "/opt/stack/requirements/.venv/local/lib/python2.7/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/local/lib/python2.7/site-packages/pip/wheel.py", line 68, in cached_wheel self._cache_dir, link, self._format_control, package_name) File "/opt/stack/requirements/.venv/local/lib/python2.7/site-packages/pip/wheel.py", line 129, in cached_wheel wheel_names = os.listdir(root) OSError: [Errno 13] Permission denied: '/home/stack/.cache/pip/wheels/b2/6c/da/e5c374909c73e5407c3bee7c6c36605ed16e0140acb6dbdff2' +inc/python:pip_install:1 exit_trap +./stack.sh:exit_trap:474 local r=2 ++./stack.sh:exit_trap:475 jobs -p +./stack.sh:exit_trap:475 jobs= +./stack.sh:exit_trap:478 [[ -n '' ]] +./stack.sh:exit_trap:484 kill_spinner +./stack.sh:kill_spinner:370 '[' '!' -z '' ']' +./stack.sh:exit_trap:486 [[ 2 -ne 0 ]] +./stack.sh:exit_trap:487 echo 'Error on exit' Error on exit +./stack.sh:exit_trap:488 generate-subunit 1484416956 85 fail +./stack.sh:exit_trap:489 [[ -z /opt/stack/logs ]] +./stack.sh:exit_trap:492 /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs World dumping... see /opt/stack/logs/worlddump-2017-01-14-180401.txt for details +./stack.sh:exit_trap:498 exit 2