devstack on ubuntu 16.04 LTS
Step 1: Become stack user
$ sudo su
# useradd stack
# echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# su - stack
Step 2 : Install GIT
stack@surinder-Inspiron-7460:~$ ls
examples.desktop
stack@surinder-Inspiron-7460:~$ pwd
/home/stack
stack@surinder-Inspiron-7460:~$ git
The program 'git' is currently not installed. To run 'git' please ask your administrator to install the package 'git'
stack@surinder-Inspiron-7460:~$ sudo apt-get install git -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 3,760 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 git-man all 1:2.7.4-0ubuntu1 [735 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 git amd64 1:2.7.4-0ubuntu1 [3,006 kB]
Fetched 3,760 kB in 31s (121 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 208088 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ...
Unpacking liberror-perl (0.17-1.2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1_all.deb ...
Unpacking git-man (1:2.7.4-0ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.7.4-0ubuntu1_amd64.deb ...
Unpacking git (1:2.7.4-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up liberror-perl (0.17-1.2) ...
Setting up git-man (1:2.7.4-0ubuntu1) ...
Setting up git (1:2.7.4-0ubuntu1) ...
stack@surinder-Inspiron-7460:~$
Step 3 : Clone devstack repository
Step 1: Become stack user
$ sudo su
# useradd stack
# echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
# su - stack
Step 2 : Install GIT
stack@surinder-Inspiron-7460:~$ ls
examples.desktop
stack@surinder-Inspiron-7460:~$ pwd
/home/stack
stack@surinder-Inspiron-7460:~$ git
The program 'git' is currently not installed. To run 'git' please ask your administrator to install the package 'git'
stack@surinder-Inspiron-7460:~$ sudo apt-get install git -y
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
git-man liberror-perl
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
git git-man liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 3,760 kB of archives.
After this operation, 25.6 MB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 liberror-perl all 0.17-1.2 [19.6 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 git-man all 1:2.7.4-0ubuntu1 [735 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 git amd64 1:2.7.4-0ubuntu1 [3,006 kB]
Fetched 3,760 kB in 31s (121 kB/s)
Selecting previously unselected package liberror-perl.
(Reading database ... 208088 files and directories currently installed.)
Preparing to unpack .../liberror-perl_0.17-1.2_all.deb ...
Unpacking liberror-perl (0.17-1.2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../git-man_1%3a2.7.4-0ubuntu1_all.deb ...
Unpacking git-man (1:2.7.4-0ubuntu1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.7.4-0ubuntu1_amd64.deb ...
Unpacking git (1:2.7.4-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up liberror-perl (0.17-1.2) ...
Setting up git-man (1:2.7.4-0ubuntu1) ...
Setting up git (1:2.7.4-0ubuntu1) ...
stack@surinder-Inspiron-7460:~$
Step 3 : Clone devstack repository
stack@surinder-Inspiron-7460:~$ git clone https://git.openstack.org/openstack-dev/devstack
Spte 4 : create local.conf
$ cd devstack
$ cat local.conf
[[local|localrc]] FLOATING_RANGE=192.168.1.224/27 FIXED_RANGE=10.11.12.0/24 FIXED_NETWORK_SIZE=256 FLAT_INTERFACE=eth0 ADMIN_PASSWORD=supersecret DATABASE_PASSWORD=iheartdatabases RABBIT_PASSWORD=flopsymopsy SERVICE_PASSWORD=iheartksl
$
Step 5: Start stack installation
$ ./stack.sh
Step 6: Fix Permission Error
++functions-common:apt_get:1104 sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes install python-virtualenv
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
python-pip-whl python-pkg-resources python3-virtualenv virtualenv
Suggested packages:
python-setuptools
The following NEW packages will be installed:
python-pip-whl python-pkg-resources python-virtualenv python3-virtualenv virtualenv
0 upgraded, 5 newly installed, 0 to remove and 6 not upgraded.
Need to get 1313 kB of archives.
After this operation, 1988 kB of additional disk space will be used.
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.4 [1110 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 python-pkg-resources all 20.7.0-1 [108 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-virtualenv all 15.0.1+ds-3ubuntu1 [46.6 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-virtualenv all 15.0.1+ds-3ubuntu1 [43.2 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 virtualenv all 15.0.1+ds-3ubuntu1 [4342 B]
Fetched 1313 kB in 38s (34.0 kB/s)
Selecting previously unselected package python-pip-whl.
(Reading database ... 217306 files and directories currently installed.)
Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
Selecting previously unselected package python-pkg-resources.
Preparing to unpack .../python-pkg-resources_20.7.0-1_all.deb ...
Unpacking python-pkg-resources (20.7.0-1) ...
Selecting previously unselected package python-virtualenv.
Preparing to unpack .../python-virtualenv_15.0.1+ds-3ubuntu1_all.deb ...
Unpacking python-virtualenv (15.0.1+ds-3ubuntu1) ...
Selecting previously unselected package python3-virtualenv.
Preparing to unpack .../python3-virtualenv_15.0.1+ds-3ubuntu1_all.deb ...
Unpacking python3-virtualenv (15.0.1+ds-3ubuntu1) ...
Selecting previously unselected package virtualenv.
Preparing to unpack .../virtualenv_15.0.1+ds-3ubuntu1_all.deb ...
Unpacking virtualenv (15.0.1+ds-3ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
Setting up python-pkg-resources (20.7.0-1) ...
Setting up python-virtualenv (15.0.1+ds-3ubuntu1) ...
Setting up python3-virtualenv (15.0.1+ds-3ubuntu1) ...
Setting up virtualenv (15.0.1+ds-3ubuntu1) ...
++functions-common:apt_get:1108 result=0
++functions-common:apt_get:1111 time_stop apt-get
++functions-common:time_stop:2402 local name
++functions-common:time_stop:2403 local end_time
++functions-common:time_stop:2404 local elapsed_time
++functions-common:time_stop:2405 local total
++functions-common:time_stop:2406 local start_time
++functions-common:time_stop:2408 name=apt-get
++functions-common:time_stop:2409 start_time=1488295988
++functions-common:time_stop:2411 [[ -z 1488295988 ]]
+++functions-common:time_stop:2414 date +%s
++functions-common:time_stop:2414 end_time=1488296039
++functions-common:time_stop:2415 elapsed_time=51
++functions-common:time_stop:2416 total=828
++functions-common:time_stop:2418 _TIME_START[$name]=
++functions-common:time_stop:2419 _TIME_TOTAL[$name]=879
++functions-common:apt_get:1112 return 0
++tools/fixup_stuff.sh:source:172 pip_install -U --force-reinstall virtualenv
++inc/python:pip_install:119 local xtrace result
+++inc/python:pip_install:120 set +o
+++inc/python:pip_install:120 grep xtrace
++inc/python:pip_install:120 xtrace='set -o xtrace'
++inc/python:pip_install:121 set +o xtrace
++inc/python:pip_install:222 sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /usr/local/bin/pip2.7 install -c /opt/stack/requirements/upper-constraints.txt -U --force-reinstall virtualenv
Ignoring jsbeautifier: markers 'python_version == "3.4"' don't match your environment
Ignoring jsbeautifier: markers 'python_version == "3.5"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.4"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.5"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.4"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.5"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.4"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.5"' don't match your environment
Ignoring tornado: markers 'python_version == "3.4"' don't match your environment
Ignoring tornado: markers 'python_version == "3.5"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.4"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.5"' don't match your environment
Ignoring html2text: markers 'python_version == "3.4"' don't match your environment
Ignoring html2text: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring hpack: markers 'python_version == "3.4"' don't match your environment
Ignoring hpack: markers 'python_version == "3.5"' don't match your environment
Ignoring pyperclip: markers 'python_version == "3.4"' don't match your environment
Ignoring pyperclip: markers 'python_version == "3.5"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.4"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.5"' don't match your environment
Ignoring urwid: markers 'python_version == "3.4"' don't match your environment
Ignoring urwid: markers 'python_version == "3.5"' don't match your environment
Ignoring argh: markers 'python_version == "3.4"' don't match your environment
Ignoring argh: markers 'python_version == "3.5"' don't match your environment
Ignoring blinker: markers 'python_version == "3.4"' don't match your environment
Ignoring blinker: markers 'python_version == "3.5"' don't match your environment
Ignoring h2: markers 'python_version == "3.4"' don't match your environment
Ignoring h2: markers 'python_version == "3.5"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.4"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.5"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.4"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.5"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.4"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.5"' don't match your environment
Ignoring backports-abc: markers 'python_version == "3.4"' don't match your environment
Ignoring backports-abc: markers 'python_version == "3.5"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.4"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.5"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.4"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.5"' don't match your environment
Collecting virtualenv===15.1.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 491))
Downloading virtualenv-15.1.0-py2.py3-none-any.whl (1.8MB)
100% |################################| 1.8MB 482kB/s
Installing collected packages: virtualenv
Found existing installation: virtualenv 15.0.1
Uninstalling virtualenv-15.0.1:
Successfully uninstalled virtualenv-15.0.1
Successfully installed virtualenv-15.1.0
++inc/python:pip_install:229 result=0
++inc/python:pip_install:232 local test_req=virtualenv/test-requirements.txt
++inc/python:pip_install:233 [[ 0 == 0 ]]
++inc/python:pip_install:233 [[ -e virtualenv/test-requirements.txt ]]
++inc/python:pip_install:245 time_stop pip_install
++functions-common:time_stop:2402 local name
++functions-common:time_stop:2403 local end_time
++functions-common:time_stop:2404 local elapsed_time
++functions-common:time_stop:2405 local total
++functions-common:time_stop:2406 local start_time
++functions-common:time_stop:2408 name=pip_install
++functions-common:time_stop:2409 start_time=1488296039
++functions-common:time_stop:2411 [[ -z 1488296039 ]]
+++functions-common:time_stop:2414 date +%s
++functions-common:time_stop:2414 end_time=1488296042
++functions-common:time_stop:2415 elapsed_time=3
++functions-common:time_stop:2416 total=15
++functions-common:time_stop:2418 _TIME_START[$name]=
++functions-common:time_stop:2419 _TIME_TOTAL[$name]=18
++inc/python:pip_install:246 return 0
+./stack.sh:main:756 install_infra
+lib/infra:install_infra:31 local PIP_VIRTUAL_ENV=/opt/stack/requirements/.venv
+lib/infra:install_infra:32 '[' '!' -d /opt/stack/requirements/.venv ']'
+lib/infra:install_infra:32 virtualenv /opt/stack/requirements/.venv
New python executable in /opt/stack/requirements/.venv/bin/python
Installing setuptools, pip, wheel...done.
+lib/infra:install_infra:34 PIP_VIRTUAL_ENV=/opt/stack/requirements/.venv
+lib/infra:install_infra:34 pip_install -U pbr
+inc/python:pip_install:119 local xtrace result
++inc/python:pip_install:120 set +o
++inc/python:pip_install:120 grep xtrace
+inc/python:pip_install:120 xtrace='set -o xtrace'
+inc/python:pip_install:121 set +o xtrace
+inc/python:pip_install:222 env http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /opt/stack/requirements/.venv/bin/pip install -c /opt/stack/requirements/upper-constraints.txt -U pbr
The directory '/home/stack/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/stack/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Ignoring jsbeautifier: markers 'python_version == "3.4"' don't match your environment
Ignoring jsbeautifier: markers 'python_version == "3.5"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.4"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.5"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.4"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.5"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.4"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.5"' don't match your environment
Ignoring tornado: markers 'python_version == "3.4"' don't match your environment
Ignoring tornado: markers 'python_version == "3.5"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.4"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.5"' don't match your environment
Ignoring html2text: markers 'python_version == "3.4"' don't match your environment
Ignoring html2text: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring hpack: markers 'python_version == "3.4"' don't match your environment
Ignoring hpack: markers 'python_version == "3.5"' don't match your environment
Ignoring pyperclip: markers 'python_version == "3.4"' don't match your environment
Ignoring pyperclip: markers 'python_version == "3.5"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.4"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.5"' don't match your environment
Ignoring urwid: markers 'python_version == "3.4"' don't match your environment
Ignoring urwid: markers 'python_version == "3.5"' don't match your environment
Ignoring argh: markers 'python_version == "3.4"' don't match your environment
Ignoring argh: markers 'python_version == "3.5"' don't match your environment
Ignoring blinker: markers 'python_version == "3.4"' don't match your environment
Ignoring blinker: markers 'python_version == "3.5"' don't match your environment
Ignoring h2: markers 'python_version == "3.4"' don't match your environment
Ignoring h2: markers 'python_version == "3.5"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.4"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.5"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.4"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.5"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.4"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.5"' don't match your environment
Ignoring backports-abc: markers 'python_version == "3.4"' don't match your environment
Ignoring backports-abc: markers 'python_version == "3.5"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.4"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.5"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.4"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.5"' don't match your environment
Collecting pbr===1.10.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 35))
Downloading pbr-1.10.0-py2.py3-none-any.whl (96kB)
100% |################################| 102kB 650kB/s
Installing collected packages: pbr
Successfully installed pbr-1.10.0
+inc/python:pip_install:229 result=0
+inc/python:pip_install:232 local test_req=pbr/test-requirements.txt
+inc/python:pip_install:233 [[ 0 == 0 ]]
+inc/python:pip_install:233 [[ -e pbr/test-requirements.txt ]]
+inc/python:pip_install:245 time_stop pip_install
+functions-common:time_stop:2402 local name
+functions-common:time_stop:2403 local end_time
+functions-common:time_stop:2404 local elapsed_time
+functions-common:time_stop:2405 local total
+functions-common:time_stop:2406 local start_time
+functions-common:time_stop:2408 name=pip_install
+functions-common:time_stop:2409 start_time=1488296051
+functions-common:time_stop:2411 [[ -z 1488296051 ]]
++functions-common:time_stop:2414 date +%s
+functions-common:time_stop:2414 end_time=1488296054
+functions-common:time_stop:2415 elapsed_time=3
+functions-common:time_stop:2416 total=18
+functions-common:time_stop:2418 _TIME_START[$name]=
+functions-common:time_stop:2419 _TIME_TOTAL[$name]=21
+inc/python:pip_install:246 return 0
+lib/infra:install_infra:35 PIP_VIRTUAL_ENV=/opt/stack/requirements/.venv
+lib/infra:install_infra:35 pip_install /opt/stack/requirements
+inc/python:pip_install:119 local xtrace result
++inc/python:pip_install:120 set +o
++inc/python:pip_install:120 grep xtrace
+inc/python:pip_install:120 xtrace='set -o xtrace'
+inc/python:pip_install:121 set +o xtrace
+inc/python:pip_install:222 env http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= SETUPTOOLS_SYS_PATH_TECHNIQUE=rewrite /opt/stack/requirements/.venv/bin/pip install -c /opt/stack/requirements/upper-constraints.txt /opt/stack/requirements
The directory '/home/stack/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/stack/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Ignoring jsbeautifier: markers 'python_version == "3.4"' don't match your environment
Ignoring jsbeautifier: markers 'python_version == "3.5"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.4"' don't match your environment
Ignoring hyperframe: markers 'python_version == "3.5"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.4"' don't match your environment
Ignoring cssutils: markers 'python_version == "3.5"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.4"' don't match your environment
Ignoring kaitaistruct: markers 'python_version == "3.5"' don't match your environment
Ignoring tornado: markers 'python_version == "3.4"' don't match your environment
Ignoring tornado: markers 'python_version == "3.5"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.4"' don't match your environment
Ignoring ruamel.yaml: markers 'python_version == "3.5"' don't match your environment
Ignoring html2text: markers 'python_version == "3.4"' don't match your environment
Ignoring html2text: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring hpack: markers 'python_version == "3.4"' don't match your environment
Ignoring hpack: markers 'python_version == "3.5"' don't match your environment
Ignoring pyperclip: markers 'python_version == "3.4"' don't match your environment
Ignoring pyperclip: markers 'python_version == "3.5"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.4"' don't match your environment
Ignoring brotlipy: markers 'python_version == "3.5"' don't match your environment
Ignoring urwid: markers 'python_version == "3.4"' don't match your environment
Ignoring urwid: markers 'python_version == "3.5"' don't match your environment
Ignoring argh: markers 'python_version == "3.4"' don't match your environment
Ignoring argh: markers 'python_version == "3.5"' don't match your environment
Ignoring blinker: markers 'python_version == "3.4"' don't match your environment
Ignoring blinker: markers 'python_version == "3.5"' don't match your environment
Ignoring h2: markers 'python_version == "3.4"' don't match your environment
Ignoring h2: markers 'python_version == "3.5"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.4"' don't match your environment
Ignoring mitmproxy: markers 'python_version == "3.5"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.4"' don't match your environment
Ignoring EditorConfig: markers 'python_version == "3.5"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.4"' don't match your environment
Ignoring watchdog: markers 'python_version == "3.5"' don't match your environment
Ignoring backports-abc: markers 'python_version == "3.4"' don't match your environment
Ignoring backports-abc: markers 'python_version == "3.5"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.4"' don't match your environment
Ignoring pathtools: markers 'python_version == "3.5"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.4"' don't match your environment
Ignoring sortedcontainers: markers 'python_version == "3.5"' don't match your environment
Processing /opt/stack/requirements
Collecting fixtures===3.0.0 (from -c /opt/stack/requirements/upper-constraints.txt (line 46))
Downloading fixtures-3.0.0-py2.py3-none-any.whl (67kB)
100% |################################| 71kB 556kB/s
Collecting PyYAML===3.12 (from -c /opt/stack/requirements/upper-constraints.txt (line 149))
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/2c/f7/79/13f3a12cd723892437c0cfbde1230ab4d82947ff7b3839a4fc'
+inc/python:pip_install:1 exit_trap
+./stack.sh:exit_trap:487 local r=2
++./stack.sh:exit_trap:488 jobs -p
+./stack.sh:exit_trap:488 jobs=
+./stack.sh:exit_trap:491 [[ -n '' ]]
+./stack.sh:exit_trap:497 kill_spinner
+./stack.sh:kill_spinner:383 '[' '!' -z '' ']'
+./stack.sh:exit_trap:499 [[ 2 -ne 0 ]]
+./stack.sh:exit_trap:500 echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:501 generate-subunit 1488294777 1280 fail
+./stack.sh:exit_trap:502 [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:505 /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2017-02-28-153417.txt for details
+./stack.sh:exit_trap:511 exit 2
stack@surinder-Inspiron-7460:~/devstack$
Step 7 Fix:
==========
The directory '/home/stack/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/stack/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Changed ownership of /home/stack/.pip from root:root to stack:stack
and restart stack.sh
Step 8 Information:
===================
+./stack.sh:main:1410 set +o xtrace ========================= DevStack Component Timing ========================= Total runtime 7167 run_process 57 test_with_retry 8 apt-get-update 26 pip_install 478 restart_apache_server 19 wait_for_service 20 git_timed 2511 apt-get 967 ========================= This is your host IP address: 192.168.0.103 This is your host IPv6 address: ::1 Horizon is now available at http://192.168.0.103/dashboard Keystone is serving at http://192.168.0.103/identity/ The default users are: admin and demo The password: supersecret 2017-02-28 17:54:23.661 | WARNING: 2017-02-28 17:54:23.661 | Using lib/neutron-legacy is deprecated, and it will be removed in the future 2017-02-28 17:54:23.661 | stack.sh completed in 7167 seconds. stack@surinder-Inspiron-7460:~/devstack$