anthonynystrom / python-dev-bootstrap Goto Github PK
View Code? Open in Web Editor NEWA Vagrant VM based Python Development Bootstrap
A Vagrant VM based Python Development Bootstrap
...When I try to do the command "vagrant up" I receive this error:
There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
puppet provisioner:
The title says it all ๐
Upon downloading and doing a 'vagrant up', it is discovered that the Vagrantfile requires the following to be created:
These should probably be added to the documentation README.md
It hanged after showing this:
http://www.bpaste.net/show/URQMoA1RpCl79TjpmntR/
Any ideas on how to fix this?
โ python-dev-bootstrap git:(master) โ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:
puppet provisioner:
As a part of the part of the downloaded setup, using it the way you have configured, there are a couple of things to note that need to be documented:
Here's what I get upon vagrant up:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'PythonDevBootstrap_13_10'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: python-dev-bootstrap_default_1421932028819_79388
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 => 2222 (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Error: Connection timeout. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /share => G:/virtualbox/share
default: /vagrant => G:/python-dev-bootstrap
default: /tmp/vagrant-puppet-1/manifests => G:/python-dev-bootstrap/manifests
default: /tmp/vagrant-puppet-1/modules-0 => G:/python-dev-bootstrap/modules
==> default: Running provisioner: puppet...
The puppet
binary appears not to be in the PATH of the guest. This
could be because the PATH is not properly setup or perhaps Puppet is not
installed on this guest. Puppet provisioning can not continue without
Puppet properly installed.
KS32849@DE05236W /g/python-dev-bootstrap (master)
BTW I had to create an (empty) modules directory, since I got an error complaining it was not available.
Hi! This looks like a really promising project. Sadly, I can't get it working, even though I tried following your instructions.
In the small window that pops up I write startx, and I get a message about 'startx' not being installed and that I can install it by typing sudo apt-get isntall xinit.
Maybe you can give me some pointers by looking at the output from my console?
mair ~/projects/tutorial/python-dev-bootstrap git:(master)
โ vagrant up [9:02:56]
[default] Importing base box 'PythonDevBootstrap'...
[default] The guest additions on this VM do not match the install version of
VirtualBox! This may cause things such as forwarded ports, shared
folders, and more to not work properly. If any of those things fail on
this machine, please update the guest additions and repackage the
box.
Guest Additions Version: 4.2.0
VirtualBox Version: 4.2.4
[default] Matching MAC address for NAT networking...
[default] Clearing any previously set forwarded ports...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- v-root: /vagrant
[default] -- manifests: /tmp/vagrant-puppet/manifests
[default] -- v-pp-m0: /tmp/vagrant-puppet/modules-0
[default] Running provisioner: Vagrant::Provisioners::Puppet...
[default] Running Puppet with /tmp/vagrant-puppet/manifests/init.pp...
stdin: is not a tty
notice: /Stage[main]/Elasticsearch/File[/etc/init.d/elasticsearch]/ensure: created
err: /Stage[main]/Elasticsearch/Package[openjdk-6-jre-headless]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install openjdk-6-jre-headless' returned 100: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
ca-certificates-java icedtea-6-jre-cacao java-common libavahi-client3
libavahi-common-data libavahi-common3 libcups2 libjpeg62 libnspr4-0d
libnss3-1d libpcsclite1 openjdk-6-jre-lib tzdata tzdata-java
Suggested packages:
default-jre equivs cups-common pcscd libnss-mdns sun-java6-fonts
ttf-dejavu-extra ttf-baekmuk ttf-unfonts ttf-unfonts-core
ttf-sazanami-gothic ttf-kochi-gothic ttf-sazanami-mincho ttf-kochi-mincho
ttf-wqy-microhei ttf-wqy-zenhei ttf-indic-fonts-core ttf-telugu-fonts
ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts
The following NEW packages will be installed:
ca-certificates-java icedtea-6-jre-cacao java-common libavahi-client3
libavahi-common-data libavahi-common3 libcups2 libjpeg62 libnspr4-0d
libnss3-1d libpcsclite1 openjdk-6-jre-headless openjdk-6-jre-lib tzdata-java
The following packages will be upgraded:
tzdata
1 upgraded, 14 newly installed, 0 to remove and 35 not upgraded.
Need to get 35.9MB of archives.
After this operation, 95.6MB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main tzdata 2012e-0ubuntu0.10.04 [684kB]
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main openjdk-6-jre-lib 6b24-1.11.4-1ubuntu0.10.04.1
404 Not Found [IP: 91.189.91.15 80]
Get:2 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main tzdata-java 2012e-0ubuntu0.10.04 [147kB]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main openjdk-6-jre-lib 6b24-1.11.4-1ubuntu0.10.04.1
404 Not Found [IP: 91.189.92.184 80]
Get:3 http://us.archive.ubuntu.com/ubuntu/ lucid/main java-common 0.34 [80.3kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libavahi-common-data 0.6.25-1ubuntu6.2 [34.2kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libavahi-common3 0.6.25-1ubuntu6.2 [23.5kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libavahi-client3 0.6.25-1ubuntu6.2 [54.2kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libcups2 1.4.3-1ubuntu1.6 [218kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ lucid/main libjpeg62 6b-15ubuntu1 [88.0kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libnspr4-0d 4.8.6-0ubuntu0.10.04.2 [125kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libnss3-1d 3.12.9+ckbi-1.82-0ubuntu0.10.04.4 [1149kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main libpcsclite1 1.5.3-1ubuntu4.2 [46.1kB]
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main openjdk-6-jre-headless 6b24-1.11.4-1ubuntu0.10.04.1
404 Not Found [IP: 91.189.91.15 80]
Get:12 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main ca-certificates-java 20100406ubuntu1.1 [101kB]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main openjdk-6-jre-headless 6b24-1.11.4-1ubuntu0.10.04.1
404 Not Found [IP: 91.189.92.184 80]
Err http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main icedtea-6-jre-cacao 6b24-1.11.4-1ubuntu0.10.04.1
404 Not Found [IP: 91.189.91.15 80]
Err http://security.ubuntu.com/ubuntu/ lucid-security/main icedtea-6-jre-cacao 6b24-1.11.4-1ubuntu0.10.04.1
404 Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-lib_6b24-1.11.4-1ubuntu0.10.04.1_all.deb 404 Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/openjdk-6-jre-headless_6b24-1.11.4-1ubuntu0.10.04.1_i386.deb 404 Not Found [IP: 91.189.92.184 80]
Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/o/openjdk-6/icedtea-6-jre-cacao_6b24-1.11.4-1ubuntu0.10.04.1_i386.deb 404 Not Found [IP: 91.189.92.184 80]
Fetched 2750kB in 5s (508kB/s)
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
notice: /Stage[main]/Sql/Exec[apt-update-repo]/returns: executed successfully
notice: /Stage[main]/Mongodb/Exec[10gen-apt-key]/returns: executed successfully
notice: /Stage[main]/Mongodb/Exec[10gen-apt-repo]/returns: executed successfully
notice: /Stage[main]/Elasticsearch/Group[elasticsearch]/ensure: created
notice: /Stage[main]/Elasticsearch/File[/etc/init/elasticsearch.conf]/ensure: defined content as '{md5}90e53fe7bbf644967ed57ccb19ff8f47'
notice: /Stage[main]/Elasticsearch/User[elasticsearch]/ensure: created
notice: /Stage[main]/Elasticsearch/File[/tmp/elasticsearch-0.19.9.tar.gz]/ensure: defined content as '{md5}fbf1ca717239ee477f4742b47393b63f'
notice: /Stage[main]/Elasticsearch/Exec[/tmp/elasticsearch-0.19.9]/returns: executed successfully
notice: /Stage[main]/Elasticsearch/File[/var/log/elasticsearch]/ensure: created
notice: /Stage[main]/Elasticsearch/File[/var/lib/elasticsearch]/ensure: created
notice: /Stage[main]/Elasticsearch/File[/etc/default/elasticsearch]/ensure: defined content as '{md5}2ec44efa7338cf0056d9d55b4413af0e'
notice: /Stage[main]/Gui/Exec[apt-update-gui]/returns: executed successfully
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.