Created
November 16, 2015 09:45
-
-
Save ulsa/33c0437d81144a930eca to your computer and use it in GitHub Desktop.
This file contains 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
$ bosh verify stemcell latest-bosh-stemcell-warden.tgz | |
Verifying stemcell... | |
File exists and readable OK | |
Verifying tarball... | |
Read tarball OK | |
Manifest exists OK | |
Stemcell image file OK | |
Stemcell properties OK | |
Stemcell info | |
------------- | |
Name: bosh-warden-boshlite-ubuntu-trusty-go_agent | |
Version: 389 | |
`latest-bosh-stemcell-warden.tgz' is a valid stemcell | |
$ ./bin/provision_cf | |
+ STEMCELL_SOURCE=http://bosh-jenkins-artifacts.s3.amazonaws.com/bosh-stemcell/warden | |
+ STEMCELL_FILE=latest-bosh-stemcell-warden.tgz | |
+++ dirname ./bin/provision_cf | |
++ cd ./bin/../../ | |
++ pwd | |
+ WORKSPACE_DIR=/Users/ulrik/Source/Git | |
+ BOSH_LITE_DIR=/Users/ulrik/Source/Git/bosh-lite | |
+ CF_DIR=/Users/ulrik/Source/Git/cf-release | |
+ main | |
+ fetch_stemcell | |
+ [[ ! -e latest-bosh-stemcell-warden.tgz ]] | |
+ upload_stemcell | |
++ bosh_lite_ip | |
+++ get_ip_from_vagrant_ssh_config | |
++++ vagrant ssh-config | |
+++ config='Host default | |
HostName 127.0.0.1 | |
User vagrant | |
Port 2222 | |
UserKnownHostsFile /dev/null | |
StrictHostKeyChecking no | |
PasswordAuthentication no | |
IdentityFile /Users/ulrik/Source/Git/bosh-lite/.vagrant/machines/default/virtualbox/private_key | |
IdentitiesOnly yes | |
LogLevel FATAL' | |
++++ echo 'Host default | |
HostName 127.0.0.1 | |
User vagrant | |
Port 2222 | |
UserKnownHostsFile /dev/null | |
StrictHostKeyChecking no | |
PasswordAuthentication no | |
IdentityFile /Users/ulrik/Source/Git/bosh-lite/.vagrant/machines/default/virtualbox/private_key | |
IdentitiesOnly yes | |
LogLevel FATAL' | |
++++ grep HostName | |
++++ awk '{print $2}' | |
+++ echo 127.0.0.1 | |
++ ip=127.0.0.1 | |
++ '[' 127.0.0.1 = 127.0.0.1 ']' | |
+++ get_ip_from_vm_ifconfig | |
++++ vagrant ssh -c ifconfig | |
+++ config='eth0 Link encap:Ethernet HWaddr 08:00:27:96:a8:a7 | |
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe96:a8a7/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:451 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:305 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:51566 (51.5 KB) TX bytes:49407 (49.4 KB) | |
eth1 Link encap:Ethernet HWaddr 08:00:27:17:ab:e9 | |
inet addr:192.168.50.4 Bcast:192.168.50.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe17:abe9/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:1 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:150 (150.0 B) TX bytes:1316 (1.3 KB) | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
RX packets:1245 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:1245 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:307862 (307.8 KB) TX bytes:307862 (307.8 KB) | |
lo:1 Link encap:Local Loopback | |
inet addr:10.254.50.4 Mask:255.255.255.0 | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
' | |
++++ echo 'eth0 Link encap:Ethernet HWaddr 08:00:27:96:a8:a7 | |
inet addr:10.0.2.15 Bcast:10.0.2.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe96:a8a7/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:451 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:305 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:51566 (51.5 KB) TX bytes:49407 (49.4 KB) | |
eth1 Link encap:Ethernet HWaddr 08:00:27:17:ab:e9 | |
inet addr:192.168.50.4 Bcast:192.168.50.255 Mask:255.255.255.0 | |
inet6 addr: fe80::a00:27ff:fe17:abe9/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:1 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:150 (150.0 B) TX bytes:1316 (1.3 KB) | |
lo Link encap:Local Loopback | |
inet addr:127.0.0.1 Mask:255.0.0.0 | |
inet6 addr: ::1/128 Scope:Host | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
RX packets:1245 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:1245 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:0 | |
RX bytes:307862 (307.8 KB) TX bytes:307862 (307.8 KB) | |
lo:1 Link encap:Local Loopback | |
inet addr:10.254.50.4 Mask:255.255.255.0 | |
UP LOOPBACK RUNNING MTU:65536 Metric:1 | |
' | |
++++ grep addr:192 | |
++++ awk '{print $2}' | |
++++ cut -d: -f2 | |
+++ echo 192.168.50.4 | |
++ ip=192.168.50.4 | |
++ echo 192.168.50.4 | |
+ ip=192.168.50.4 | |
+ bosh -n target 192.168.50.4 | |
Target set to `Bosh Lite Director' | |
+ bosh -n -u admin -p admin upload stemcell --skip-if-exists latest-bosh-stemcell-warden.tgz | |
Acting as user 'admin' on 'Bosh Lite Director' | |
Verifying stemcell... | |
File exists and readable OK | |
Verifying tarball... | |
Read tarball OK | |
Manifest exists OK | |
Stemcell image file OK | |
Stemcell properties OK | |
Stemcell info | |
------------- | |
Name: bosh-warden-boshlite-ubuntu-trusty-go_agent | |
Version: 389 | |
Checking if stemcell already exists... | |
No | |
Uploading stemcell... | |
latest-bosh-s: 100% |oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo| 431.4MB 41.4MB/s Time: 00:00:10 | |
Director task 4 | |
Started update stemcell | |
Started update stemcell > Extracting stemcell archive. Failed: Extracting stemcell archive failed. Check task debug log for details. (00:00:03) | |
Error 50000: Extracting stemcell archive failed. Check task debug log for details. | |
Task 4 error | |
For a more detailed error report, run: bosh task 4 --debug | |
$ bosh task 4 --debug | |
Acting as user 'admin' on 'Bosh Lite Director' | |
Director task 4 | |
I, [2015-11-16T08:30:30.276388 #1823] [0x3fe0088fb330] INFO -- TaskHelper: Director Version: 1.3126.0 | |
I, [2015-11-16T08:30:30.276432 #1823] [0x3fe0088fb330] INFO -- TaskHelper: Enqueuing task: 4 | |
I, [2015-11-16 08:30:30 #2471] [] INFO -- DirectorJobRunner: Looking for task with task id 4 | |
D, [2015-11-16 08:30:30 #2471] [] DEBUG -- DirectorJobRunner: (0.000265s) SELECT NULL | |
D, [2015-11-16 08:30:30 #2471] [] DEBUG -- DirectorJobRunner: (0.000341s) SELECT * FROM "tasks" WHERE "id" = 4 | |
I, [2015-11-16 08:30:30 #2471] [] INFO -- DirectorJobRunner: Starting task: 4 | |
I, [2015-11-16 08:30:30 #2471] [task:4] INFO -- DirectorJobRunner: Creating job | |
D, [2015-11-16 08:30:30 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000088s) SELECT NULL | |
D, [2015-11-16 08:30:30 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000113s) SELECT * FROM "tasks" WHERE "id" = 4 | |
I, [2015-11-16 08:30:30 #2471] [task:4] INFO -- DirectorJobRunner: Performing task: 4 | |
D, [2015-11-16 08:30:30 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000137s) SELECT NULL | |
D, [2015-11-16 08:30:30 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000062s) BEGIN | |
D, [2015-11-16 08:30:30 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000287s) UPDATE "tasks" SET "state" = 'processing', "timestamp" = '2015-11-16 08:30:30.748153+0000', "description" = 'create stemcell', "result" = NULL, "output" = '/var/vcap/store/director/tasks/4', "checkpoint_time" = '2015-11-16 08:30:30.748235+0000', "type" = 'update_stemcell', "username" = 'admin' WHERE ("id" = 4) | |
D, [2015-11-16 08:30:30 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000600s) COMMIT | |
I, [2015-11-16 08:30:30 #2471] [task:4] INFO -- DirectorJobRunner: Processing update stemcell | |
I, [2015-11-16 08:30:30 #2471] [task:4] INFO -- DirectorJobRunner: Extracting stemcell archive | |
E, [2015-11-16 08:30:33 #2471] [task:4] ERROR -- DirectorJobRunner: Extracting stemcell archive failed in dir /var/vcap/data/tmp/director/stemcell20151116-2471-uyt1uo, tar returned 2, output: | |
gzip: stdin: unexpected end of file | |
tar: Child returned status 1 | |
tar: Error is not recoverable: exiting now | |
E, [2015-11-16 08:30:34 #2471] [task:4] ERROR -- DirectorJobRunner: Extracting stemcell archive failed. Check task debug log for details. | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/jobs/update_stemcell.rb:55:in `block in perform' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/jobs/base_job.rb:48:in `block in track_and_log' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/event_log.rb:97:in `call' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/event_log.rb:97:in `advance_and_track' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/event_log.rb:50:in `track' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/jobs/base_job.rb:46:in `track_and_log' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/jobs/update_stemcell.rb:49:in `perform' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/job_runner.rb:108:in `perform_job' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/job_runner.rb:31:in `block in run' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3126.0/lib/common/thread_formatter.rb:49:in `with_thread_name' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/job_runner.rb:31:in `run' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/lib/bosh/director/jobs/base_job.rb:10:in `perform' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/job.rb:227:in `perform' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:250:in `perform' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:189:in `block in work' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `loop' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/resque-1.25.2/lib/resque/worker.rb:166:in `work' | |
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3126.0/bin/bosh-director-worker:76:in `<top (required)>' | |
/var/vcap/packages/director/bin/bosh-director-worker:16:in `load' | |
/var/vcap/packages/director/bin/bosh-director-worker:16:in `<main>' | |
D, [2015-11-16 08:30:34 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000224s) SELECT NULL | |
D, [2015-11-16 08:30:34 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000055s) BEGIN | |
D, [2015-11-16 08:30:34 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000196s) UPDATE "tasks" SET "state" = 'error', "timestamp" = '2015-11-16 08:30:34.140323+0000', "description" = 'create stemcell', "result" = 'Extracting stemcell archive failed. Check task debug log for details.', "output" = '/var/vcap/store/director/tasks/4', "checkpoint_time" = '2015-11-16 08:30:30.748235+0000', "type" = 'update_stemcell', "username" = 'admin' WHERE ("id" = 4) | |
D, [2015-11-16 08:30:34 #2471] [task:4] DEBUG -- DirectorJobRunner: (0.000846s) COMMIT | |
I, [2015-11-16 08:30:34 #2471] [] INFO -- DirectorJobRunner: Task took 3.39580187 seconds to process. | |
Task 4 error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment