Skip to content

Instantly share code, notes, and snippets.

@pkilambi
Created March 8, 2013 16:20
Show Gist options
  • Save pkilambi/5117631 to your computer and use it in GitHub Desktop.
Save pkilambi/5117631 to your computer and use it in GitHub Desktop.
$ sudo -H puppet apply --modulepath python-django-repomgmt/puppet python-django-repomgmt/puppet/repomgmt/tests/install.pp
notice: /Stage[main]/Repomgmt::Simple/Package[devscripts]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[vsftpd]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[python-pip]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[python-novaclient]/ensure: created
err: /Stage[main]/Repomgmt::Simple/Package[django-celery]/ensure: change from absent to present failed: Execution of '/usr/bin/pip install -q django-celery' returned 1: Command /usr/bin/python -c "import setuptools;__file__='/home/pkilambi/code/build/billiard/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --single-version-externally-managed --record /tmp/pip-YmluNr-record/install-record.txt failed with error code 1 in /home/pkilambi/code/build/billiard
Storing complete log in /root/.pip/pip.log
notice: /Stage[main]/Repomgmt::Simple/File[/etc/vsftpd.conf]/content: content changed '{md5}b95bd4eef05d8db3a7f0e494723dae21' to '{md5}2def6554a06ad362b872effc457b32d5'
err: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/pip install -e git+http://github.com/sorenh/python-django-repomgmt#egg=django-repomgmt]/returns: change from notrun to 0 failed: Command exceeded timeout at /home/pkilambi/code/python-django-repomgmt/puppet/repomgmt/manifests/simple.pp:48
notice: /Stage[main]/Repomgmt::Simple/Package[ubuntu-dev-tools]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[rabbitmq-server]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[django-tastypie]/ensure: created
notice: /Stage[main]/Repomgmt::Simple/Package[south]/ensure: created
notice: /Stage[main]/Repomgmt::Simple/Exec[reload-vsftpd]: Triggered 'refresh' from 1 events
notice: /Stage[main]/Repomgmt::Simple/Package[reprepro]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[haveged]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/Package[django-registration]/ensure: created
notice: /Stage[main]/Repomgmt::Simple/Package[sbuild]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/User[ubuntu]/ensure: created
err: /Stage[main]/Repomgmt::Simple/Exec[/usr/local/bin/django-admin.py startproject buildd]/returns: change from notrun to 0 failed: Could not find command '/usr/local/bin/django-admin.py'
notice: /Stage[main]/Repomgmt::Simple/File[/home/ubuntu/buildd/buildd/settings.py]: Dependency Exec[/usr/local/bin/django-admin.py startproject buildd] has failures: true
warning: /Stage[main]/Repomgmt::Simple/File[/home/ubuntu/buildd/buildd/settings.py]: Skipping because of failed dependencies
notice: /Stage[main]/Repomgmt::Simple/File[/home/ubuntu/buildd/buildd/urls.py]: Dependency Exec[/usr/local/bin/django-admin.py startproject buildd] has failures: true
warning: /Stage[main]/Repomgmt::Simple/File[/home/ubuntu/buildd/buildd/urls.py]: Skipping because of failed dependencies
notice: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py syncdb --noinput]: Dependency Exec[/usr/local/bin/django-admin.py startproject buildd] has failures: true
warning: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py syncdb --noinput]: Skipping because of failed dependencies
notice: /Stage[main]/Repomgmt::Simple/File[/srv/ftp/incoming]/ensure: created
notice: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py migrate djcelery --noinput]: Dependency Exec[/usr/local/bin/django-admin.py startproject buildd] has failures: true
warning: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py migrate djcelery --noinput]: Skipping because of failed dependencies
notice: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py migrate repomgmt --noinput]: Dependency Exec[/usr/local/bin/django-admin.py startproject buildd] has failures: true
warning: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py migrate repomgmt --noinput]: Skipping because of failed dependencies
notice: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py migrate tastypie --noinput]: Dependency Exec[/usr/local/bin/django-admin.py startproject buildd] has failures: true
warning: /Stage[main]/Repomgmt::Simple/Exec[/usr/bin/python /home/ubuntu/buildd/manage.py migrate tastypie --noinput]: Skipping because of failed dependencies
notice: /Stage[main]/Repomgmt::Simple/Package[apache2]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Repomgmt::Simple/File[/etc/apache2/conf.d/repomgmt.conf]/ensure: defined content as '{md5}7715e8c3de92bbbcbccf6e518c864378'
notice: /Stage[main]/Repomgmt::Simple/Exec[/etc/init.d/apache2 reload]: Triggered 'refresh' from 1 events
err: /Stage[main]/Repomgmt::Simple/Package[Django]/ensure: change from absent to 1.4.3 failed: Could not update: Execution of '/usr/bin/pip install -q Django==1.4.3' returned 2: Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 104, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 245, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 985, in prepare_files
self.unpack_url(url, location, self.is_download)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1109, in unpack_url
retval = unpack_http_url(link, location, self.download_cache, self.download_dir)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 451, in unpack_http_url
download_hash = _download_url(resp, link, temp_location)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 368, in _download_url
chunk = resp.read(4096)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
File "/usr/lib/python2.7/httplib.py", line 561, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
timeout: timed out
Storing complete log in /root/.pip/pip.log
at /home/pkilambi/code/python-django-repomgmt/puppet/repomgmt/manifests/simple.pp:44
notice: Finished catalog run in 898.35 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment