openruko / vagrant-openruko

Vagrant template to create a fully running openruko VM.
65 stars 15 forks source link

Unable to contact build server #12

Closed natea closed 11 years ago

natea commented 11 years ago

I followed the instructions in the README and got the Vagrant box built, but when I try to deploy the sample app, the following error occurs:

vagrant@precise64:~$ mkdir myapp
vagrant@precise64:~$ cd myapp/
vagrant@precise64:~/myapp$ git init
Initialized empty Git repository in /home/vagrant/myapp/.git/
vagrant@precise64:~/myapp$ npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sane defaults.

See `npm help json` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
name: (myapp) 
version: (0.0.0) 
description: 
entry point: (index.js) 
test command: 
git repository: 
keywords: 
author: 
license: (BSD) 
About to write to /home/vagrant/myapp/package.json:

{
  "name": "myapp",
  "version": "0.0.0",
  "description": "ERROR: No README.md file found!",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": "",
  "author": "",
  "license": "BSD"
}

Is this ok? (yes) y
npm WARN package.json myapp@0.0.0 No README.md file found!
vagrant@precise64:~/myapp$ cat > index.js << EOF
> var http = require('http');
> http.createServer(function (req, res) {
> res.writeHead(200, {'Content-Type': 'text/plain'});
> res.end('Hello World\n');
> }).listen(process.env.PORT);
> console.log('Server running');
> EOF
vagrant@precise64:~/myapp$ cat > Procfile << EOF
> web: node index.js
> EOF
vagrant@precise64:~/myapp$ git add -A
vagrant@precise64:~/myapp$ git commit -m 'first commit'
[master (root-commit) 5390538] first commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 3 files changed, 19 insertions(+)
 create mode 100644 Procfile
 create mode 100644 index.js
 create mode 100644 package.json
vagrant@precise64:~/myapp$ ~/openruko/client/openruko create myapp
Creating myapp... done, stack is cedar
http://myapp.mymachine.me/ | git@mymachine.me:myapp.git
Git remote heroku added
vagrant@precise64:~/myapp$ git push heroku master

 ! Unable to contact build server.

fatal: The remote end hung up unexpectedly

Do I need to set up something in the /etc/hosts so it knows how to find mymachine.me?

Filirom1 commented 11 years ago

It looks like gitmouth is unable to contact apiserver.

I need to take some times to check if vagrant-openruko is working.

Could you try several things :

first check apiserver is working

vagrant ssh
curl -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=abc

then reinstall gitmouth

vagrant ssh
cd ~/openruko
rm -fr gitmouth
git clone https://github.com/openruko/gitmouth
cd gitmouth
make init
make certs
sudo stop openruko
sudo start openruko

And try again

natea commented 11 years ago

Ok, I did what you suggested, but it's still complaining about a bad certificate:

vagrant@precise64:~$ cd myapp/
vagrant@precise64:~/myapp$ git push heroku master
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
vagrant@precise64:~/myapp$ ls
index.js  package.json  Procfile
vagrant@precise64:~/myapp$ curl -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=abc
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
vagrant@precise64:~/myapp$ cd ~/openruko/
vagrant@precise64:~/openruko$ rm -fr gitmouth/
vagrant@precise64:~/openruko$ git clone https://github.com/openruko/gitmouth
Cloning into 'gitmouth'...
remote: Counting objects: 106, done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 106 (delta 50), reused 80 (delta 24)
Receiving objects: 100% (106/106), 18.82 KiB, done.
Resolving deltas: 100% (50/50), done.
vagrant@precise64:~/openruko$ cd gitmouth/
vagrant@precise64:~/openruko/gitmouth$ make init
bash -c 'virtualenv --distribute . && source bin/activate && python setup.py develop'
New python executable in ./bin/python
Installing distribute...........................................................................................................................................................................................................................done.
Installing pip................done.
running develop
running egg_info
creating openruko_gitmouth.egg-info
writing requirements to openruko_gitmouth.egg-info/requires.txt
writing openruko_gitmouth.egg-info/PKG-INFO
writing top-level names to openruko_gitmouth.egg-info/top_level.txt
writing dependency_links to openruko_gitmouth.egg-info/dependency_links.txt
writing manifest file 'openruko_gitmouth.egg-info/SOURCES.txt'
reading manifest file 'openruko_gitmouth.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '__pycache__' found under directory '*'
warning: no previously-included files matching '*.py[co]' found under directory '*'
writing manifest file 'openruko_gitmouth.egg-info/SOURCES.txt'
running build_ext
Creating /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/openruko-gitmouth.egg-link (link to .)
Adding openruko-gitmouth 1.0.aplha.1 to easy-install.pth file
Installing gitmouth script to /home/vagrant/openruko/gitmouth/bin

Installed /home/vagrant/openruko/gitmouth
Processing dependencies for openruko-gitmouth==1.0.aplha.1
Searching for zope.interface==4.0.1
Reading http://pypi.python.org/simple/zope.interface/
Best match: zope.interface 4.0.1
Downloading http://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.0.1.tar.gz#md5=d171f8f8a6997409c7680f1dbb3b7e45
Processing zope.interface-4.0.1.tar.gz
Writing /tmp/easy_install-uwZQxY/zope.interface-4.0.1/setup.cfg
Running zope.interface-4.0.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-uwZQxY/zope.interface-4.0.1/egg-dist-tmp-XLkTdP
Adding zope.interface 4.0.1 to easy-install.pth file

Installed /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/zope.interface-4.0.1-py2.7-linux-x86_64.egg
Searching for pycrypto==2.6
Reading http://pypi.python.org/simple/pycrypto/
Reading http://pycrypto.sourceforge.net
Reading http://www.pycrypto.org/
Reading http://www.amk.ca/python/code/crypto
Best match: pycrypto 2.6
Downloading https://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.6.tar.gz
Processing pycrypto-2.6.tar.gz
Writing /tmp/easy_install-k4c1Go/pycrypto-2.6/setup.cfg
Running pycrypto-2.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-k4c1Go/pycrypto-2.6/egg-dist-tmp-4nHZmT
warning: GMP or MPIR library not found; Not building Crypto.PublicKey._fastmath.
zip_safe flag not set; analyzing archive contents...
Adding pycrypto 2.6 to easy-install.pth file

Installed /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/pycrypto-2.6-py2.7-linux-x86_64.egg
Searching for pyasn1==0.1.3
Reading http://pypi.python.org/simple/pyasn1/
Best match: pyasn1 0.1.3
Downloading http://pypi.python.org/packages/2.7/p/pyasn1/pyasn1-0.1.3-py2.7.egg#md5=8ac024c87c89b5c8444839ddb7527940
Processing pyasn1-0.1.3-py2.7.egg
creating /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/pyasn1-0.1.3-py2.7.egg
Extracting pyasn1-0.1.3-py2.7.egg to /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages
Adding pyasn1 0.1.3 to easy-install.pth file

Installed /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/pyasn1-0.1.3-py2.7.egg
Searching for pyOpenSSL==0.13
Reading http://pypi.python.org/simple/pyOpenSSL/
Reading http://pyopenssl.sourceforge.net/
Reading http://launchpad.net/pyopenssl
Best match: pyOpenSSL 0.13
Downloading http://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.13.tar.gz#md5=767bca18a71178ca353dff9e10941929
Processing pyOpenSSL-0.13.tar.gz
Writing /tmp/easy_install-NC3bpk/pyOpenSSL-0.13/setup.cfg
Running pyOpenSSL-0.13/setup.py -q bdist_egg --dist-dir /tmp/easy_install-NC3bpk/pyOpenSSL-0.13/egg-dist-tmp-4imCqd
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Adding pyOpenSSL 0.13 to easy-install.pth file

Installed /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/pyOpenSSL-0.13-py2.7-linux-x86_64.egg
Searching for Twisted==12.1.0
Reading http://pypi.python.org/simple/Twisted/
Reading http://twistedmatrix.com/
Reading http://www.twistedmatrix.com
Reading http://twistedmatrix.com/products/download
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/9.0/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/10.0/
Reading http://twistedmatrix.com/projects/core/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/
Reading http://tmrc.mit.edu/mirror/twisted/Twisted/8.1/
Best match: Twisted 12.1.0
Downloading http://pypi.python.org/packages/source/T/Twisted/Twisted-12.1.0.tar.bz2#md5=f396f1d6f5321e869c2f89b2196a9eb5
Processing Twisted-12.1.0.tar.bz2
Writing /tmp/easy_install-waPTxw/Twisted-12.1.0/setup.cfg
Running Twisted-12.1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-waPTxw/Twisted-12.1.0/egg-dist-tmp-c54Fow
In file included from /usr/include/python2.7/Python.h:8:0,
                 from twisted/internet/_sigchld.c:9:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
/usr/include/features.h:215:0: note: this is the location of the previous definition
twisted/internet/_sigchld.c: In function 'got_signal':
twisted/internet/_sigchld.c:15:9: warning: variable 'ignored_result' set but not used [-Wunused-but-set-variable]
Adding Twisted 12.1.0 to easy-install.pth file
Installing trial script to /home/vagrant/openruko/gitmouth/bin
Installing pyhtmlizer script to /home/vagrant/openruko/gitmouth/bin
Installing lore script to /home/vagrant/openruko/gitmouth/bin
Installing ckeygen script to /home/vagrant/openruko/gitmouth/bin
Installing mailmail script to /home/vagrant/openruko/gitmouth/bin
Installing conch script to /home/vagrant/openruko/gitmouth/bin
Installing manhole script to /home/vagrant/openruko/gitmouth/bin
Installing twistd script to /home/vagrant/openruko/gitmouth/bin
Installing tap2deb script to /home/vagrant/openruko/gitmouth/bin
Installing tkconch script to /home/vagrant/openruko/gitmouth/bin
Installing tapconvert script to /home/vagrant/openruko/gitmouth/bin
Installing cftp script to /home/vagrant/openruko/gitmouth/bin
Installing tap2rpm script to /home/vagrant/openruko/gitmouth/bin

Installed /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/Twisted-12.1.0-py2.7-linux-x86_64.egg
Searching for wsgiref==0.1.2
Best match: wsgiref 0.1.2
Adding wsgiref 0.1.2 to easy-install.pth file

Using /usr/lib/python2.7
Searching for distribute==0.6.34
Best match: distribute 0.6.34
Processing distribute-0.6.34-py2.7.egg
distribute 0.6.34 is already the active version in easy-install.pth
Installing easy_install script to /home/vagrant/openruko/gitmouth/bin
Installing easy_install-2.7 script to /home/vagrant/openruko/gitmouth/bin

Using /home/vagrant/openruko/gitmouth/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg
Finished processing dependencies for openruko-gitmouth==1.0.aplha.1
Optionally run make certs to generate test certs
vagrant@precise64:~/openruko/gitmouth$ make certs
mkdir -p certs/
Do not use a passphrase for temporary certs
ssh-keygen -t rsa -f certs/server.key
Generating public/private rsa key pair.
Enter passphrase (empty for no passphrase): 
Enter same passphrase again: 
Your identification has been saved in certs/server.key.
Your public key has been saved in certs/server.key.pub.
The key fingerprint is:
98:0e:43:45:20:19:78:1b:21:22:1b:2e:ee:f0:e4:3e vagrant@precise64
The key's randomart image is:
+--[ RSA 2048]----+
|=.++.oo          |
|=++. .           |
|oo o.            |
|o ..   o         |
|... o o S        |
|o+   +           |
| .o   .          |
| .E              |
|  ..             |
+-----------------+
Temporary certs have been setup in certs/ directory
vagrant@precise64:~/openruko/gitmouth$ curl -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=abc
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
Filirom1 commented 11 years ago

Could use curl with --insecure options. The certificate is self signed.

Once done, could you try a git push heroku master with new new gitmouth ?

natea commented 11 years ago

Now it doesn't seem to be able to find the key: I tried both 'abc' and the fingerprint that was generated after running make certs: 98:0e:43:45:20:19:78:1b:21:22:1b:2e:ee:f0:e4:3e

vagrant@precise64:~/openruko/gitmouth$ curl --insecure -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=abc
{"error":"Fingerprint abc not found."}vagrant@precise64:~/openruko/gitmouth$ 
vagrant@precise64:~/openruko/gitmouth$ curl --insecure -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=abc
vagrant@precise64:~/openruko/gitmouth$ curl -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=98:0e:43:45:20:19:78:1b:21:22:1b:2e:ee:f0:e4:3e
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.
vagrant@precise64:~/openruko/gitmouth$ curl --insecure -u":$APISERVER_KEY" https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=98:0e:43:45:20:19:78:1b:21:22:1b:2e:ee:f0:e4:3e
{"error":"Fingerprint 98:0e:43:45:20:19:78:1b:21:22:1b:2e:ee:f0:e4:3e not found."}
Filirom1 commented 11 years ago

Ok so apiserver is up and respond to https requests.

You clone the latest gitmouth that will do an https request (the same than the curl but with a valid fingerprint).

It means that there is a bug on gitmouth. It is unable to contact apiserver. I will try try to reproduce it at home as soon as I have free time...

natea commented 11 years ago

OK, thanks for the explanation. On Apr 8, 2013 1:00 PM, "Romain" notifications@github.com wrote:

Ok so apiserver is up and respond to https requests.

You clone the latest gitmouth that will do an https request (the same than the curl but with a valid fingerprint).

It means that there is a bug on gitmouth. It is unable to contact apiserver. I will try try to reproduce it at home as soon as I have free time...

— Reply to this email directly or view it on GitHubhttps://github.com/openruko/vagrant-openruko/issues/12#issuecomment-16063458 .

Filirom1 commented 11 years ago

I am sorry but it works on my machine.

Could you destroy your VM and try again :

vagrant halt
vagrant up
vagrant ssh
tail -f /var/lg/openruko/* &
cd  ~/openruko/integration-tests/
./run.sh
natea commented 11 years ago

Did you mean 'vagrant halt' or 'vagrant destroy'?

Here is the output of running the integration tests with the tail of the log files:

vagrant@precise64:~$ tail -f /var/log/openruko/* &
[1] 2399
vagrant@precise64:~$ ==> /var/log/openruko/apiserver.log <==
remove_key.pgsql
get_collaborators.pgsql
get_domains.pgsql
get_apps.pgsql
authenticate_user_by_api_key.pgsql
add_key.pgsql
get_instances.pgsql
rollback_release.pgsql
create_release.pgsql
Listening on http port 5000

==> /var/log/openruko/dynohost.log <==
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs

==> /var/log/openruko/gitmouth.log <==
2013-04-09 00:23:06+0000 [-] Log opened.
2013-04-09 00:23:06+0000 [-] OpenRukoSSHServer starting on 2222
2013-04-09 00:23:06+0000 [-] Starting factory <gitmouth.server.OpenRukoSSHServer instance at 0x1695560>
2013-04-09 00:23:06+0000 [-] Received SIGTERM, shutting down.
2013-04-09 00:23:06+0000 [gitmouth.server.OpenRukoSSHServer] (TCP Port 2222 Closed)
2013-04-09 00:23:06+0000 [gitmouth.server.OpenRukoSSHServer] Stopping factory <gitmouth.server.OpenRukoSSHServer instance at 0x1695560>
2013-04-09 00:23:06+0000 [-] Main loop terminated.
2013-04-09 00:23:07+0000 [-] Log opened.
2013-04-09 00:23:07+0000 [-] OpenRukoSSHServer starting on 2222
2013-04-09 00:23:07+0000 [-] Starting factory <gitmouth.server.OpenRukoSSHServer instance at 0x17c4560>

==> /var/log/openruko/httprouting.log <==
Error: connect ECONNREFUSED
    at errnoException (net.js:770:11)
    at Object.afterConnect [as oncomplete] (net.js:761:19)

events.js:71
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: connect ECONNREFUSED
    at errnoException (net.js:770:11)
    at Object.afterConnect [as oncomplete] (net.js:761:19)

==> /var/log/openruko/logplex.log <==
SIGTERM received shutting down gracefully
Shutdown gracefully.
Openruko logplex server v0.0.1
Logplex web server listening on port 9996
Logplex udp server listening on port 9999
SIGTERM received shutting down gracefully
Shutdown gracefully.
Openruko logplex server v0.0.1
Logplex web server listening on port 9996
Logplex udp server listening on port 9999

vagrant@precise64:~$ cd ~/openruko/integration-tests/
vagrant@precise64:~/openruko/integration-tests$ ls
README.md  run.sh  tests
vagrant@precise64:~/openruko/integration-tests$ more README.md 
# Integration tests

It will create a new database, a new node.js project and will push it on [openruko](https://github.com/openruko).

Several openruko commands are tested like:

openruko login openruko logout openruko create git push heroku master openruko releases openruko config openruko domains openruko ps openruko logs ...


Take a look at the tests

## Install

keepgreen depends on expect

sudo apt-get install expect


## Run

./run.sh


Path to `apiserver/postgres/setup` is hardcoded in `10-restart.sh`.

The easier way to launch keengreen tests is by using [vagrant-openruko](https://github.com/Marsup/vagrant-openruko)

## Debug

tail -f /var/log/openruko/* & cd tests ./10-restart.sh ./20-login.sh ./30-keys.sh ./40-apps.sh ./50-config.sh ./60-push.sh ./70-domains.sh ./80-update.sh ./90-scale.sh

vagrant@precise64:~/openruko/integration-tests$ ./run.sh

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:24:49+0000 [-] Received SIGTERM, shutting down.
2013-04-09 04:24:49+0000 [gitmouth.server.OpenRukoSSHServer] (TCP Port 2222 Closed)
2013-04-09 04:24:49+0000 [gitmouth.server.OpenRukoSSHServer] Stopping factory <gitmouth.server.OpenRukoSSHServer instance at 0x17c4560>
2013-04-09 04:24:49+0000 [-] Main loop terminated.

==> /var/log/openruko/apiserver.log <==
sigterm received. shutting down server

==> /var/log/openruko/logplex.log <==
SIGTERM received shutting down gracefully
Shutdown gracefully.
openruko-apiserver stop/waiting

==> /var/log/openruko/dynohost.log <==
openruko-dynohost stop/waiting
SIGTERM received
Server shutdown

==> /var/log/openruko/apiserver.log <==
sigterm received. shutting down server

net.js:1059
    throw new Error('Not running');
          ^
Error: Not running
    at HTTPSServer.Server.close (net.js:1059:11)
    at HTTPSServer.module.exports.createServer.app.stop (/home/vagrant/openruko/apiserver/apiserver/apiserver.js:50:9)
    at process.<anonymous> (/home/vagrant/openruko/apiserver/apiserver/bin/apiserver:24:7)
    at process.EventEmitter.emit (events.js:93:17)
    at SignalWatcher.startup.processSignalHandlers.process.on.process.addListener.w.callback (node.js:487:45)

==> /var/log/openruko/dynohost.log <==
SIGTERM received

net.js:1059
    throw new Error('Not running');
          ^
Error: Not running
    at Server.close (net.js:1059:11)
    at RezServer.stop (/home/vagrant/openruko/dynohost/dynohost/rezendpoint.js:90:12)
    at process.<anonymous> (/home/vagrant/openruko/dynohost/dynohost/bin/dynohost:47:15)
    at process.EventEmitter.emit (events.js:93:17)
    at SignalWatcher.startup.processSignalHandlers.process.on.process.addListener.w.callback (node.js:487:45)

==> /var/log/openruko/apiserver.log <==

==> /var/log/openruko/dynohost.log <==

==> /var/log/openruko/apiserver.log <==

==> /var/log/openruko/dynohost.log <==

==> /var/log/openruko/apiserver.log <==

==> /var/log/openruko/dynohost.log <==

==> /var/log/openruko/apiserver.log <==
openruko-apiserver start/running, process 2431
openruko-dynohost start/running, process 2437

==> /var/log/openruko/logplex.log <==
Openruko logplex server v0.0.1
Logplex web server listening on port 9996
Logplex udp server listening on port 9999

==> /var/log/openruko/dynohost.log <==
Booting dyno server v0.0.1

==> /var/log/openruko/apiserver.log <==
Starting openruko v0.1.2 on port 5000

==> /var/log/openruko/dynohost.log <==
dynohost/rendezvous server listen on port 4000

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:24:53+0000 [-] Log opened.
2013-04-09 04:24:53+0000 [-] OpenRukoSSHServer starting on 2222

==> /var/log/openruko/httprouting.log <==

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:24:53+0000 [-] Starting factory <gitmouth.server.OpenRukoSSHServer instance at 0x1f7e560>

==> /var/log/openruko/httprouting.log <==
events.js:71
        throw arguments[1]; // Unhandled 'error' event
                       ^
error: invalid value for parameter "search_path": "openruko_data, public"
    at p.parseE (/home/vagrant/openruko/httprouting/node_modules/pg/lib/connection.js:473:11)
    at p.parseMessage (/home/vagrant/openruko/httprouting/node_modules/pg/lib/connection.js:348:17)
    at Socket.p.attachListeners (/home/vagrant/openruko/httprouting/node_modules/pg/lib/connection.js:84:22)
    at Socket.EventEmitter.emit (events.js:96:17)
    at TCP.onread (net.js:397:14)

==> /var/log/openruko/dynohost.log <==
Unable to fetch jobs from https://openruko.local:5000/internal/getjobs

==> /var/log/openruko/apiserver.log <==
Route setup:  [get] /apps/:appName/ps
Route setup:  [post] /apps/:appName/ps/stop
Route setup:  [post] /apps/:appName/ps/restart
Route setup:  [post] /apps/:appName/ps/scale
Route setup:  [post] /user/keys
Route setup:  [get] /user/keys
Route setup:  [delete] /user/keys/:keyNeedle
Route setup:  [delete] /user/keys
Route setup:  [get] /apps/:appName/releases
Route setup:  [get] /apps/:appName/releases/current
Route setup:  [get] /apps/:appName/releases/:releaseId
Route setup:  [post] /apps/:appName/releases
Route setup:  [get] /user
Route setup:  [post] /user/onetime
Route setup:  [get] /apps/:appName/collaborators
Route setup:  [post] /apps/:appName/collaborators
Route setup:  [delete] /apps/:appName/collaborators/:email
Route setup:  [get] /internal/lookupUserByPublicKey
Route setup:  [post] /internal/:appName/pushcode
Route setup:  [post] /internal/:appName/gitaction
Route setup:  [post] /internal/updatestate
Route setup:  [post] /internal/user
Route setup:  [get] /internal/:appName/metadata
Route setup:  [post] /internal/incrementHeartbeat
Route setup:  [get] /apps/:appName/domains
Route setup:  [delete] /apps/:appName/domains/:domainName
Route setup:  [delete] /apps/:appName/domains
Route setup:  [post] /apps/:appName/domains
Route setup:  [post] /login
Route setup:  [post] /apps
Route setup:  [delete] /apps/:appName
Route setup:  [get] /apps
Route setup:  [get] /apps/:appName
Route setup:  [get] /apps/:appName/addons
Route setup:  [get] /apps/:appName/domains
Route setup:  [get] /apps/:appName/logs
Route setup:  [post] /apps/:appName/ps
Route setup:  [get] /apps/:appName/config_vars
Route setup:  [delete] /apps/:appName/config_vars/:keyToRemove
Route setup:  [put] /apps/:appName/config_vars
Load extensions
create data schema
load /home/vagrant/openruko/apiserver/postgres/openruko_data/functions
migrate /home/vagrant/openruko/apiserver/postgres/openruko_data/tables
create api schema
load /home/vagrant/openruko/apiserver/postgres/openruko_api/views
load /home/vagrant/openruko/apiserver/postgres/openruko_api/functions
add_collaborator.pgsql
boss_instance.pgsql
current_release.pgsql
generate_uuid.pgsql
authenticate_user.pgsql
create_instance.pgsql
get_logplex_map.pgsql
start_instances.pgsql
handle_git_command.pgsql
delete_domain.pgsql
remove_collaborator.pgsql
clean.pgsql
push_release.pgsql
start_instance.pgsql
scale_instances.pgsql
delete_domains.pgsql
get_job.pgsql
get_release.pgsql
update_password.pgsql
increment_heartbeat.pgsql
update_state.pgsql
add_domain.pgsql
restart_instances.pgsql
mark_job_distributed.pgsql
add_config.pgsql
stop_instance.pgsql
run_command.pgsql
add_user.pgsql
remove_config.pgsql
get_releases.pgsql
get_jobs_outstanding.pgsql
lookup_user_by_public_key.pgsql
get_addons.pgsql
get_user.pgsql
get_config.pgsql
get_current_release.pgsql
get_app.pgsql
destroy_app.pgsql
authorize_user_by_app_name.pgsql
add_app.pgsql
bootstrap.pgsql
get_collaborators.pgsql
stop_instances.pgsql
remove_key.pgsql
authenticate_user_by_api_key.pgsql
get_keys.pgsql
get_apps.pgsql
rollback_release.pgsql
get_domains.pgsql
get_instances.pgsql
create_release.pgsql
add_key.pgsql
Listening on http port 5000
User name: test
User email: test@test.com
User password: 
127.0.0.1 [post] /internal/user
Congrat test. Welcome on Openruko ;)

logout
Local credentials cleared.

login
spawn openruko login
Enter your Heroku credentials.
Email: test@test.com
Password (typing will be hidden): test

127.0.0.1 [post] /login?username=test%40test.com&password=test
127.0.0.1 [get] /user
127.0.0.1 [get] /user/keys
Found existing public key: /home/vagrant/.ssh/id_rsa.pub
Uploading SSH public key /home/vagrant/.ssh/id_rsa.pub... 127.0.0.1 [post] /user/keys
done
Authentication successful.

list keys (should have one)
spawn openruko keys
127.0.0.1 [get] /user/keys
=== test@test.com Keys
ssh-rsa AAAAB3NzaC...s7dN03HITj vagrant@precise64

keys:clear
spawn openruko keys:clear
Removing all SSH keys... 127.0.0.1 [delete] /user/keys
done

list keys (should be empty)
spawn openruko keys
127.0.0.1 [get] /user/keys
You have no keys.

add a key
spawn openruko keys:add
Found existing public key: /home/vagrant/.ssh/id_rsa.pub
Uploading SSH public key /home/vagrant/.ssh/id_rsa.pub... 127.0.0.1 [post] /user/keys
done

list keys (should have one)
spawn openruko keys
127.0.0.1 [get] /user/keys
=== test@test.com Keys
ssh-rsa AAAAB3NzaC...s7dN03HITj vagrant@precise64

keys:remove
spawn openruko keys:remove vagrant@precise64
Removing vagrant@precise64 SSH key... 127.0.0.1 [delete] /user/keys/vagrant%40precise64
done

list keys (should be empty)
spawn openruko keys
127.0.0.1 [get] /user/keys
You have no keys.

add a key
spawn openruko keys:add
Found existing public key: /home/vagrant/.ssh/id_rsa.pub
Uploading SSH public key /home/vagrant/.ssh/id_rsa.pub... 127.0.0.1 [post] /user/keys
done
Initialized empty Git repository in /tmp/openruko-tests/.git/
[master (root-commit) d1c05d8] first commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 3 files changed, 25 insertions(+)
 create mode 100644 Procfile
 create mode 100644 package.json
 create mode 100644 server.js

list apps (should be empty)
spawn openruko apps
127.0.0.1 [get] /apps
You have no apps.

create an app
spawn openruko create keepgreen
127.0.0.1 [post] /apps?app[name]=keepgreen&app[region]&app[stack]&app[tier]
Creating keepgreen... done, stack is cedar
http://keepgreen.mymachine.me/ | git@mymachine.me:keepgreen.git
Git remote heroku added

list apps (should contain keepgreen)
spawn openruko apps
127.0.0.1 [get] /apps
=== Dev & Legacy Apps
keepgreen

destroy app
127.0.0.1 [get] /apps/keepgreen
Destroying keepgreen (including all add-ons)... 127.0.0.1 [delete] /apps/keepgreen
done

list apps (should be empty)
spawn openruko apps
127.0.0.1 [get] /apps
You have no apps.

destroy app twice, App not found should be printed.
spawn openruko destroy keepgreen
127.0.0.1 [get] /apps/keepgreen
ERROR: 127.0.0.1 [GET] /apps/keepgreen
{ error: 'App not found.', friendly: true }
 !    App not found.

create an app
spawn openruko create keepgreen
127.0.0.1 [post] /apps?app[name]=keepgreen&app[region]&app[stack]&app[tier]
Creating keepgreen... done, stack is cedar
http://keepgreen.mymachine.me/ | git@mymachine.me:keepgreen.git
Git remote heroku added
Initialized empty Git repository in /tmp/openruko-tests2/.git/

list sharings (should print test@test.com)
spawn openruko sharing --app keepgreen
127.0.0.1 [get] /apps/keepgreen/collaborators
=== keepgreen Collaborators
test@test.com

sharing:add with invalid email (should fail)
spawn openruko sharing:add boooo@email.com --app keepgreen
Adding boooo@email.com to keepgreen collaborators... 127.0.0.1 [post] /apps/keepgreen/collaborators?collaborator[email]=boooo%40email.com
ERROR: 127.0.0.1 [POST] /apps/keepgreen/collaborators?collaborator[email]=boooo%40email.com
{ error: 'No user with such email', friendly: true }
failed
 !    No user with such email

add user friend@email.com
user added
key added

login as friend
Local credentials cleared.
spawn openruko login
Enter your Heroku credentials.
Email: friend@email.com
Password (typing will be hidden): friend

127.0.0.1 [post] /login?username=friend%40email.com&password=friend
127.0.0.1 [get] /user
127.0.0.1 [get] /user/keys
Authentication successful.

list apps (should be empty)
spawn openruko apps
127.0.0.1 [get] /apps
You have no apps.

login as test
Local credentials cleared.
spawn openruko login
Enter your Heroku credentials.
Email: test@test.com
Password (typing will be hidden): test

127.0.0.1 [post] /login?username=test%40test.com&password=test
127.0.0.1 [get] /user
127.0.0.1 [get] /user/keys
Authentication successful.

sharing:add friend@emai.com
spawn openruko sharing:add friend@email.com --app keepgreen
Adding friend@email.com to keepgreen collaborators... 127.0.0.1 [post] /apps/keepgreen/collaborators?collaborator[email]=friend%40email.com
done

list sharings (should print friend@email.com)
spawn openruko sharing --app keepgreen
127.0.0.1 [get] /apps/keepgreen/collaborators
=== keepgreen Collaborators
friend@email.com
test@test.com

sharing:remove friend@emai.com
spawn openruko sharing:remove friend@email.com --app keepgreen
Removing friend@email.com from keepgreen collaborators... 127.0.0.1 [delete] /apps/keepgreen/collaborators/friend@email.com
done

remove twice to see if it still exists
spawn openruko sharing:remove friend@email.com --app keepgreen
Removing friend@email.com from keepgreen collaborators... 127.0.0.1 [delete] /apps/keepgreen/collaborators/friend@email.com
ERROR: 127.0.0.1 [DELETE] /apps/keepgreen/collaborators/friend@email.com
{ error: 'User or app not found.', friendly: true }
failed
 !    User or app not found.

sharing:add friend@emai.com
spawn openruko sharing:add friend@email.com --app keepgreen
Adding friend@email.com to keepgreen collaborators... 127.0.0.1 [post] /apps/keepgreen/collaborators?collaborator[email]=friend%40email.com
done

login as friend
Local credentials cleared.
spawn openruko login
Enter your Heroku credentials.
Email: friend@email.com
Password (typing will be hidden): friend

127.0.0.1 [post] /login?username=friend%40email.com&password=friend
127.0.0.1 [get] /user
127.0.0.1 [get] /user/keys
Authentication successful.

list apps (should contain keepgreen)
spawn openruko apps
127.0.0.1 [get] /apps
=== Collaborated Apps
keepgreen  test@test.com

login as test
Local credentials cleared.
spawn openruko login
Enter your Heroku credentials.
Email: test@test.com
Password (typing will be hidden): test

127.0.0.1 [post] /login?username=test%40test.com&password=test
127.0.0.1 [get] /user
127.0.0.1 [get] /user/keys
Authentication successful.

list config (should be empty)
spawn openruko config --app keepgreen
127.0.0.1 [get] /apps/keepgreen/config_vars
keepgreen has no config vars.

add a config key
spawn openruko config:set KEY1=VALUE --app keepgreen
Setting config vars and restarting keepgreen... 127.0.0.1 [put] /apps/keepgreen/config_vars
127.0.0.1 [get] /apps/keepgreen/releases/current
done, v3
KEY1: VALUE
spawn openruko releases --app keepgreen
127.0.0.1 [get] /apps/keepgreen/releases
=== keepgreen Releases
v3  Add KEY1         test@test.com  2013/04/09 04:25:21 (~ 0s ago)
v2  Enable Logplex   test@test.com  2013/04/09 04:25:14 (~ 7s ago)
v1  Initial release  test@test.com  2013/04/09 04:25:14 (~ 7s ago)

list config (should have KEY1)
spawn openruko config --app keepgreen
127.0.0.1 [get] /apps/keepgreen/config_vars
=== keepgreen Config Vars
KEY1: VALUE

get config KEY1
spawn openruko config:get KEY1 --app keepgreen
127.0.0.1 [get] /apps/keepgreen/config_vars
VALUE

remove config KEY1
spawn openruko config:unset KEY1 --app keepgreen
Unsetting KEY1 and restarting keepgreen... 127.0.0.1 [delete] /apps/keepgreen/config_vars/KEY1
127.0.0.1 [get] /apps/keepgreen/releases/current
done, v4
spawn openruko releases --app keepgreen
127.0.0.1 [get] /apps/keepgreen/releases
=== keepgreen Releases
v4  Remove KEY1      test@test.com  2013/04/09 04:25:23 (~ 0s ago)
v3  Add KEY1         test@test.com  2013/04/09 04:25:21 (~ 1s ago)
v2  Enable Logplex   test@test.com  2013/04/09 04:25:14 (~ 8s ago)
v1  Initial release  test@test.com  2013/04/09 04:25:14 (~ 8s ago)

list config (should be empty)
spawn openruko config --app keepgreen
127.0.0.1 [get] /apps/keepgreen/config_vars
keepgreen has no config vars.
Setting config vars and restarting keepgreen... 127.0.0.1 [put] /apps/keepgreen/config_vars
127.0.0.1 [get] /apps/keepgreen/releases/current
done, v5
KEY1: VALUE2

git push heroku master

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:25:24+0000 [gitmouth.server.OpenRukoSSHServer] disabling diffie-hellman-group-exchange because we cannot find moduli file
2013-04-09 04:25:24+0000 [SSHServerTransport,0,127.0.0.1] kex alg, key alg: diffie-hellman-group1-sha1 ssh-rsa
2013-04-09 04:25:24+0000 [SSHServerTransport,0,127.0.0.1] outgoing: aes128-ctr hmac-md5 none
2013-04-09 04:25:24+0000 [SSHServerTransport,0,127.0.0.1] incoming: aes128-ctr hmac-md5 none
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
c0:31:14:49:fd:2b:45:af:30:85:af:3f:12:cd:8c:32.
Please contact your system administrator.
Add correct host key in /home/vagrant/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/vagrant/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/vagrant/.ssh/known_hosts" -R [localhost]:2222
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
2013-04-09 04:25:24+0000 [SSHServerTransport,0,127.0.0.1] NEW KEYS
2013-04-09 04:25:24+0000 [SSHServerTransport,0,127.0.0.1] starting service ssh-userauth
2013-04-09 04:25:24+0000 [SSHService ssh-userauth on SSHServerTransport,0,127.0.0.1] git trying auth none
2013-04-09 04:25:24+0000 [SSHService ssh-userauth on SSHServerTransport,0,127.0.0.1] git trying auth publickey
2013-04-09 04:25:24+0000 [SSHService ssh-userauth on SSHServerTransport,0,127.0.0.1] git trying auth publickey
2013-04-09 04:25:24+0000 [SSHService ssh-userauth on SSHServerTransport,0,127.0.0.1] Checking fingerprint: https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=2c4634adf30635997e6232123a7bbb48
2013-04-09 04:25:24+0000 [SSHService ssh-userauth on SSHServerTransport,0,127.0.0.1] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x1ff6368>

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [get] /internal/lookupUserByPublicKey?fingerprint=2c4634adf30635997e6232123a7bbb48

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:25:24+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] git authenticated with publickey
2013-04-09 04:25:24+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] starting service ssh-connection
2013-04-09 04:25:24+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x1ff6368>
2013-04-09 04:25:24+0000 [SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] got channel session request
2013-04-09 04:25:24+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] channel open
2013-04-09 04:25:24+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] unhandled request for env
2013-04-09 04:25:24+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] unhandled request for env
2013-04-09 04:25:24+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] unhandled request for env
2013-04-09 04:25:24+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] executing command "git-receive-pack 'keepgreen.git'"
2013-04-09 04:25:24+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x1ff8a28>

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/keepgreen/gitaction?command=git-receive-pack
Assigned provision job
Mark Job as Distributed { host: '127.0.0.1', id: 1 }

==> /var/log/openruko/dynohost.log <==
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Incoming new job: start
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Executing start (current state: idle)
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - provisioning with dynohost/scripts/build-provision

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:25:24+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x1ff8a28>

==> /var/log/openruko/dynohost.log <==
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Rez client connected 
{ returnCode: 0,
  output: 'Creating /var/lib/lxc/ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec\nFetching repo archive: curl http://openruko.mymachine.me:4567//repos/2.tgz?Expires=1365517524&AWSAccessKeyId=123&Signature=3MC9IbmgTOO5IewnMoObgNaB6Cs%3D\nSetting up mounts\nFetching file://emptyrepo.tgz\nassets/emptyrepo.tgz\nFetching file://buildpacks.tgz\nassets/buildpacks.tgz\nSetting up devices\nStarting dyno\n' }
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - State changed to starting
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Update api server with state: starting

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Socket ioSocket connected
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Socket commandSocket connected
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Event connected fired
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - State changed to listening
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Executing run (current state: listening)
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Dispatch command: /usr/bin/git-receive-pack /app
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - State changed to running
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Update api server with state: listening

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Update api server with state: running

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 654 bytes, done.
Total 5 (delta 0), reused 0 (delta 0)

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:25:25+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] eof fired

-----> Openruko receiving git push
-----> Node.js app detected
-----> Resolving engine versions
       Using Node.js version: 0.8.21
       Using npm version: 1.1.65
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
       npm WARN package.json hello-world@0.0.1 No README.md file found!
       npm http GET http://registry.npmjs.org/express
       npm http 200 http://registry.npmjs.org/express
       npm http GET http://registry.npmjs.org/express/-/express-3.1.1.tgz
       npm http 200 http://registry.npmjs.org/express/-/express-3.1.1.tgz
       npm http GET http://registry.npmjs.org/connect/2.7.4
       npm http GET http://registry.npmjs.org/commander/0.6.1
       npm http GET http://registry.npmjs.org/range-parser/0.0.4
       npm http GET http://registry.npmjs.org/mkdirp
       npm http GET http://registry.npmjs.org/cookie/0.0.5
       npm http GET http://registry.npmjs.org/buffer-crc32
       npm http GET http://registry.npmjs.org/fresh/0.1.0
       npm http GET http://registry.npmjs.org/methods/0.0.1
       npm http GET http://registry.npmjs.org/send/0.1.0
       npm http GET http://registry.npmjs.org/cookie-signature/0.0.1
       npm http GET http://registry.npmjs.org/debug
       npm http 200 http://registry.npmjs.org/range-parser/0.0.4
       npm http GET http://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
       npm http 200 http://registry.npmjs.org/connect/2.7.4
       npm http GET http://registry.npmjs.org/connect/-/connect-2.7.4.tgz
       npm http 200 http://registry.npmjs.org/mkdirp
       npm http 200 http://registry.npmjs.org/commander/0.6.1
       npm http 200 http://registry.npmjs.org/cookie/0.0.5
       npm http GET http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
       npm http GET http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
       npm http GET http://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32
       npm http GET http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
       npm http 200 http://registry.npmjs.org/fresh/0.1.0
       npm http GET http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/methods/0.0.1
       npm http GET http://registry.npmjs.org/methods/-/methods-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/cookie-signature/0.0.1
       npm http GET http://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
       npm http 200 http://registry.npmjs.org/send/0.1.0
       npm http GET http://registry.npmjs.org/send/-/send-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/connect/-/connect-2.7.4.tgz
       npm http 200 http://registry.npmjs.org/debug
       npm http GET http://registry.npmjs.org/debug/-/debug-0.7.2.tgz
       npm http 200 http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
       npm http 200 http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
       npm http 200 http://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
       npm http 200 http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/debug/-/debug-0.7.2.tgz
       npm http 200 http://registry.npmjs.org/methods/-/methods-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/send/-/send-0.1.0.tgz
       npm WARN package.json methods@0.0.1 No README.md file found!
       npm http GET http://registry.npmjs.org/mime/1.2.6
       npm http GET http://registry.npmjs.org/qs/0.5.1
       npm http GET http://registry.npmjs.org/formidable/1.0.11
       npm http GET http://registry.npmjs.org/buffer-crc32/0.1.1
       npm http GET http://registry.npmjs.org/bytes/0.2.0
       npm http GET http://registry.npmjs.org/pause/0.0.1
       npm http 200 http://registry.npmjs.org/mime/1.2.6
       npm http GET http://registry.npmjs.org/mime/-/mime-1.2.6.tgz
       npm http 200 http://registry.npmjs.org/pause/0.0.1
       npm http GET http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/mime/-/mime-1.2.6.tgz
       npm http 200 http://registry.npmjs.org/bytes/0.2.0
       npm http GET http://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
       npm http 200 http://registry.npmjs.org/formidable/1.0.11
       npm http 200 http://registry.npmjs.org/qs/0.5.1
       npm http 200 http://registry.npmjs.org/buffer-crc32/0.1.1
       npm http GET http://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz
       npm http GET http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz
       npm http GET http://registry.npmjs.org/qs/-/qs-0.5.1.tgz
       npm http 200 http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
       npm http 200 http://registry.npmjs.org/qs/-/qs-0.5.1.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz
       npm http 200 http://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz
       express@3.1.1 node_modules/express
       ├── methods@0.0.1
       ├── fresh@0.1.0
       ├── range-parser@0.0.4
       ├── cookie-signature@0.0.1
       ├── buffer-crc32@0.2.1
       ├── cookie@0.0.5
       ├── debug@0.7.2
       ├── commander@0.6.1
       ├── mkdirp@0.3.5
       ├── send@0.1.0 (mime@1.2.6)
       └── connect@2.7.4 (pause@0.0.1, bytes@0.2.0, buffer-crc32@0.1.1, formidable@1.0.11, qs@0.5.1)
       npm WARN package.json hello-world@0.0.1 No README.md file found!
       express@3.1.1 /tmp/checkout/node_modules/express
       connect@2.7.4 /tmp/checkout/node_modules/express/node_modules/connect
       qs@0.5.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/qs
       formidable@1.0.11 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/formidable
       cookie-signature@0.0.1 /tmp/checkout/node_modules/express/node_modules/cookie-signature
       buffer-crc32@0.1.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/buffer-crc32
       cookie@0.0.5 /tmp/checkout/node_modules/express/node_modules/cookie
       send@0.1.0 /tmp/checkout/node_modules/express/node_modules/send
       debug@0.7.2 /tmp/checkout/node_modules/express/node_modules/debug
       mime@1.2.6 /tmp/checkout/node_modules/express/node_modules/send/node_modules/mime
       fresh@0.1.0 /tmp/checkout/node_modules/express/node_modules/fresh
       range-parser@0.0.4 /tmp/checkout/node_modules/express/node_modules/range-parser
       bytes@0.2.0 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/bytes
       pause@0.0.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/pause
       commander@0.6.1 /tmp/checkout/node_modules/express/node_modules/commander
       mkdirp@0.3.5 /tmp/checkout/node_modules/express/node_modules/mkdirp
       buffer-crc32@0.2.1 /tmp/checkout/node_modules/express/node_modules/buffer-crc32
       methods@0.0.1 /tmp/checkout/node_modules/express/node_modules/methods
       Dependencies installed
-----> Building runtime environment
-----> Discovering process types
       Procfile declares types -> web
       Default process types for Node.js ->
-----> Compiled slug size is 4.5M /tmp/slug.tgz
       Using slug_id: 1365481524.43962

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/keepgreen/pushcode
-----> Launching... done v 6
       http://keepgreen.mymachine.me/ deployed to Openruko

Assigned provision job

==> /var/log/openruko/dynohost.log <==
6372de50-c5c4-b461-8d51-1d041ebb9352 - Incoming new job: start
6372de50-c5c4-b461-8d51-1d041ebb9352 - Executing start (current state: idle)

==> /var/log/openruko/apiserver.log <==
Mark Job as Distributed { host: '127.0.0.1', id: 2 }

==> /var/log/openruko/dynohost.log <==
6372de50-c5c4-b461-8d51-1d041ebb9352 - provisioning with dynohost/scripts/provision
{ returnCode: 0,
  output: 'Creating /var/lib/lxc/6372de50-c5c4-b461-8d51-1d041ebb9352\nFetching repo archive: curl http://openruko.mymachine.me:4567//slugs/2_1365481524.43962.tgz?Expires=1365517561&AWSAccessKeyId=123&Signature=oTfsvSJXififUcvUI0XzpOaiTE4%3D\nSetting up mounts\nFetching http://openruko.mymachine.me:4567//slugs/2_1365481524.43962.tgz?Expires=1365517561&AWSAccessKeyId=123&Signature=oTfsvSJXififUcvUI0XzpOaiTE4%3D\nFetching mount http://openruko.mymachine.me:4567//slugs/2_1365481524.43962.tgz?Expires=1365517561&AWSAccessKeyId=123&Signature=oTfsvSJXififUcvUI0XzpOaiTE4%3D\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 4599k  100 4599k    0     0  19.2M      0 --:--:-- --:--:-- --:--:-- 31.8M\nSetting up devices\nStarting dyno\n' }
6372de50-c5c4-b461-8d51-1d041ebb9352 - State changed to starting
6372de50-c5c4-b461-8d51-1d041ebb9352 - Update api server with state: starting

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
6372de50-c5c4-b461-8d51-1d041ebb9352 - Socket ioSocket connected
6372de50-c5c4-b461-8d51-1d041ebb9352 - Socket commandSocket connected
6372de50-c5c4-b461-8d51-1d041ebb9352 - Event connected fired
6372de50-c5c4-b461-8d51-1d041ebb9352 - State changed to listening
6372de50-c5c4-b461-8d51-1d041ebb9352 - Executing run (current state: listening)
6372de50-c5c4-b461-8d51-1d041ebb9352 - Dispatch command: node server.js
6372de50-c5c4-b461-8d51-1d041ebb9352 - State changed to running
6372de50-c5c4-b461-8d51-1d041ebb9352 - Update api server with state: listening

==> /var/log/openruko/logplex.log <==
creating ringbuffer for 4614c032-4339-e5aa-95dd-76a6b55a8ead

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
6372de50-c5c4-b461-8d51-1d041ebb9352 - Update api server with state: running

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Event exit fired
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - State changed to completed
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Cleanup due to process exit
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Executing stop (current state: completed)
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Update api server with state: completed
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Rez Socket disconnected
{ [Error: write EPIPE] code: 'EPIPE', errno: 'EPIPE', syscall: 'write' }
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Cleaning up dyno

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:02+0000 [ProcLiteProtocol (TLSMemoryBIOProtocol),client] exitCode: 0
2013-04-09 04:26:02+0000 [ProcLiteProtocol (TLSMemoryBIOProtocol),client] sending request exit-status
2013-04-09 04:26:02+0000 [ProcLiteProtocol (TLSMemoryBIOProtocol),client] sending close 0

==> /var/log/openruko/dynohost.log <==
To git@mymachine.me:keepgreen.git
 * [new branch]      master -> master

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:02+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] remote close
2013-04-09 04:26:02+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,0,127.0.0.1] closed fired
2013-04-09 04:26:02+0000 [SSHServerTransport,0,127.0.0.1] Got remote error, code 11
    reason: disconnected by user
2013-04-09 04:26:02+0000 [SSHServerTransport,0,127.0.0.1] connection lost

wait 15s

==> /var/log/openruko/dynohost.log <==
ca1186cb-7f1f-e168-10ea-cd9a7f9b1aec - Cleaned up

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat

curl on keepgreen.mymachine.me:8080/hello.txt
spawn curl keepgreen.mymachine.me:8080/hello.txt

==> /var/log/openruko/httprouting.log <==
Will proxy /hello.txt to 127.0.0.1: 13266
Hello World
list apps
spawn openruko apps

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [get] /apps
=== Dev & Legacy Apps
keepgreen

list releases
spawn openruko releases --app keepgreen
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [get] /apps/keepgreen/releases
=== keepgreen Releases
v6  Deploy d1c05d    admin@dev.null  2013/04/09 04:26:01 (~ 17s ago)
v5  Add KEY1         test@test.com   2013/04/09 04:25:24 (~ 54s ago)
v4  Remove KEY1      test@test.com   2013/04/09 04:25:23 (~ 55s ago)
v3  Add KEY1         test@test.com   2013/04/09 04:25:21 (~ 56s ago)
v2  Enable Logplex   test@test.com   2013/04/09 04:25:14 (~ 1m ago)
v1  Initial release  test@test.com   2013/04/09 04:25:14 (~ 1m ago)

ps
spawn openruko ps --app keepgreen
127.0.0.1 [get] /apps/keepgreen/ps
=== web: `node server.js`
web.1: running 2013/04/09 04:26:01 (~ 17s ago)

logs
spawn openruko logs --app keepgreen
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [get] /apps/keepgreen/logs?logplex=true
Setting up log session for app keepgreen

==> /var/log/openruko/logplex.log <==
POST /sessions { tokens: 
   [ { id: 'df0d1fc8-7686-3a61-2f78-6a7cc54cd900',
       app_id: 2,
       channel: 'heroku',
       source: 'router' },
     { id: '19e8e20f-8a65-b5b8-6fb7-a016da5c34fb',
       app_id: 2,
       channel: 'heroku',
       source: 'api' },
     { id: '4614c032-4339-e5aa-95dd-76a6b55a8ead',
       app_id: 2,
       channel: 'app',
       source: 'web' } ] }
GET /sessions/b8079b6d-281d-48ac-9505-45c65d9ca046
2013-04-09T04:26:02.113Z app[web]: Starting process with command `node server.js
2013-04-09T04:26:02.249Z app[web]: Listening on port 13266
2013-04-09T04:26:03.251Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:04.252Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:05.254Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:06.297Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:07.297Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:08.300Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:09.302Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:10.304Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:11.305Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:12.305Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:13.308Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:14.309Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:15.311Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:16.312Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:17.312Z app[web]: interval 1s: VALUE2
2013-04-09T04:26:18.314Z app[web]: interval 1s: VALUE2

heartbeats

         17 heartbeats registered

list domains. (should be empty)
spawn openruko domains --app keepgreen

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [get] /apps/keepgreen/domains
keepgreen has no domain names.

add domain toto.com
spawn openruko domains:add toto.com --app keepgreen
Adding toto.com to keepgreen... 127.0.0.1 [post] /apps/keepgreen/domains?domain_name[domain]=toto.com
done

list domains. (should find toto.com)
spawn openruko domains --app keepgreen
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [get] /apps/keepgreen/domains
=== keepgreen Domain Names
toto.com

remove domain toto.com
spawn openruko domains:remove toto.com --app keepgreen
Removing toto.com from keepgreen... 127.0.0.1 [delete] /apps/keepgreen/domains/toto%2Ecom
done

list domains. (should be empty)
spawn openruko domains --app keepgreen
127.0.0.1 [get] /apps/keepgreen/domains
keepgreen has no domain names.

change sources
[master 194408d] second commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 1 file changed, 1 insertion(+), 1 deletion(-)

git push heroku master

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:20+0000 [gitmouth.server.OpenRukoSSHServer] disabling diffie-hellman-group-exchange because we cannot find moduli file
2013-04-09 04:26:20+0000 [SSHServerTransport,1,127.0.0.1] kex alg, key alg: diffie-hellman-group1-sha1 ssh-rsa
2013-04-09 04:26:20+0000 [SSHServerTransport,1,127.0.0.1] outgoing: aes128-ctr hmac-md5 none
2013-04-09 04:26:20+0000 [SSHServerTransport,1,127.0.0.1] incoming: aes128-ctr hmac-md5 none
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
c0:31:14:49:fd:2b:45:af:30:85:af:3f:12:cd:8c:32.
Please contact your system administrator.
Add correct host key in /home/vagrant/.ssh/known_hosts to get rid of this message.
Offending RSA key in /home/vagrant/.ssh/known_hosts:1
  remove with: ssh-keygen -f "/home/vagrant/.ssh/known_hosts" -R [localhost]:2222
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
2013-04-09 04:26:20+0000 [SSHServerTransport,1,127.0.0.1] NEW KEYS
2013-04-09 04:26:21+0000 [SSHServerTransport,1,127.0.0.1] starting service ssh-userauth
2013-04-09 04:26:21+0000 [SSHService ssh-userauth on SSHServerTransport,1,127.0.0.1] git trying auth none
2013-04-09 04:26:21+0000 [SSHService ssh-userauth on SSHServerTransport,1,127.0.0.1] git trying auth publickey
2013-04-09 04:26:21+0000 [SSHService ssh-userauth on SSHServerTransport,1,127.0.0.1] git trying auth publickey
2013-04-09 04:26:21+0000 [SSHService ssh-userauth on SSHServerTransport,1,127.0.0.1] Checking fingerprint: https://localhost:5000/internal/lookupUserByPublicKey?fingerprint=2c4634adf30635997e6232123a7bbb48
2013-04-09 04:26:21+0000 [SSHService ssh-userauth on SSHServerTransport,1,127.0.0.1] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x2005cb0>

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [get] /internal/lookupUserByPublicKey?fingerprint=2c4634adf30635997e6232123a7bbb48

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:21+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] git authenticated with publickey
2013-04-09 04:26:21+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] starting service ssh-connection
2013-04-09 04:26:21+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x2005cb0>
2013-04-09 04:26:21+0000 [SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] got channel session request
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] channel open
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] unhandled request for env
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] unhandled request for env
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] unhandled request for env
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] executing command "git-receive-pack 'keepgreen.git'"
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] Starting factory <twisted.web.client._HTTP11ClientFactory instance at 0x20084d0>

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/keepgreen/gitaction?command=git-receive-pack
Assigned provision job
Mark Job as Distributed { host: '127.0.0.1', id: 3 }

==> /var/log/openruko/dynohost.log <==
c26ee86b-46c1-22a9-540a-f358e076109e - Incoming new job: start
c26ee86b-46c1-22a9-540a-f358e076109e - Executing start (current state: idle)
c26ee86b-46c1-22a9-540a-f358e076109e - provisioning with dynohost/scripts/build-provision

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/incrementHeartbeat

==> /var/log/openruko/dynohost.log <==
{ returnCode: 0,
  output: 'Creating /var/lib/lxc/c26ee86b-46c1-22a9-540a-f358e076109e\nFetching repo archive: curl http://openruko.mymachine.me:4567//repos/2.tgz?Expires=1365517581&AWSAccessKeyId=123&Signature=lMBVTWvUoEM3QVdUob8lm9pzyps%3D\nSetting up mounts\nFetching http://openruko.mymachine.me:4567//repos/2.tgz?Expires=1365517581&AWSAccessKeyId=123&Signature=lMBVTWvUoEM3QVdUob8lm9pzyps%3D\nFetching mount http://openruko.mymachine.me:4567//repos/2.tgz?Expires=1365517581&AWSAccessKeyId=123&Signature=lMBVTWvUoEM3QVdUob8lm9pzyps%3D\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100  2169  100  2169    0     0  21457      0 --:--:-- --:--:-- --:--:-- 2118k\nFetching file://buildpacks.tgz\nassets/buildpacks.tgz\nSetting up devices\nStarting dyno\n' }
c26ee86b-46c1-22a9-540a-f358e076109e - State changed to starting
c26ee86b-46c1-22a9-540a-f358e076109e - Update api server with state: starting

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:21+0000 [HTTP11ClientProtocol (TLSMemoryBIOProtocol),client] Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x20084d0>

==> /var/log/openruko/dynohost.log <==
c26ee86b-46c1-22a9-540a-f358e076109e - Rez client connected 
c26ee86b-46c1-22a9-540a-f358e076109e - Socket ioSocket connected
c26ee86b-46c1-22a9-540a-f358e076109e - Socket commandSocket connected
c26ee86b-46c1-22a9-540a-f358e076109e - Event connected fired
c26ee86b-46c1-22a9-540a-f358e076109e - State changed to listening
c26ee86b-46c1-22a9-540a-f358e076109e - Executing run (current state: listening)
c26ee86b-46c1-22a9-540a-f358e076109e - Dispatch command: /usr/bin/git-receive-pack /app
c26ee86b-46c1-22a9-540a-f358e076109e - State changed to running
c26ee86b-46c1-22a9-540a-f358e076109e - Update api server with state: listening

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
c26ee86b-46c1-22a9-540a-f358e076109e - Update api server with state: running
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 284 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:21+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] eof fired

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

-----> Openruko receiving git push
-----> Node.js app detected
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
-----> Resolving engine versions
       Using Node.js version: 0.8.21
       Using npm version: 1.1.65
-----> Fetching Node.js binaries
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
-----> Vendoring node into slug
-----> Installing dependencies with npm
       npm WARN package.json hello-world@0.0.1 No README.md file found!
       npm http GET http://registry.npmjs.org/express
127.0.0.1 [post] /internal/incrementHeartbeat
       npm http 200 http://registry.npmjs.org/express
       npm http GET http://registry.npmjs.org/express/-/express-3.1.1.tgz
       npm http 200 http://registry.npmjs.org/express/-/express-3.1.1.tgz
       npm http GET http://registry.npmjs.org/connect/2.7.4
       npm http GET http://registry.npmjs.org/commander/0.6.1
       npm http GET http://registry.npmjs.org/range-parser/0.0.4
       npm http GET http://registry.npmjs.org/mkdirp
       npm http GET http://registry.npmjs.org/cookie/0.0.5
       npm http GET http://registry.npmjs.org/buffer-crc32
       npm http GET http://registry.npmjs.org/fresh/0.1.0
       npm http GET http://registry.npmjs.org/methods/0.0.1
       npm http GET http://registry.npmjs.org/send/0.1.0
       npm http GET http://registry.npmjs.org/cookie-signature/0.0.1
127.0.0.1 [post] /internal/incrementHeartbeat
       npm http GET http://registry.npmjs.org/debug
       npm http 200 http://registry.npmjs.org/range-parser/0.0.4
       npm http GET http://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
       npm http 200 http://registry.npmjs.org/commander/0.6.1
       npm http GET http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
       npm http 200 http://registry.npmjs.org/connect/2.7.4
       npm http GET http://registry.npmjs.org/connect/-/connect-2.7.4.tgz
       npm http 200 http://registry.npmjs.org/mkdirp
       npm http GET http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
       npm http 200 http://registry.npmjs.org/cookie/0.0.5
       npm http GET http://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
       npm http 200 http://registry.npmjs.org/fresh/0.1.0
       npm http GET http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/methods/0.0.1
       npm http GET http://registry.npmjs.org/methods/-/methods-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32
       npm http GET http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
       npm http 200 http://registry.npmjs.org/cookie-signature/0.0.1
       npm http GET http://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
       npm http 200 http://registry.npmjs.org/send/0.1.0
       npm http GET http://registry.npmjs.org/send/-/send-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
       npm http 200 http://registry.npmjs.org/connect/-/connect-2.7.4.tgz
       npm http 200 http://registry.npmjs.org/debug
       npm http GET http://registry.npmjs.org/debug/-/debug-0.7.2.tgz
       npm http 200 http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
       npm http 200 http://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
       npm http 200 http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/methods/-/methods-0.0.1.tgz
       npm WARN package.json methods@0.0.1 No README.md file found!
       npm http 200 http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
       npm http 200 http://registry.npmjs.org/send/-/send-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/debug/-/debug-0.7.2.tgz
127.0.0.1 [post] /internal/incrementHeartbeat
       npm http GET http://registry.npmjs.org/mime/1.2.6
127.0.0.1 [post] /internal/incrementHeartbeat
       npm http GET http://registry.npmjs.org/qs/0.5.1
       npm http GET http://registry.npmjs.org/formidable/1.0.11
       npm http GET http://registry.npmjs.org/buffer-crc32/0.1.1
       npm http GET http://registry.npmjs.org/bytes/0.2.0
       npm http GET http://registry.npmjs.org/pause/0.0.1
       npm http 200 http://registry.npmjs.org/mime/1.2.6
       npm http GET http://registry.npmjs.org/mime/-/mime-1.2.6.tgz
       npm http 200 http://registry.npmjs.org/pause/0.0.1
       npm http GET http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/mime/-/mime-1.2.6.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/0.1.1
       npm http 200 http://registry.npmjs.org/bytes/0.2.0
       npm http GET http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz
       npm http GET http://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
       npm http 200 http://registry.npmjs.org/formidable/1.0.11
       npm http 200 http://registry.npmjs.org/qs/0.5.1
       npm http GET http://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz
       npm http GET http://registry.npmjs.org/qs/-/qs-0.5.1.tgz
       npm http 200 http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
       npm http 200 http://registry.npmjs.org/qs/-/qs-0.5.1.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz
       npm http 200 http://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz
127.0.0.1 [post] /internal/incrementHeartbeat
       express@3.1.1 node_modules/express
       ├── methods@0.0.1
       ├── fresh@0.1.0
       ├── range-parser@0.0.4
       ├── cookie-signature@0.0.1
       ├── buffer-crc32@0.2.1
       ├── cookie@0.0.5
       ├── debug@0.7.2
       ├── commander@0.6.1
       ├── mkdirp@0.3.5
       ├── send@0.1.0 (mime@1.2.6)
       └── connect@2.7.4 (pause@0.0.1, bytes@0.2.0, buffer-crc32@0.1.1, formidable@1.0.11, qs@0.5.1)
       npm WARN package.json hello-world@0.0.1 No README.md file found!
127.0.0.1 [post] /internal/incrementHeartbeat
       express@3.1.1 /tmp/checkout/node_modules/express
       connect@2.7.4 /tmp/checkout/node_modules/express/node_modules/connect
       qs@0.5.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/qs
       formidable@1.0.11 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/formidable
       cookie-signature@0.0.1 /tmp/checkout/node_modules/express/node_modules/cookie-signature
       buffer-crc32@0.1.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/buffer-crc32
       cookie@0.0.5 /tmp/checkout/node_modules/express/node_modules/cookie
       send@0.1.0 /tmp/checkout/node_modules/express/node_modules/send
       debug@0.7.2 /tmp/checkout/node_modules/express/node_modules/debug
       mime@1.2.6 /tmp/checkout/node_modules/express/node_modules/send/node_modules/mime
       fresh@0.1.0 /tmp/checkout/node_modules/express/node_modules/fresh
       range-parser@0.0.4 /tmp/checkout/node_modules/express/node_modules/range-parser
       bytes@0.2.0 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/bytes
       pause@0.0.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/pause
       commander@0.6.1 /tmp/checkout/node_modules/express/node_modules/commander
       mkdirp@0.3.5 /tmp/checkout/node_modules/express/node_modules/mkdirp
       buffer-crc32@0.2.1 /tmp/checkout/node_modules/express/node_modules/buffer-crc32
       methods@0.0.1 /tmp/checkout/node_modules/express/node_modules/methods
       Dependencies installed
-----> Building runtime environment
-----> Discovering process types
       Procfile declares types -> web
       Default process types for Node.js ->
-----> Compiled slug size is 4.5M /tmp/slug.tgz
       Using slug_id: 1365481581.03834
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/keepgreen/pushcode
-----> Launching... done v 7
       http://keepgreen.mymachine.me/ deployed to Openruko

Assigned provision job
Assigned kill job
Mark Job as Distributed { host: '127.0.0.1', id: 4 }

==> /var/log/openruko/dynohost.log <==
65c282da-4d62-7db3-0fc4-a902f5d19566 - Incoming new job: start
65c282da-4d62-7db3-0fc4-a902f5d19566 - Executing start (current state: idle)
6372de50-c5c4-b461-8d51-1d041ebb9352 - Incoming new job: kill
6372de50-c5c4-b461-8d51-1d041ebb9352 - Executing stop (current state: running)

==> /var/log/openruko/apiserver.log <==
Mark Job as Distributed { host: '127.0.0.1', id: 2 }

==> /var/log/openruko/dynohost.log <==
65c282da-4d62-7db3-0fc4-a902f5d19566 - provisioning with dynohost/scripts/provision
6372de50-c5c4-b461-8d51-1d041ebb9352 - Event exit fired
6372de50-c5c4-b461-8d51-1d041ebb9352 - State changed to completed
6372de50-c5c4-b461-8d51-1d041ebb9352 - Cleanup due to process exit
6372de50-c5c4-b461-8d51-1d041ebb9352 - Executing stop (current state: completed)
6372de50-c5c4-b461-8d51-1d041ebb9352 - Cleaning up dyno
6372de50-c5c4-b461-8d51-1d041ebb9352 - Update api server with state: completed
6372de50-c5c4-b461-8d51-1d041ebb9352 - Cleaned up

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
{ returnCode: 0,
  output: 'Creating /var/lib/lxc/65c282da-4d62-7db3-0fc4-a902f5d19566\nFetching repo archive: curl http://openruko.mymachine.me:4567//slugs/2_1365481581.03834.tgz?Expires=1365517601&AWSAccessKeyId=123&Signature=Gzp7rd7WLE2V8AUxNFv%2FLL8ey8k%3D\nSetting up mounts\nFetching http://openruko.mymachine.me:4567//slugs/2_1365481581.03834.tgz?Expires=1365517601&AWSAccessKeyId=123&Signature=Gzp7rd7WLE2V8AUxNFv%2FLL8ey8k%3D\nFetching mount http://openruko.mymachine.me:4567//slugs/2_1365481581.03834.tgz?Expires=1365517601&AWSAccessKeyId=123&Signature=Gzp7rd7WLE2V8AUxNFv%2FLL8ey8k%3D\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\n                                 Dload  Upload   Total   Spent    Left  Speed\n\r  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r100 4599k  100 4599k    0     0  18.5M      0 --:--:-- --:--:-- --:--:-- 28.7M\nSetting up devices\nStarting dyno\n' }
65c282da-4d62-7db3-0fc4-a902f5d19566 - State changed to starting
65c282da-4d62-7db3-0fc4-a902f5d19566 - Update api server with state: starting

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
65c282da-4d62-7db3-0fc4-a902f5d19566 - Socket ioSocket connected
65c282da-4d62-7db3-0fc4-a902f5d19566 - Socket commandSocket connected
65c282da-4d62-7db3-0fc4-a902f5d19566 - Event connected fired
65c282da-4d62-7db3-0fc4-a902f5d19566 - State changed to listening
65c282da-4d62-7db3-0fc4-a902f5d19566 - Executing run (current state: listening)
65c282da-4d62-7db3-0fc4-a902f5d19566 - Dispatch command: node server.js
65c282da-4d62-7db3-0fc4-a902f5d19566 - State changed to running
65c282da-4d62-7db3-0fc4-a902f5d19566 - Update api server with state: listening

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
65c282da-4d62-7db3-0fc4-a902f5d19566 - Update api server with state: running

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate

==> /var/log/openruko/dynohost.log <==
c26ee86b-46c1-22a9-540a-f358e076109e - Event exit fired
c26ee86b-46c1-22a9-540a-f358e076109e - State changed to completed
c26ee86b-46c1-22a9-540a-f358e076109e - Cleanup due to process exit
c26ee86b-46c1-22a9-540a-f358e076109e - Executing stop (current state: completed)

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:42+0000 [ProcLiteProtocol (TLSMemoryBIOProtocol),client] exitCode: 0
2013-04-09 04:26:42+0000 [ProcLiteProtocol (TLSMemoryBIOProtocol),client] sending request exit-status
2013-04-09 04:26:42+0000 [ProcLiteProtocol (TLSMemoryBIOProtocol),client] sending close 0

==> /var/log/openruko/dynohost.log <==
c26ee86b-46c1-22a9-540a-f358e076109e - Update api server with state: completed
c26ee86b-46c1-22a9-540a-f358e076109e - Rez Socket disconnected
To git@mymachine.me:keepgreen.git

==> /var/log/openruko/gitmouth.log <==
2013-04-09 04:26:42+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] remote close
2013-04-09 04:26:42+0000 [SSHChannel session (0) on SSHService ssh-connection on SSHServerTransport,1,127.0.0.1] closed fired
2013-04-09 04:26:42+0000 [SSHServerTransport,1,127.0.0.1] Got remote error, code 11
    reason: disconnected by user
2013-04-09 04:26:42+0000 [SSHServerTransport,1,127.0.0.1] connection lost
   d1c05d8..194408d  master -> master

==> /var/log/openruko/dynohost.log <==
c26ee86b-46c1-22a9-540a-f358e076109e - Cleaning up dyno

wait 15s
c26ee86b-46c1-22a9-540a-f358e076109e - Cleaned up

==> /var/log/openruko/apiserver.log <==
127.0.0.1 [post] /internal/updatestate
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat
127.0.0.1 [post] /internal/incrementHeartbeat

curl on keepgreen.mymachine.me:8080/hello.txt
spawn curl keepgreen.mymachine.me:8080/hello.txt

==> /var/l
Filirom1 commented 11 years ago

The integration test works on your machine too. There is no reason for the readme example to not work.

I am sorry but could you please try again the Readme example with openruko logs in background ?

Filirom1 commented 11 years ago

Can i close it ?

natea commented 11 years ago

i'm destroying the vagrant box and starting over from scratch. one thing i noticed when running vagrant up was this:

[default] Available bridged network interfaces: 1) en0: Wi-Fi (AirPort) 2) p2p0 What interface should the network bridge to? 1

Should I be choosing my Wi-Fi as the bridged network interfaace or p2p0?

On Tue, Apr 9, 2013 at 2:52 PM, Romain notifications@github.com wrote:

Can i close it ?

— Reply to this email directly or view it on GitHubhttps://github.com/openruko/vagrant-openruko/issues/12#issuecomment-16132474 .

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

natea commented 11 years ago

also, could this cause problems?

[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.10

On Tue, Apr 9, 2013 at 3:08 PM, Nate Aune nate@appsembler.com wrote:

i'm destroying the vagrant box and starting over from scratch. one thing i noticed when running vagrant up was this:

[default] Available bridged network interfaces: 1) en0: Wi-Fi (AirPort) 2) p2p0 What interface should the network bridge to? 1

Should I be choosing my Wi-Fi as the bridged network interfaace or p2p0?

On Tue, Apr 9, 2013 at 2:52 PM, Romain notifications@github.com wrote:

Can i close it ?

— Reply to this email directly or view it on GitHubhttps://github.com/openruko/vagrant-openruko/issues/12#issuecomment-16132474 .

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

Filirom1 commented 11 years ago

Use the network interface with internet access (I think the wifi).

The Virtualbox guest additions is not the problem. I have the same on my machine (ArchLinux)

natea commented 11 years ago

I destroyed the vbox and created a new one with vagrant up. All the tests passed, but when I tried to deploy the node.js app, the same error occurred:

vagrant@precise64:~/myapp$ git init
Initialized empty Git repository in /home/vagrant/myapp/.git/
vagrant@precise64:~/myapp$ npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sane defaults.

See `npm help json` for definitive documentation on these fields
and exactly what they do.

Use `npm install <pkg> --save` afterwards to install a package and
save it as a dependency in the package.json file.

Press ^C at any time to quit.
name: (myapp) 
version: (0.0.0) 
description: 
entry point: (index.js) 
test command: 
git repository: 
keywords: 
author: 
license: (BSD) 
About to write to /home/vagrant/myapp/package.json:

{
  "name": "myapp",
  "version": "0.0.0",
  "description": "ERROR: No README.md file found!",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": "",
  "author": "",
  "license": "BSD"
}

Is this ok? (yes) yes
npm WARN package.json myapp@0.0.0 No README.md file found!
vagrant@precise64:~/myapp$ ls
index.js  package.json  Procfile
vagrant@precise64:~/myapp$ git add -A
vagrant@precise64:~/myapp$ git commit -m 'first commit'
[master (root-commit) 4e57f1d] first commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 3 files changed, 19 insertions(+)
 create mode 100644 Procfile
 create mode 100644 index.js
 create mode 100644 package.json
vagrant@precise64:~/myapp$ ~/openruko/client/openruko create myapp
Creating myapp... done, stack is cedar
http://myapp.mymachine.me/ | git@mymachine.me:myapp.git
Git remote heroku added
vagrant@precise64:~/myapp$ git push heroku master

 ! Unable to contact build server.

fatal: The remote end hung up unexpectedly
Filirom1 commented 11 years ago

It's just crazy, could you try that please :

TEST_DIR=/tmp/openruko-tests
rm -fr $TEST_DIR
mkdir $TEST_DIR
cd $TEST_DIR

cat >> package.json <<EOF
{
  "name": "hello-world",
  "description": "hello world test app",
  "version": "0.0.1",
  "private": true,
  "engines": {
    "node": "0.8.x",
    "npm": "1.1.x"
  },
  "dependencies": {
    "express": "3.x"
  }
}
EOF

cat >> server.js <<EOF
  var express = require('express');
  var app = express();
  app.get('/hello.txt', function(req, res){
    res.send('Hello World');
  });
  var port = process.env.PORT;
  app.listen(port);
  console.log('Listening on port ' + port);
  setInterval(function(){
    console.log('interval 1s:', process.env.KEY1);
  }, 1000);
EOF

cat >> Procfile << EOF
web: node server.js
EOF

git init
git add -A
git commit -m "first commit"

~/openruko/client/openruko create keepgreen

git push heroku master 
curl keepgreen.mymachine.me:8080/hello.txt

It should works because it is the integration test example :

https://github.com/openruko/integration-tests/blob/master/tests/40-apps.sh https://github.com/openruko/integration-tests/blob/master/tests/60-push.sh#L12

natea commented 11 years ago

here's the output:

➜  standalone git:(master) vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

123 packages can be updated.
51 updates are security updates.

Welcome to your Vagrant-built virtual machine.
Last login: Tue Apr  9 19:19:31 2013 from 10.0.2.2
vagrant@precise64:~$ TEST_DIR=/tmp/openruko-tests
vagrant@precise64:~$ rm -fr $TEST_DIR
vagrant@precise64:~$ mkdir $TEST_DIR
vagrant@precise64:~$ cd $TEST_DIR
vagrant@precise64:/tmp/openruko-tests$
vagrant@precise64:/tmp/openruko-tests$ cat >> package.json <<EOF
> {
>   "name": "hello-world",
>   "description": "hello world test app",
>   "version": "0.0.1",
>   "private": true,
>   "engines": {
>     "node": "0.8.x",
>     "npm": "1.1.x"
>   },
>   "dependencies": {
>     "express": "3.x"
>   }
> }
> EOF
vagrant@precise64:/tmp/openruko-tests$
vagrant@precise64:/tmp/openruko-tests$ cat >> server.js <<EOF
>   var express = require('express');
>   var app = express();
>   app.get('/hello.txt', function(req, res){
>     res.send('Hello World');
>   });
>   var port = process.env.PORT;
>   app.listen(port);
>   console.log('Listening on port ' + port);
>   setInterval(function(){
>     console.log('interval 1s:', process.env.KEY1);
>   }, 1000);
> EOF
vagrant@precise64:/tmp/openruko-tests$
vagrant@precise64:/tmp/openruko-tests$ cat >> Procfile << EOF
> web: node server.js
> EOF
vagrant@precise64:/tmp/openruko-tests$
vagrant@precise64:/tmp/openruko-tests$ git init
Initialized empty Git repository in /tmp/openruko-tests/.git/
vagrant@precise64:/tmp/openruko-tests$ git add -A
vagrant@precise64:/tmp/openruko-tests$ git commit -m "first commit"
[master (root-commit) 65a72df] first commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 3 files changed, 25 insertions(+)
 create mode 100644 Procfile
 create mode 100644 package.json
 create mode 100644 server.js
vagrant@precise64:/tmp/openruko-tests$
vagrant@precise64:/tmp/openruko-tests$ git push heroku master
fatal: 'heroku' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
vagrant@precise64:/tmp/openruko-tests$ curl
keepgreen.mymachine.me:8080/hello.txt
Not foundvagrant@precise64:/tmp/openruko-tests$

On Tue, Apr 9, 2013 at 4:16 PM, Romain notifications@github.com wrote:

It's just crazy, could you try that please :

TEST_DIR=/tmp/openruko-tests rm -fr $TEST_DIR mkdir $TEST_DIR cd $TEST_DIR

cat >> package.json <<EOF { "name": "hello-world", "description": "hello world test app", "version": "0.0.1", "private": true, "engines": { "node": "0.8.x", "npm": "1.1.x" }, "dependencies": { "express": "3.x" } } EOF

cat >> server.js <<EOF var express = require('express'); var app = express(); app.get('/hello.txt', function(req, res){ res.send('Hello World'); }); var port = process.env.PORT; app.listen(port); console.log('Listening on port ' + port); setInterval(function(){ console.log('interval 1s:', process.env.KEY1); }, 1000); EOF

cat >> Procfile << EOF web: node server.js EOF

git init git add -A git commit -m "first commit"

git push heroku master curl keepgreen.mymachine.me:8080/hello.txt

It should works because it is the integration test example :

https://github.com/openruko/integration-tests/blob/master/tests/40-apps.sh

https://github.com/openruko/integration-tests/blob/master/tests/60-push.sh#L12

— Reply to this email directly or view it on GitHubhttps://github.com/openruko/vagrant-openruko/issues/12#issuecomment-16137287 .

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

natea commented 11 years ago

Still not working. :( Here's the log:

standalone git:(master) vagrant ssh
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

123 packages can be updated.
51 updates are security updates.

Welcome to your Vagrant-built virtual machine.
Last login: Tue Apr  9 19:19:31 2013 from 10.0.2.2
vagrant@precise64:~$ TEST_DIR=/tmp/openruko-tests
vagrant@precise64:~$ rm -fr $TEST_DIR
vagrant@precise64:~$ mkdir $TEST_DIR
vagrant@precise64:~$ cd $TEST_DIR
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ cat >> package.json <<EOF
> {
>   "name": "hello-world",
>   "description": "hello world test app",
>   "version": "0.0.1",
>   "private": true,
>   "engines": {
>     "node": "0.8.x",
>     "npm": "1.1.x"
>   },
>   "dependencies": {
>     "express": "3.x"
>   }
> }
> EOF
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ cat >> server.js <<EOF
>   var express = require('express');
>   var app = express();
>   app.get('/hello.txt', function(req, res){
>     res.send('Hello World');
>   });
>   var port = process.env.PORT;
>   app.listen(port);
>   console.log('Listening on port ' + port);
>   setInterval(function(){
>     console.log('interval 1s:', process.env.KEY1);
>   }, 1000);
> EOF
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ cat >> Procfile << EOF
> web: node server.js
> EOF
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ git init
Initialized empty Git repository in /tmp/openruko-tests/.git/
vagrant@precise64:/tmp/openruko-tests$ git add -A
vagrant@precise64:/tmp/openruko-tests$ git commit -m "first commit"
[master (root-commit) 65a72df] first commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 3 files changed, 25 insertions(+)
 create mode 100644 Procfile
 create mode 100644 package.json
 create mode 100644 server.js
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ git push heroku master 
fatal: 'heroku' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
vagrant@precise64:/tmp/openruko-tests$ curl keepgreen.mymachine.me:8080/hello.txt
Not foundvagrant@precise64:/tmp/openruko-tests$ 
Filirom1 commented 11 years ago

You miss the openruko create keepgreen. Copy paste from github, not the email

natea commented 11 years ago

ahh.. i don't know how i missed that.

now when i try to restart the vbox, i'm getting this error:

vagrant up
[default] VM already created. Booting if it's not already running...
[default] Clearing any previously set forwarded ports...
There was an error executing the following command with VBoxManage:

["modifyvm", "3f95533a-0044-4dde-b2b3-7f82a5d3b131", "--natpf1", "delete",
"ssh"]

For more information on the failure, enable detailed logging with
VAGRANT_LOG.

could this be because i recently upgraded my VirtualBox?

On Wed, Apr 10, 2013 at 2:23 AM, Romain notifications@github.com wrote:

You miss the openruko create keepgreen. Copy paste from github, not the email

— Reply to this email directly or view it on GitHubhttps://github.com/openruko/vagrant-openruko/issues/12#issuecomment-16157515 .

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

natea commented 11 years ago

Never mind. I had 'paused' the VM which explains why it wouldn't let me vagrant up.

On Thu, Apr 11, 2013 at 11:35 AM, Nate Aune nate@appsembler.com wrote:

ahh.. i don't know how i missed that.

now when i try to restart the vbox, i'm getting this error:

vagrant up
[default] VM already created. Booting if it's not already running...
[default] Clearing any previously set forwarded ports...
There was an error executing the following command with VBoxManage:

["modifyvm", "3f95533a-0044-4dde-b2b3-7f82a5d3b131", "--natpf1", "delete",
"ssh"]

For more information on the failure, enable detailed logging with
VAGRANT_LOG.

could this be because i recently upgraded my VirtualBox?

On Wed, Apr 10, 2013 at 2:23 AM, Romain notifications@github.com wrote:

You miss the openruko create keepgreen. Copy paste from github, not the email

— Reply to this email directly or view it on GitHubhttps://github.com/openruko/vagrant-openruko/issues/12#issuecomment-16157515 .

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

nate@appsembler.com +1 (617) 517-4953 http://twitter.com/natea | http://linkedin.com/in/natea

natea commented 11 years ago

Okay, I've created the app but I'm still getting the message "Unable to contact the build server."

vagrant@precise64:~$ ~/openruko/client/openruko create breakfast
Creating breakfast... done, stack is cedar
http://breakfast.mymachine.me/ | git@mymachine.me:breakfast.git
vagrant@precise64:~$ cd ~/myapp/
vagrant@precise64:~/myapp$ ls
index.js  package.json  Procfile
vagrant@precise64:~/myapp$ git push heroku master

 ! Unable to contact build server.

fatal: The remote end hung up unexpectedly
Filirom1 commented 11 years ago

I am sorry but I don't undersand why it doesn't work for you.

natea commented 11 years ago

Now it seems to be some sort of public key issue:

$ git push heroku master 
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

Full traceback following your instructions from before:

vagrant@precise64:~/myapp$ TEST_DIR=/tmp/openruko-tests
vagrant@precise64:~/myapp$ rm -fr $TEST_DIR
vagrant@precise64:~/myapp$ mkdir $TEST_DIR
vagrant@precise64:~/myapp$ cd $TEST_DIR
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ cat >> package.json <<EOF
> {
>   "name": "hello-world",
>   "description": "hello world test app",
>   "version": "0.0.1",
>   "private": true,
>   "engines": {
>     "node": "0.8.x",
>     "npm": "1.1.x"
>   },
>   "dependencies": {
>     "express": "3.x"
>   }
> }
> EOF
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ cat >> server.js <<EOF
>   var express = require('express');
>   var app = express();
>   app.get('/hello.txt', function(req, res){
>     res.send('Hello World');
>   });
>   var port = process.env.PORT;
>   app.listen(port);
>   console.log('Listening on port ' + port);
>   setInterval(function(){
>     console.log('interval 1s:', process.env.KEY1);
>   }, 1000);
> EOF
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ cat >> Procfile << EOF
> web: node server.js
> EOF
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ git init
Initialized empty Git repository in /tmp/openruko-tests/.git/
vagrant@precise64:/tmp/openruko-tests$ git add -A
vagrant@precise64:/tmp/openruko-tests$ git commit -m "first commit"
[master (root-commit) a427cf1] first commit
 Committer: Rukosan <vagrant@precise64.(none)>
Your name and email address were configured automatically based
on your username and hostname. Please check that they are accurate.
You can suppress this message by setting them explicitly:

    git config --global user.name "Your Name"
    git config --global user.email you@example.com

After doing this, you may fix the identity used for this commit with:

    git commit --amend --reset-author

 3 files changed, 25 insertions(+)
 create mode 100644 Procfile
 create mode 100644 package.json
 create mode 100644 server.js
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ ~/openruko/client/openruko create keepgreen
 !    Name is aleady taken.
vagrant@precise64:/tmp/openruko-tests$ 
vagrant@precise64:/tmp/openruko-tests$ git push heroku master 
fatal: 'heroku' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
vagrant@precise64:/tmp/openruko-tests$ ~/openruko/client/openruko create keepgre  
Creating keepgre... done, stack is cedar
http://keepgre.mymachine.me/ | git@mymachine.me:keepgre.git
Git remote heroku added
vagrant@precise64:/tmp/openruko-tests$ git push heroku master 
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Filirom1 commented 11 years ago

Like in heroku, you need to upload your public key :

~/openruko/client/openruko keys:add 
natea commented 11 years ago

aha! Now it's working :)

vagrant@precise64:/tmp/openruko-tests$ ~/openruko/client/openruko keys:add 
Found existing public key: /home/vagrant/.ssh/id_rsa.pub
Uploading SSH public key /home/vagrant/.ssh/id_rsa.pub... done
vagrant@precise64:/tmp/openruko-tests$ git push heroku master 
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (5/5), 651 bytes, done.
Total 5 (delta 0), reused 0 (delta 0)

-----> Openruko receiving git push
-----> Node.js app detected
-----> Resolving engine versions
       Using Node.js version: 0.8.23
       Using npm version: 1.1.65
-----> Fetching Node.js binaries
-----> Vendoring node into slug
-----> Installing dependencies with npm
       npm WARN package.json hello-world@0.0.1 No README.md file found!
       npm http GET http://registry.npmjs.org/express
       npm http 200 http://registry.npmjs.org/express
       npm http GET http://registry.npmjs.org/express/-/express-3.1.1.tgz
       npm http 200 http://registry.npmjs.org/express/-/express-3.1.1.tgz
       npm http GET http://registry.npmjs.org/connect/2.7.4
       npm http GET http://registry.npmjs.org/commander/0.6.1
       npm http GET http://registry.npmjs.org/range-parser/0.0.4
       npm http GET http://registry.npmjs.org/mkdirp
       npm http GET http://registry.npmjs.org/cookie/0.0.5
       npm http GET http://registry.npmjs.org/buffer-crc32
       npm http GET http://registry.npmjs.org/fresh/0.1.0
       npm http GET http://registry.npmjs.org/methods/0.0.1
       npm http GET http://registry.npmjs.org/send/0.1.0
       npm http GET http://registry.npmjs.org/cookie-signature/0.0.1
       npm http GET http://registry.npmjs.org/debug
       npm http 200 http://registry.npmjs.org/range-parser/0.0.4
       npm http GET http://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
       npm http 200 http://registry.npmjs.org/connect/2.7.4
       npm http GET http://registry.npmjs.org/connect/-/connect-2.7.4.tgz
       npm http 200 http://registry.npmjs.org/mkdirp
       npm http GET http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
       npm http 200 http://registry.npmjs.org/commander/0.6.1
       npm http 200 http://registry.npmjs.org/cookie/0.0.5
       npm http GET http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
       npm http GET http://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
       npm http 200 http://registry.npmjs.org/fresh/0.1.0
       npm http GET http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/methods/0.0.1
       npm http GET http://registry.npmjs.org/methods/-/methods-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/cookie-signature/0.0.1
       npm http 200 http://registry.npmjs.org/buffer-crc32
       npm http GET http://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz
       npm http GET http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
       npm http 200 http://registry.npmjs.org/send/0.1.0
       npm http 200 http://registry.npmjs.org/range-parser/-/range-parser-0.0.4.tgz
       npm http 200 http://registry.npmjs.org/connect/-/connect-2.7.4.tgz
       npm http 200 http://registry.npmjs.org/mkdirp/-/mkdirp-0.3.5.tgz
       npm http GET http://registry.npmjs.org/send/-/send-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/debug
       npm http 200 http://registry.npmjs.org/commander/-/commander-0.6.1.tgz
       npm http GET http://registry.npmjs.org/debug/-/debug-0.7.2.tgz
       npm http 200 http://registry.npmjs.org/cookie/-/cookie-0.0.5.tgz
       npm http 200 http://registry.npmjs.org/fresh/-/fresh-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/methods/-/methods-0.0.1.tgz
       npm WARN package.json methods@0.0.1 No README.md file found!
       npm http 200 http://registry.npmjs.org/cookie-signature/-/cookie-signature-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.1.tgz
       npm http 200 http://registry.npmjs.org/send/-/send-0.1.0.tgz
       npm http 200 http://registry.npmjs.org/debug/-/debug-0.7.2.tgz
       npm http GET http://registry.npmjs.org/mime/1.2.6
       npm http GET http://registry.npmjs.org/qs/0.5.1
       npm http GET http://registry.npmjs.org/formidable/1.0.11
       npm http GET http://registry.npmjs.org/buffer-crc32/0.1.1
       npm http GET http://registry.npmjs.org/bytes/0.2.0
       npm http GET http://registry.npmjs.org/pause/0.0.1
       npm http 200 http://registry.npmjs.org/mime/1.2.6
       npm http GET http://registry.npmjs.org/mime/-/mime-1.2.6.tgz
       npm http 200 http://registry.npmjs.org/pause/0.0.1
       npm http GET http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/mime/-/mime-1.2.6.tgz
       npm http 200 http://registry.npmjs.org/formidable/1.0.11
       npm http 200 http://registry.npmjs.org/qs/0.5.1
       npm http GET http://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz
       npm http GET http://registry.npmjs.org/qs/-/qs-0.5.1.tgz
       npm http 200 http://registry.npmjs.org/bytes/0.2.0
       npm http GET http://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/0.1.1
       npm http GET http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz
       npm http 200 http://registry.npmjs.org/pause/-/pause-0.0.1.tgz
       npm http 200 http://registry.npmjs.org/qs/-/qs-0.5.1.tgz
       npm http 200 http://registry.npmjs.org/bytes/-/bytes-0.2.0.tgz
       npm http 200 http://registry.npmjs.org/formidable/-/formidable-1.0.11.tgz
       npm http 200 http://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.1.1.tgz
       express@3.1.1 node_modules/express
       ├── methods@0.0.1
       ├── fresh@0.1.0
       ├── range-parser@0.0.4
       ├── cookie-signature@0.0.1
       ├── buffer-crc32@0.2.1
       ├── cookie@0.0.5
       ├── debug@0.7.2
       ├── commander@0.6.1
       ├── mkdirp@0.3.5
       ├── send@0.1.0 (mime@1.2.6)
       └── connect@2.7.4 (pause@0.0.1, bytes@0.2.0, buffer-crc32@0.1.1, formidable@1.0.11, qs@0.5.1)
       npm WARN package.json hello-world@0.0.1 No README.md file found!
       express@3.1.1 /tmp/checkout/node_modules/express
       connect@2.7.4 /tmp/checkout/node_modules/express/node_modules/connect
       qs@0.5.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/qs
       formidable@1.0.11 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/formidable
       cookie-signature@0.0.1 /tmp/checkout/node_modules/express/node_modules/cookie-signature
       buffer-crc32@0.1.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/buffer-crc32
       cookie@0.0.5 /tmp/checkout/node_modules/express/node_modules/cookie
       send@0.1.0 /tmp/checkout/node_modules/express/node_modules/send
       debug@0.7.2 /tmp/checkout/node_modules/express/node_modules/debug
       mime@1.2.6 /tmp/checkout/node_modules/express/node_modules/send/node_modules/mime
       fresh@0.1.0 /tmp/checkout/node_modules/express/node_modules/fresh
       range-parser@0.0.4 /tmp/checkout/node_modules/express/node_modules/range-parser
       bytes@0.2.0 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/bytes
       pause@0.0.1 /tmp/checkout/node_modules/express/node_modules/connect/node_modules/pause
       commander@0.6.1 /tmp/checkout/node_modules/express/node_modules/commander
       mkdirp@0.3.5 /tmp/checkout/node_modules/express/node_modules/mkdirp
       buffer-crc32@0.2.1 /tmp/checkout/node_modules/express/node_modules/buffer-crc32
       methods@0.0.1 /tmp/checkout/node_modules/express/node_modules/methods
       Dependencies installed
-----> Building runtime environment
-----> Discovering process types
       Procfile declares types -> web
       Default process types for Node.js ->
-----> Compiled slug size is 4.5M /tmp/slug.tgz
       Using slug_id: 1365695328.32873
-----> Launching... done v 3
       http://keepgre.mymachine.me/ deployed to Openruko

To git@mymachine.me:keepgre.git
 * [new branch]      master -> master
vagrant@precise64:/tmp/openruko-tests$ curl keepgre.mymachine.me:8080/hello.txt

It would be really great if that openruko keys:add step was in the docs/README. It would save the next guy some hair pulling out. ;)

Filirom1 commented 11 years ago

Done https://github.com/openruko/vagrant-openruko/commit/a1f4574a268d868620cf3e6f105426a97bfeef60 ;)