Skip to content

Instantly share code, notes, and snippets.

@MichaelSnowden
Created January 20, 2014 10:06
Show Gist options
  • Save MichaelSnowden/8517721 to your computer and use it in GitHub Desktop.
Save MichaelSnowden/8517721 to your computer and use it in GitHub Desktop.
My second vagrant-chef debug log, meant for Will to see
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'precise32'...
[default] Matching MAC address for NAT networking...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Fixed port collision for 22 => 2222. Now on port 2200.
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2200 (adapter 1)
[default] -- 80 => 3456 (adapter 1)
[default] Running 'pre-boot' VM customizations...
[default] Booting VM...
[default] Waiting for machine to boot. This may take a few minutes...
[default] Machine booted and ready!
[default] Setting hostname...
[default] Mounting shared folders...
[default] -- /vagrant
[default] -- /tmp/vagrant-chef-1/chef-solo-2/roles
[default] -- /tmp/vagrant-chef-1/chef-solo-1/cookbooks
[default] Running provisioner: chef_solo...
Generating chef JSON and uploading...
Running chef-solo...
stdin: is not a tty
[2014-01-20T09:52:11+00:00] INFO: *** Chef 10.14.2 ***
[2014-01-20T09:52:12+00:00] INFO: Setting the run_list to ["role[example]"] from JSON
[2014-01-20T09:52:12+00:00] INFO: Run List is [role[example]]
[2014-01-20T09:52:12+00:00] INFO: Run List expands to [example::default]
[2014-01-20T09:52:12+00:00] INFO: Starting Chef Run for example
[2014-01-20T09:52:12+00:00] INFO: Running start handlers
[2014-01-20T09:52:12+00:00] INFO: Start handlers complete.
[2014-01-20T09:52:12+00:00] INFO: execute[clean it] ran successfully
[2014-01-20T09:52:21+00:00] INFO: execute[update package index] ran successfully
[2014-01-20T09:52:21+00:00] INFO: group[deploy] created
[2014-01-20T09:52:21+00:00] INFO: user[vagrant] altered
[2014-01-20T09:52:21+00:00] INFO: template[/home/vagrant/.bashrc] backed up to /var/chef/backup/home/vagrant/.bashrc.chef-20140120095221
[2014-01-20T09:52:21+00:00] INFO: template[/home/vagrant/.bashrc] updated content
[2014-01-20T09:52:21+00:00] INFO: template[/home/vagrant/.bashrc] owner changed to 1000
[2014-01-20T09:52:21+00:00] INFO: user[honza] created
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza] created directory /home/honza
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza] owner changed to 1001
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza] mode changed to 700
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza/.ssh] created directory /home/honza/.ssh
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza/.ssh] owner changed to 1001
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza/.ssh] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/home/honza/.ssh] mode changed to 700
[2014-01-20T09:52:22+00:00] INFO: template[/home/honza/.bashrc] updated content
[2014-01-20T09:52:22+00:00] INFO: template[/home/honza/.bashrc] owner changed to 1001
[2014-01-20T09:52:22+00:00] INFO: template[/home/honza/.bashrc] mode changed to 700
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/home/honza/.profile] owner changed to 1001
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/home/honza/.profile] mode changed to 700
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/home/honza/.profile] created file /home/honza/.profile
[2014-01-20T09:52:22+00:00] INFO: execute[authorized keys] ran successfully
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/etc/sudoers] backed up to /var/chef/backup/etc/sudoers.chef-20140120095222
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/etc/sudoers] mode changed to 440
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/etc/sudoers] created file /etc/sudoers
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example] created directory /opt/example
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example] owner changed to 33
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example] mode changed to 770
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps] created directory /opt/example/apps
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps] owner changed to 33
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps] mode changed to 770
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example] created directory /opt/example/apps/example
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example] owner changed to 33
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example] mode changed to 770
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/media] created directory /opt/example/apps/example/media
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/media] owner changed to 33
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/media] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/media] mode changed to 770
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/static] created directory /opt/example/apps/example/static
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/static] owner changed to 33
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/static] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/apps/example/static] mode changed to 770
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/venvs] created directory /opt/example/venvs
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/venvs] owner changed to 33
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/venvs] group changed to 123
[2014-01-20T09:52:22+00:00] INFO: directory[/opt/example/venvs] mode changed to 770
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/etc/ssh/sshd_config] backed up to /var/chef/backup/etc/ssh/sshd_config.chef-20140120095222
[2014-01-20T09:52:22+00:00] INFO: cookbook_file[/etc/ssh/sshd_config] created file /etc/ssh/sshd_config
[2014-01-20T09:52:22+00:00] INFO: execute[restart ssh] ran successfully
[2014-01-20T10:02:04+00:00] INFO: remote_file[/var/chef/cache/distribute_setup.py] updated
[2014-01-20T10:02:04+00:00] INFO: remote_file[/var/chef/cache/distribute_setup.py] mode changed to 644
[2014-01-20T10:02:08+00:00] INFO: execute[install-pip] ran successfully
[2014-01-20T10:02:09+00:00] INFO: Installing python_pip[virtualenv] version latest
[2014-01-20T10:02:13+00:00] INFO: execute[apt-get-update] ran successfully
[2014-01-20T10:02:15+00:00] INFO: package[update-notifier-common] sending run action to execute[apt-get-update] (immediate)
[2014-01-20T10:02:19+00:00] INFO: execute[apt-get-update] ran successfully
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local] created directory /var/cache/local
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local] owner changed to 0
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local] group changed to 0
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local] mode changed to 755
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local/preseeding] created directory /var/cache/local/preseeding
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local/preseeding] owner changed to 0
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local/preseeding] group changed to 0
[2014-01-20T10:02:19+00:00] INFO: directory[/var/cache/local/preseeding] mode changed to 755
[2014-01-20T10:02:23+00:00] INFO: directory[/var/log/nginx] owner changed to 33
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxensite] updated content
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxensite] owner changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxensite] group changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxensite] mode changed to 755
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxdissite] updated content
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxdissite] owner changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxdissite] group changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[/usr/sbin/nxdissite] mode changed to 755
[2014-01-20T10:02:23+00:00] INFO: template[nginx.conf] backed up to /var/chef/backup/etc/nginx/nginx.conf.chef-20140120100223
[2014-01-20T10:02:23+00:00] INFO: template[nginx.conf] updated content
[2014-01-20T10:02:23+00:00] INFO: template[nginx.conf] owner changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[nginx.conf] group changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[nginx.conf] mode changed to 644
[2014-01-20T10:02:23+00:00] INFO: template[/etc/nginx/sites-available/default] backed up to /var/chef/backup/etc/nginx/sites-available/default.chef-20140120100223
[2014-01-20T10:02:23+00:00] INFO: template[/etc/nginx/sites-available/default] updated content
[2014-01-20T10:02:23+00:00] INFO: template[/etc/nginx/sites-available/default] owner changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[/etc/nginx/sites-available/default] group changed to 0
[2014-01-20T10:02:23+00:00] INFO: template[/etc/nginx/sites-available/default] mode changed to 644
[2014-01-20T10:02:23+00:00] INFO: service[nginx] started
[2014-01-20T10:02:45+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] backed up to /var/chef/backup/etc/postgresql/9.1/main/postgresql.conf.chef-20140120100245
[2014-01-20T10:02:45+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] updated content
[2014-01-20T10:02:45+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] owner changed to 106
[2014-01-20T10:02:45+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] group changed to 113
[2014-01-20T10:02:45+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] mode changed to 600
[2014-01-20T10:02:45+00:00] INFO: template[/etc/postgresql/9.1/main/postgresql.conf] sending restart action to service[postgresql] (immediate)
[2014-01-20T10:02:48+00:00] INFO: service[postgresql] restarted
[2014-01-20T10:02:48+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] backed up to /var/chef/backup/etc/postgresql/9.1/main/pg_hba.conf.chef-20140120100248
[2014-01-20T10:02:48+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] updated content
[2014-01-20T10:02:48+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] owner changed to 106
[2014-01-20T10:02:48+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] group changed to 113
[2014-01-20T10:02:48+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] mode changed to 600
[2014-01-20T10:02:48+00:00] INFO: template[/etc/postgresql/9.1/main/pg_hba.conf] sending reload action to service[postgresql] (immediate)
[2014-01-20T10:02:48+00:00] INFO: service[postgresql] reloaded
[2014-01-20T10:02:49+00:00] INFO: bash[assign-postgres-password] ran successfully
[2014-01-20T10:02:49+00:00] INFO: Upgrading python_pip[supervisor] version from uninstalled to latest
[2014-01-20T10:02:52+00:00] INFO: directory[/etc/supervisor.d] created directory /etc/supervisor.d
[2014-01-20T10:02:52+00:00] INFO: directory[/etc/supervisor.d] owner changed to 0
[2014-01-20T10:02:52+00:00] INFO: directory[/etc/supervisor.d] group changed to 0
[2014-01-20T10:02:52+00:00] INFO: directory[/etc/supervisor.d] mode changed to 755
[2014-01-20T10:02:52+00:00] INFO: template[/etc/supervisord.conf] updated content
[2014-01-20T10:02:52+00:00] INFO: template[/etc/supervisord.conf] owner changed to 0
[2014-01-20T10:02:52+00:00] INFO: template[/etc/supervisord.conf] group changed to 0
[2014-01-20T10:02:52+00:00] INFO: template[/etc/supervisord.conf] mode changed to 644
[2014-01-20T10:02:52+00:00] INFO: directory[/var/log/supervisor] created directory /var/log/supervisor
[2014-01-20T10:02:52+00:00] INFO: directory[/var/log/supervisor] owner changed to 0
[2014-01-20T10:02:52+00:00] INFO: directory[/var/log/supervisor] group changed to 0
[2014-01-20T10:02:52+00:00] INFO: directory[/var/log/supervisor] mode changed to 755
[2014-01-20T10:02:52+00:00] INFO: template[/etc/init.d/supervisor] updated content
[2014-01-20T10:02:52+00:00] INFO: template[/etc/init.d/supervisor] owner changed to 0
[2014-01-20T10:02:52+00:00] INFO: template[/etc/init.d/supervisor] group changed to 0
[2014-01-20T10:02:52+00:00] INFO: template[/etc/init.d/supervisor] mode changed to 755
[2014-01-20T10:02:52+00:00] INFO: template[/etc/default/supervisor] updated content
[2014-01-20T10:02:52+00:00] INFO: template[/etc/default/supervisor] owner changed to 0
[2014-01-20T10:02:52+00:00] INFO: template[/etc/default/supervisor] group changed to 0
[2014-01-20T10:02:52+00:00] INFO: template[/etc/default/supervisor] mode changed to 644
[2014-01-20T10:02:52+00:00] INFO: service[supervisor] enabled
[2014-01-20T10:02:53+00:00] INFO: service[supervisor] started
[2014-01-20T10:02:53+00:00] INFO: user[redis] created
[2014-01-20T10:02:53+00:00] INFO: directory[/var/db/redis] created directory /var/db/redis
[2014-01-20T10:02:53+00:00] INFO: directory[/var/db/redis] owner changed to 998
[2014-01-20T10:02:53+00:00] INFO: directory[/var/db/redis] group changed to 998
[2014-01-20T10:02:53+00:00] INFO: directory[/var/db/redis] mode changed to 755
[2014-01-20T10:02:53+00:00] INFO: template[/etc/init/redis.conf] updated content
[2014-01-20T10:02:53+00:00] INFO: template[/etc/init/redis.conf] mode changed to 644
[2014-01-20T10:02:54+00:00] INFO: remote_file[/usr/local/src/redis-2.6.12.tar.gz] updated
[2014-01-20T10:03:21+00:00] INFO: bash[Compiling Redis v2.6.12 from source] ran successfully
[2014-01-20T10:03:21+00:00] INFO: file[/var/log/redis.log] owner changed to 998
[2014-01-20T10:03:21+00:00] INFO: file[/var/log/redis.log] group changed to 998
[2014-01-20T10:03:21+00:00] INFO: file[/var/log/redis.log] mode changed to 644
[2014-01-20T10:03:21+00:00] INFO: file[/var/log/redis.log] created file /var/log/redis.log
[2014-01-20T10:03:21+00:00] INFO: template[/etc/redis.conf] updated content
[2014-01-20T10:03:21+00:00] INFO: template[/etc/redis.conf] owner changed to 998
[2014-01-20T10:03:21+00:00] INFO: template[/etc/redis.conf] group changed to 998
[2014-01-20T10:03:21+00:00] INFO: template[/etc/redis.conf] mode changed to 644
[2014-01-20T10:03:21+00:00] INFO: execute[echo 1 > /proc/sys/vm/overcommit_memory] ran successfully
[2014-01-20T10:03:21+00:00] INFO: execute[echo 1 > /proc/sys/vm/overcommit_memory] not queuing delayed action restart on service[redis] (delayed), as it's already been queued
[2014-01-20T10:03:21+00:00] INFO: service[redis] started
[2014-01-20T10:03:21+00:00] INFO: template[/etc/supervisor.d/app.conf] updated content
[2014-01-20T10:03:21+00:00] INFO: service[supervisor] stopped
[2014-01-20T10:03:22+00:00] INFO: service[supervisor] started
[2014-01-20T10:03:22+00:00] INFO: cookbook_file[/etc/postgresql/9.1/main/pg_hba.conf] backed up to /var/chef/backup/etc/postgresql/9.1/main/pg_hba.conf.chef-20140120100322
[2014-01-20T10:03:22+00:00] INFO: cookbook_file[/etc/postgresql/9.1/main/pg_hba.conf] owner changed to 106
[2014-01-20T10:03:22+00:00] INFO: cookbook_file[/etc/postgresql/9.1/main/pg_hba.conf] created file /etc/postgresql/9.1/main/pg_hba.conf
[2014-01-20T10:03:26+00:00] INFO: execute[restart postgres] ran successfully
[2014-01-20T10:03:26+00:00] INFO: execute[create database] ran successfully
[2014-01-20T10:03:26+00:00] INFO: Creating virtualenv python_virtualenv[/opt/example/venvs/example] at /opt/example/venvs/example
================================================================================
Error executing action `run` on resource 'execute[virtualenv --python=python /opt/example/venvs/example]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of virtualenv --python=python /opt/example/venvs/example ----
STDOUT: Already using interpreter /usr/bin/python
New python executable in /opt/example/venvs/example/bin/python
Installing setuptools, pip...
Complete output from command /opt/example/venvs/example/bin/python -c "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/__init__.py", line 11, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/vcs/subversion.py", line 4, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/index.py", line 16, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/wheel.py", line 23, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py", line 15, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/resources.py", line 105, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/resources.py", line 40, in __init__
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/util.py", line 602, in get_cache_base
File "/opt/example/venvs/example/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/root/.distlib'
----------------------------------------
...Installing setuptools, pip...done.
STDERR: Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 9, in <module>
load_entry_point('virtualenv==1.11', 'console_scripts', 'virtualenv')()
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 820, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 988, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 956, in install_wheel
'PIP_NO_INDEX': '1'
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 898, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /opt/example/venvs/example/bin/python -c "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
---- End output of virtualenv --python=python /opt/example/venvs/example ----
Ran virtualenv --python=python /opt/example/venvs/example returned 1
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/virtualenv.rb
31: Chef::Log.info("Creating virtualenv #{@new_resource} at #{@new_resource.path}")
32: execute "#{virtualenv_cmd} --python=#{@new_resource.interpreter} #{@new_resource.options} #{@new_resource.path}" do
33: user new_resource.owner if new_resource.owner
34: group new_resource.group if new_resource.group
35: end
36: new_resource.updated_by_last_action(true)
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/virtualenv.rb:32:in `class_from_file'
execute("virtualenv --python=python /opt/example/venvs/example") do
retry_delay 2
user "vagrant"
returns 0
command "virtualenv --python=python /opt/example/venvs/example"
retries 0
action "run"
cookbook_name :example
group "deploy"
backup 5
end
[2014-01-20T10:03:26+00:00] ERROR: Running exception handlers
[2014-01-20T10:03:26+00:00] ERROR: Exception handlers complete
[2014-01-20T10:03:26+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-01-20T10:03:26+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[virtualenv --python=python /opt/example/venvs/example] (/tmp/vagrant-chef-1/chef-solo-1/cookbooks/python/providers/virtualenv.rb line 32) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of virtualenv --python=python /opt/example/venvs/example ----
STDOUT: Already using interpreter /usr/bin/python
New python executable in /opt/example/venvs/example/bin/python
Installing setuptools, pip...
Complete output from command /opt/example/venvs/example/bin/python -c "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/__init__.py", line 11, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/vcs/subversion.py", line 4, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/index.py", line 16, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/wheel.py", line 23, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/scripts.py", line 15, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/resources.py", line 105, in <module>
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/resources.py", line 40, in __init__
File "/usr/local/lib/python2.7/dist-packages/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/distlib/util.py", line 602, in get_cache_base
File "/opt/example/venvs/example/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/root/.distlib'
----------------------------------------
...Installing setuptools, pip...done.
STDERR: Traceback (most recent call last):
File "/usr/local/bin/virtualenv", line 9, in <module>
load_entry_point('virtualenv==1.11', 'console_scripts', 'virtualenv')()
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 820, in main
symlink=options.symlink)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 988, in create_environment
install_wheel(to_install, py_executable, search_dirs)
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 956, in install_wheel
'PIP_NO_INDEX': '1'
File "/usr/local/lib/python2.7/dist-packages/virtualenv.py", line 898, in call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /opt/example/venvs/example/bin/python -c "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1
---- End output of virtualenv --python=python /opt/example/venvs/example ----
Ran virtualenv --python=python /opt/example/venvs/example returned 1
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment