Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stack.sh fails on Ubuntu 16 - virtualenv #2

Closed
noelmcloughlin opened this issue Aug 26, 2018 · 2 comments
Closed

stack.sh fails on Ubuntu 16 - virtualenv #2

noelmcloughlin opened this issue Aug 26, 2018 · 2 comments

Comments

@noelmcloughlin
Copy link
Member

Maybe new state is needed for virtualenv stuff before stack.sh ?

+?[38;5;242mlib/infra:install_infra:32               ?(B?[m virtualenv /opt/stack/requirements/.venv
                  New python executable in /opt/stack/requirements/.venv/bin/python
                  Installing setuptools, pip, wheel...
                    Complete output from command /opt/stack/requirements/.venv/bin/python - setuptools pip wheel:
                    The directory '/opt/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 '/opt/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.
                  Looking in links: /usr/local/lib/python2.7/dist-packages, /usr/local/lib/python2.7/dist-packages/virtualenv_support, /usr/local/lib/python2.7/dist-packages/virtualenv_support
                  Collecting setuptools
                  Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/opt/stack/.cache/pip/wheels/51/c2/11/8081af65de71268de9f8e168c0fdc4a4a7f9971e4610074bb5'
                  Consider using the `--user` option or check the permissions.
                  
                  ----------------------------------------
                  ...Installing setuptools, pip, wheel...done.
                  Traceback (most recent call last):
                    File "/usr/local/bin/virtualenv", line 11, in <module>
@noelmcloughlin
Copy link
Member Author

noelmcloughlin commented Aug 26, 2018

Issue was not seen with Fedora 27

Building wheels for collected packages: osc-lib, simplejson, warlock
                    Running setup.py bdist_wheel for osc-lib: started
                    Running setup.py bdist_wheel for osc-lib: finished with status 'done'
                    Stored in directory: /root/.cache/pip/wheels/bd/f2/54/855abb6408f8b051a69405ef22159b477325aabd945fd8b6df
                    Running setup.py bdist_wheel for simplejson: started
                    Running setup.py bdist_wheel for simplejson: finished with status 'done'
                    Stored in directory: /root/.cache/pip/wheels/5d/1a/1e/0350bb3df3e74215cd91325344cc86c2c691f5306eb4d22c77
                    Running setup.py bdist_wheel for warlock: started
                    Running setup.py bdist_wheel for warlock: finished with status 'done'
                    Stored in directory: /root/.cache/pip/wheels/f8/24/32/3984959f3aa50c103729a8a5eab58331c65a3506d84012a271
                  Successfully built osc-lib simplejson warlock
                  Installing collected packages: simplejson, osc-lib, python-cinderclient, warlock, python-glanceclient, python-novaclient, python-openstackclient
                  Successfully installed osc-lib-1.11.1 python-cinderclient-4.0.1 python-glanceclient-2.12.1 python-novaclient-11.0.0 python-openstackclient-3.16.0 simplejson-3.16.0 warlock-1.3.0
                  You are using pip version 9.0.3, however version 18.0 is available.

@noelmcloughlin noelmcloughlin changed the title stack.sh fails on Ubuntu 16 stack.sh fails on Ubuntu 16 - virtualenv Aug 26, 2018
@noelmcloughlin
Copy link
Member Author

working now.

                  =========================
                  DevStack Component Timing
                   (times are in seconds)
                  =========================
                  run_process            0
                  apt-get-update         6
                  pip_install          265
                  osc                   32
                  wait_for_service       1
                  git_timed             76
                  dbsync                 3
                  apt-get                1
                  -------------------------
                  Unaccounted time      70
                  =========================
                  Total runtime        454



                  This is your host IP address: 127.0.0.1
                  This is your host IPv6 address: ['::1', 'fe80::38:7ff:fe4c:8285', 'fe80::a00:27ff:fe5d:70a5']
                  Keystone is serving at http://127.0.0.1/identity/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant