Created
February 14, 2013 00:16
-
-
Save mkocher/4949642 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |ruby-1.9.3-p194| steuart in ~/workspace/hello | |
| ○ → vmc push -t | |
| Failed to load tunnel-dummy-vmc-plugin: | |
| Unable to activate tunnel-dummy-vmc-plugin-0.0.2, because cfoundry-0.5.0 conflicts with cfoundry (~> 0.4.0) | |
| You may need to update or remove this plugin. | |
| Name> foo | |
| >>> | |
| REQUEST: GET http://api.vcap.me:9080/apps/foo | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 0 | |
| RESPONSE: [404] | |
| RESPONSE_HEADERS: | |
| cache-control : no-cache | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:26 GMT | |
| server : nginx | |
| transfer-encoding : chunked | |
| vary : Accept-Encoding, Accept-Encoding | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "code": 301, | |
| "description": "Application not found" | |
| } | |
| <<< | |
| Instances> 1 | |
| >>> | |
| REQUEST: GET http://api.vcap.me:9080/info | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 0 | |
| RESPONSE: [200] | |
| RESPONSE_HEADERS: | |
| cache-control : max-age=0, private, must-revalidate | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:46 GMT | |
| etag : "64c6c483988b2d4af6864c2c1f7e1db3" | |
| server : nginx | |
| transfer-encoding : chunked | |
| vary : Accept-Encoding, Accept-Encoding | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "name": "vcap", | |
| "build": 2222, | |
| "support": "http://support.cloudfoundry.com", | |
| "version": "0.999", | |
| "description": "VMWare's Cloud Application Platform", | |
| "allow_debug": true, | |
| "frameworks": { | |
| "sinatra": { | |
| "name": "sinatra", | |
| "runtimes": [ | |
| { | |
| "name": "ruby19", | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2" | |
| } | |
| ], | |
| "detection": [ | |
| { | |
| "*.rb": "\\s*require[\\s\\(]*['\"]sinatra(/base)?['\"]" | |
| }, | |
| { | |
| "config/environment.rb": false | |
| } | |
| ] | |
| }, | |
| "rails3": { | |
| "name": "rails3", | |
| "runtimes": [ | |
| { | |
| "name": "ruby19", | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2" | |
| } | |
| ], | |
| "detection": [ | |
| { | |
| "config/application.rb": true | |
| }, | |
| { | |
| "config/environment.rb": true | |
| } | |
| ] | |
| } | |
| }, | |
| "user": "bob@frank.org", | |
| "limits": { | |
| "memory": 2048, | |
| "app_uris": 4, | |
| "services": 16, | |
| "apps": 20 | |
| }, | |
| "usage": { | |
| "memory": 128, | |
| "apps": 1, | |
| "services": 0 | |
| } | |
| } | |
| <<< | |
| >>> | |
| REQUEST: GET http://api.vcap.me:9080/info | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 0 | |
| RESPONSE: [200] | |
| RESPONSE_HEADERS: | |
| cache-control : max-age=0, private, must-revalidate | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:46 GMT | |
| etag : "64c6c483988b2d4af6864c2c1f7e1db3" | |
| server : nginx | |
| transfer-encoding : chunked | |
| vary : Accept-Encoding, Accept-Encoding | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "name": "vcap", | |
| "build": 2222, | |
| "support": "http://support.cloudfoundry.com", | |
| "version": "0.999", | |
| "description": "VMWare's Cloud Application Platform", | |
| "allow_debug": true, | |
| "frameworks": { | |
| "sinatra": { | |
| "name": "sinatra", | |
| "runtimes": [ | |
| { | |
| "name": "ruby19", | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2" | |
| } | |
| ], | |
| "detection": [ | |
| { | |
| "*.rb": "\\s*require[\\s\\(]*['\"]sinatra(/base)?['\"]" | |
| }, | |
| { | |
| "config/environment.rb": false | |
| } | |
| ] | |
| }, | |
| "rails3": { | |
| "name": "rails3", | |
| "runtimes": [ | |
| { | |
| "name": "ruby19", | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2" | |
| } | |
| ], | |
| "detection": [ | |
| { | |
| "config/application.rb": true | |
| }, | |
| { | |
| "config/environment.rb": true | |
| } | |
| ] | |
| } | |
| }, | |
| "user": "bob@frank.org", | |
| "limits": { | |
| "memory": 2048, | |
| "app_uris": 4, | |
| "services": 16, | |
| "apps": 20 | |
| }, | |
| "usage": { | |
| "memory": 128, | |
| "apps": 1, | |
| "services": 0 | |
| } | |
| } | |
| <<< | |
| 1: sinatra | |
| 2: other | |
| Framework> sinatra | |
| >>> | |
| REQUEST: GET http://api.vcap.me:9080/info/runtimes | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 0 | |
| RESPONSE: [200] | |
| RESPONSE_HEADERS: | |
| cache-control : max-age=0, private, must-revalidate | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:48 GMT | |
| etag : "c0bae2cdc9d5f432f4d44c61d3c03bcf" | |
| server : nginx | |
| transfer-encoding : chunked | |
| vary : Accept-Encoding, Accept-Encoding | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "ruby19": { | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2", | |
| "debug_modes": null | |
| } | |
| } | |
| <<< | |
| >>> | |
| REQUEST: GET http://api.vcap.me:9080/info/runtimes | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 0 | |
| RESPONSE: [200] | |
| RESPONSE_HEADERS: | |
| cache-control : max-age=0, private, must-revalidate | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:48 GMT | |
| etag : "c0bae2cdc9d5f432f4d44c61d3c03bcf" | |
| server : nginx | |
| transfer-encoding : chunked | |
| vary : Accept-Encoding, Accept-Encoding | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "ruby19": { | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2", | |
| "debug_modes": null | |
| } | |
| } | |
| <<< | |
| 1: ruby19 | |
| 2: other | |
| Runtime> ruby19 | |
| >>> | |
| REQUEST: GET http://api.vcap.me:9080/info | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 0 | |
| RESPONSE: [200] | |
| RESPONSE_HEADERS: | |
| cache-control : max-age=0, private, must-revalidate | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:50 GMT | |
| etag : "64c6c483988b2d4af6864c2c1f7e1db3" | |
| server : nginx | |
| transfer-encoding : chunked | |
| vary : Accept-Encoding, Accept-Encoding | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "name": "vcap", | |
| "build": 2222, | |
| "support": "http://support.cloudfoundry.com", | |
| "version": "0.999", | |
| "description": "VMWare's Cloud Application Platform", | |
| "allow_debug": true, | |
| "frameworks": { | |
| "sinatra": { | |
| "name": "sinatra", | |
| "runtimes": [ | |
| { | |
| "name": "ruby19", | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2" | |
| } | |
| ], | |
| "detection": [ | |
| { | |
| "*.rb": "\\s*require[\\s\\(]*['\"]sinatra(/base)?['\"]" | |
| }, | |
| { | |
| "config/environment.rb": false | |
| } | |
| ] | |
| }, | |
| "rails3": { | |
| "name": "rails3", | |
| "runtimes": [ | |
| { | |
| "name": "ruby19", | |
| "version": "1.9.2p290", | |
| "description": "Ruby 1.9.2" | |
| } | |
| ], | |
| "detection": [ | |
| { | |
| "config/application.rb": true | |
| }, | |
| { | |
| "config/environment.rb": true | |
| } | |
| ] | |
| } | |
| }, | |
| "user": "bob@frank.org", | |
| "limits": { | |
| "memory": 2048, | |
| "app_uris": 4, | |
| "services": 16, | |
| "apps": 20 | |
| }, | |
| "usage": { | |
| "memory": 128, | |
| "apps": 1, | |
| "services": 0 | |
| } | |
| } | |
| <<< | |
| 1: 64M | |
| 2: 128M | |
| 3: 256M | |
| 4: 512M | |
| 5: 1G | |
| Memory Limit> 128M | |
| Creating foo>>> | |
| REQUEST: POST http://api.vcap.me:9080/apps | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 102 | |
| Content-Type : application/json | |
| REQUEST_BODY: {"name":"foo","instances":1,"staging":{"model":"sinatra","stack":"ruby19"},"resources":{"memory":128}} | |
| . RESPONSE: [302] | |
| RESPONSE_HEADERS: | |
| cache-control : no-cache | |
| connection : keep-alive | |
| content-type : application/json; charset=utf-8 | |
| date : Thu, 14 Feb 2013 00:10:52 GMT | |
| location : http://api.vcap.me/apps/foo | |
| server : nginx | |
| transfer-encoding : chunked | |
| x-ua-compatible : IE=Edge,chrome=1 | |
| RESPONSE_BODY: | |
| { | |
| "result": "success", | |
| "redirect": "http://api.vcap.me/apps/foo" | |
| } | |
| <<< | |
| >>> | |
| REQUEST: GET http://api.vcap.me/apps/foo | |
| REQUEST_HEADERS: | |
| Accept : application/json | |
| Authorization : 04085b08492212626f62406672616e6b2e6f7267063a0645546c2b074a6325512219a614fd1a533e0a4ea9cad0a589202192dc0a8eac | |
| Content-Length : 102 | |
| Content-Type : application/json | |
| REQUEST_BODY: {"name":"foo","instances":1,"staging":{"model":"sinatra","stack":"ruby19"},"resources":{"memory":128}} | |
| ... FAILED | |
| CFoundry::TargetRefused: target refused connection (Connection refused - connect(2)) | |
| For more information, see ~/.vmc/crash | |
| |ruby-1.9.3-p194| steuart in ~/workspace/hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment