Skip to content

Instantly share code, notes, and snippets.

@drnic
Created January 5, 2013 07:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drnic/4460317 to your computer and use it in GitHub Desktop.
Save drnic/4460317 to your computer and use it in GitHub Desktop.
# tail -n 200 -f /var/vcap/bosh/log//current
2013-01-05_07:17:01.30004 #[496] INFO: Starting agent 0.6.7...
2013-01-05_07:17:01.30012 #[496] INFO: Configuring agent...
2013-01-05_07:17:01.30965 #[496] INFO: Configuring instance
2013-01-05_07:17:02.28684 /var/vcap/bosh/agent/lib/agent/settings.rb:51:in `rescue in load_from_cache': could neither load infrastructure settings nor cached settings from: /var/vcap/bosh/settings.json (Bosh::Agent::LoadSettingsError)
2013-01-05_07:17:02.28702 from /var/vcap/bosh/agent/lib/agent/settings.rb:45:in `load_from_cache'
2013-01-05_07:17:02.28706 from /var/vcap/bosh/agent/lib/agent/settings.rb:23:in `rescue in load'
2013-01-05_07:17:02.28709 from /var/vcap/bosh/agent/lib/agent/settings.rb:20:in `load'
2013-01-05_07:17:02.28713 from /var/vcap/bosh/agent/lib/agent/settings.rb:9:in `load'
2013-01-05_07:17:02.28716 from /var/vcap/bosh/agent/lib/agent/bootstrap.rb:60:in `load_settings'
2013-01-05_07:17:02.28719 from /var/vcap/bosh/agent/lib/agent/bootstrap.rb:34:in `configure'
2013-01-05_07:17:02.28722 from /var/vcap/bosh/agent/lib/agent.rb:95:in `start'
2013-01-05_07:17:02.28725 from /var/vcap/bosh/agent/lib/agent.rb:74:in `run'
2013-01-05_07:17:02.28728 from /var/vcap/bosh/agent/bin/agent:97:in `<main>'
2013-01-05_07:17:03.62261 #[692] INFO: Starting agent 0.6.7...
2013-01-05_07:17:03.62269 #[692] INFO: Configuring agent...
2013-01-05_07:17:03.64202 #[692] INFO: Configuring instance
2013-01-05_07:17:04.21775 /var/vcap/bosh/agent/lib/agent/settings.rb:51:in `rescue in load_from_cache': could neither load infrastructure settings nor cached settings from: /var/vcap/bosh/settings.json (Bosh::Agent::LoadSettingsError)
2013-01-05_07:17:04.21793 from /var/vcap/bosh/agent/lib/agent/settings.rb:45:in `load_from_cache'
2013-01-05_07:17:04.21796 from /var/vcap/bosh/agent/lib/agent/settings.rb:23:in `rescue in load'
2013-01-05_07:17:04.21799 from /var/vcap/bosh/agent/lib/agent/settings.rb:20:in `load'
2013-01-05_07:17:04.21803 from /var/vcap/bosh/agent/lib/agent/settings.rb:9:in `load'
2013-01-05_07:17:04.21806 from /var/vcap/bosh/agent/lib/agent/bootstrap.rb:60:in `load_settings'
2013-01-05_07:17:04.21809 from /var/vcap/bosh/agent/lib/agent/bootstrap.rb:34:in `configure'
2013-01-05_07:17:04.21812 from /var/vcap/bosh/agent/lib/agent.rb:95:in `start'
2013-01-05_07:17:04.21815 from /var/vcap/bosh/agent/lib/agent.rb:74:in `run'
2013-01-05_07:17:04.21818 from /var/vcap/bosh/agent/bin/agent:97:in `<main>'
2013-01-05_07:17:05.50555 #[802] INFO: Starting agent 0.6.7...
2013-01-05_07:17:05.50563 #[802] INFO: Configuring agent...
2013-01-05_07:17:05.51086 #[802] INFO: Configuring instance
2013-01-05_07:17:05.96818 /var/vcap/bosh/agent/lib/agent/settings.rb:51:in `rescue in load_from_cache': could neither load infrastructure settings nor cached settings from: /var/vcap/bosh/settings.json (Bosh::Agent::LoadSettingsError)
2013-01-05_07:17:05.96837 from /var/vcap/bosh/agent/lib/agent/settings.rb:45:in `load_from_cache'
2013-01-05_07:17:05.96841 from /var/vcap/bosh/agent/lib/agent/settings.rb:23:in `rescue in load'
2013-01-05_07:17:05.96844 from /var/vcap/bosh/agent/lib/agent/settings.rb:20:in `load'
2013-01-05_07:17:05.96847 from /var/vcap/bosh/agent/lib/agent/settings.rb:9:in `load'
2013-01-05_07:17:05.96850 from /var/vcap/bosh/agent/lib/agent/bootstrap.rb:60:in `load_settings'
2013-01-05_07:17:05.96853 from /var/vcap/bosh/agent/lib/agent/bootstrap.rb:34:in `configure'
2013-01-05_07:17:05.96857 from /var/vcap/bosh/agent/lib/agent.rb:95:in `start'
2013-01-05_07:17:05.96860 from /var/vcap/bosh/agent/lib/agent.rb:74:in `run'
2013-01-05_07:17:05.96863 from /var/vcap/bosh/agent/bin/agent:97:in `<main>'
2013-01-05_07:17:07.29104 #[847] INFO: Starting agent 0.6.7...
2013-01-05_07:17:07.29112 #[847] INFO: Configuring agent...
2013-01-05_07:17:07.30661 #[847] INFO: Configuring instance
2013-01-05_07:17:10.70588 #[847] INFO: loaded new infrastructure settings: {"vm"=>{"name"=>"vm-d4eb5bed-f9ad-407d-94e5-b56a63e75684"}, "agent_id"=>"94e4c250-f27d-451b-837e-b219867d85c3", "networks"=>{"default"=>{"type"=>"dynamic", "cloud_properties"=>{"security_groups"=>["default"]}, "default"=>["dns", "gateway"]}, "vip_network"=>{"type"=>"vip", "ip"=>"54.235.200.165", "cloud_properties"=>{"security_groups"=>["default"]}}}, "disks"=>{"system"=>"/dev/sda1", "ephemeral"=>"/dev/sdb", "persistent"=>{}}, "env"=>{}, "ntp"=>[], "blobstore"=>{"plugin"=>"simple", "properties"=>{"endpoint"=>"http://54.235.193.28:25250", "user"=>"agent", "password"=>"agent"}}, "mbus"=>"nats://nats:nats@54.235.193.28:4222"}
2013-01-05_07:17:10.70635 #[847] INFO: Loaded settings: #<Bosh::Agent::Settings:0x00000003ac3390 @settings={"vm"=>{"name"=>"vm-d4eb5bed-f9ad-407d-94e5-b56a63e75684"}, "agent_id"=>"94e4c250-f27d-451b-837e-b219867d85c3", "networks"=>{"default"=>{"type"=>"dynamic", "cloud_properties"=>{"security_groups"=>["default"]}, "default"=>["dns", "gateway"]}, "vip_network"=>{"type"=>"vip", "ip"=>"54.235.200.165", "cloud_properties"=>{"security_groups"=>["default"]}}}, "disks"=>{"system"=>"/dev/sda1", "ephemeral"=>"/dev/sdb", "persistent"=>{}}, "env"=>{}, "ntp"=>[], "blobstore"=>{"plugin"=>"simple", "properties"=>{"endpoint"=>"http://54.235.193.28:25250", "user"=>"agent", "password"=>"agent"}}, "mbus"=>"nats://nats:nats@54.235.193.28:4222"}, @cache_file="/var/vcap/bosh/settings.json">
2013-01-05_07:17:10.72002 #[847] WARN: no ntp-servers configured
2013-01-05_07:17:10.72053 #[847] INFO: Found unformatted drive
2013-01-05_07:17:10.72059 #[847] INFO: Partition /dev/xvdb
2013-01-05_07:17:10.78005 Checking that no-one is using this disk right now ...
2013-01-05_07:17:10.78044 OK
2013-01-05_07:17:10.78057
2013-01-05_07:17:10.78058 sfdisk: ERROR: sector 0 does not have an msdos signature
2013-01-05_07:17:10.78064 /dev/xvdb: unrecognized partition table type
2013-01-05_07:17:10.78069 No partitions found
2013-01-05_07:17:10.78081 Warning: no primary partition is marked bootable (active)
2013-01-05_07:17:10.78082 This does not matter for LILO, but the DOS MBR will not boot this disk.
2013-01-05_07:17:10.91243 If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
2013-01-05_07:17:10.91246 to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
2013-01-05_07:17:10.91247 (See fdisk(8).)
2013-01-05_07:17:10.93974 #[847] INFO: Create swap and data partitions
2013-01-05_07:17:10.98643 mke2fs 1.41.11 (14-Mar-2010)
Broadcast message from root@94e4c250-f27d-451b-837e-b219867d85c3
(unknown) at 7:21 ...
The system is going down for power off NOW!
Connection to 54.235.200.165 closed by remote host.
Connection to 54.235.200.165 closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment