Skip to content

Instantly share code, notes, and snippets.

View ingydotnet's full-sized avatar

Ingy döt Net ingydotnet

View GitHub Profile
stackato@stackato:~$ cat stackato/vcap/GITDESCRIBE
v0.5.2-60-g788ef12
stackato@stackato:~$ ls -l /etc/udev/rules.d/70-persistent-cd.rules
-rw-r--r-- 1 root root 530 2011-12-04 18:41 /etc/udev/rules.d/70-persistent-cd.rules
stackato@stackato:~$ cat /etc/udev/rules.d/70-persistent-cd.rules
# This file was automatically generated by the /lib/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.
ingy@thinkingy:~/Work/stackato/console/web$ curl -k -v -d "[email protected]&password=admin&unix_password=admin" https://api.stackato.local/stackato/setup
* About to connect() to api.stackato.local port 443 (#0)
* Trying 192.168.1.113... connected
* Connected to api.stackato.local (192.168.1.113) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: none
CApath: /etc/ssl/certs
* SSLv3, TLS handshake, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
http://google.com/
old: |2+
kjshdk
new: """
kjshdk
"""
old: |2+
kjshdk
new:
"
kjshdk
"
Staging Application [catalyst-welcome]: OK
Starting Application [catalyst-welcome]: ..........................
Error: Application [catalyst-welcome] failed to start, logs information below.
====> logs/staging.log <====
[2012-01-05 23:26:37] Starting staging operation
[2012-01-05 23:26:41] Setting up temporary directories
[2012-01-05 23:26:44] Fetching application bits from the Cloud Controller
[2012-01-05 23:26:46] Waiting for container to be ready
[2012-01-05 23:26:51] Staging application
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato apps
+------------------+---+--------+--------------------------------------+----------+
| Application | # | Health | URLS | Services |
+------------------+---+--------+--------------------------------------+----------+
| catalyst-welcome | 1 | 0% | catalyst-welcome.stackato-a4ye.local | |
| env | 1 | 0% | env.stackato-a4ye.local | |
+------------------+---+--------+--------------------------------------+----------+
ingy@thinkingy:~/.work/as/stackato-samples/node/node-env$ stackato delete catalyst-welcome
Deleting application [catalyst-welcome]: OK
[2012-01-11 17:38:12] cc - 927 a822 1111 INFO -- SETUP: resetting setup
[2012-01-11 17:38:12] cc - 927 a822 1111 INFO -- SETUP: deleting all users, their services and apps
[2012-01-11 17:38:12] cc - 927 a822 1111 INFO -- SETUP: deleting user: [email protected]
[2012-01-11 17:38:12] cc - 927 a822 1111 ERROR -- Exception Caught (NameError): undefined local variable or method `target_user' for #<User:0x00000007145f80>
[2012-01-11 17:38:12] cc exception 927 a822 1111 ERROR -- NameError("undefined local variable or method `target_user' for #<User:0x00000007145f80>", [/opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activemodel-3.0.5/lib/active_model/attribute_methods.rb:364:in `method_missing',/opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activerecord-3.0.5/lib/active_record/attribute_methods.rb:46:in `method_missing',/home/stackato/stackato/vcap/cloud_controller/app/models/user.rb:92:in `block in delete',/opt/rubies/1.9.2-p290/lib/ruby/gems/1.9.1/gems/activerecord-3.0.5/lib/active_record/associations/associa
ingy@thinkingy:~/.work/as/stackato/vm/packaging-scripts$ ./vbox_install master stackato
Stackato-Ubuntu-10.04.3-x64_BASE
Downloading base image...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 204M 100 204M 0 0 1078k 0 0:03:14 0:03:14 --:--:-- 1024k
Verifying checksums:
Actual: 8012af007b91d6bca0ad144b28ff3766
Downloaded: 8012af007b91d6bca0ad144b28ff3766
Checksum OK
[2012-01-15 11:17:15] dea - 29018 2b95 c982 INFO -- Starting VCAP DEA (0.99)
[2012-01-15 11:17:15] dea - 29018 2b95 c982 INFO -- Pid file: /var/vcap/sys/run/dea.pid
[2012-01-15 11:17:15] dea - 29018 2b95 c982 INFO -- Using ruby @ /opt/rubies//1.9.2-p290/bin/ruby
[2012-01-15 11:17:15] dea - 29018 2b95 c982 INFO -- Checking runtimes:
[2012-01-15 11:17:15] dea - 29018 2b95 c982 INFO -- Starting runtimes check container...
[2012-01-15 11:17:31] dea - 29018 2b95 c982 INFO -- Container ready.
[2012-01-15 11:17:32] dea - 29018 2b95 c982 INFO -- java: OK
[2012-01-15 11:17:39] dea - 29018 2b95 c982 INFO -- lein: OK
[2012-01-15 11:17:40] dea - 29018 2b95 c982 INFO -- node: OK
[2012-01-15 11:17:41] dea - 29018 2b95 c982 INFO -- perl514: OK