Error when rake stemcell2

49 views
Skip to first unread message

Fred Chu

unread,
Oct 14, 2012, 10:48:24 PM10/14/12
to bosh...@cloudfoundry.org
console output here:

----
Your bundle is complete! It was installed into /var/vcap/bosh/src/micro_bosh/bosh/gems
Starting micro bosh compilation
Starting BOSH Agent for compiling micro bosh package, agent pid is 20643
#[20643] INFO: Configuring Agent with: {"configure"=>false, "logging"=>{"level"=>"DEBUG"}, "mbus"=>"http://vcap:vcap@localhost:6969", "agent_id"=>"not_configured", "blobstore_options"=>{"blobstore_path"=>"/var/vcap/micro_bosh/data/cache"}, "blobstore_provider"=>"local", "infrastructure_name"=>"openstack", "platform_name"=>"ubuntu", "base_dir"=>"/var/vcap", "smtp_port"=>2825, "process_alerts"=>true, "heartbeat_interval"=>60}
#[20643] INFO: Starting agent 0.6.6...
#[20643] INFO: Skipping configuration step (use '-c' argument to configure on start)
#[20643] INFO: Message processors: {"migrate_disk"=>Bosh::Agent::Message::MigrateDisk, "list_disk"=>Bosh::Agent::Message::ListDisk, "mount_disk"=>Bosh::Agent::Message::MountDisk, "unmount_disk"=>Bosh::Agent::Message::UnmountDisk, "state"=>Bosh::Agent::Message::State, "drain"=>Bosh::Agent::Message::Drain, "apply"=>Bosh::Agent::Message::Apply, "compile_package"=>Bosh::Agent::Message::CompilePackage, "fetch_logs"=>Bosh::Agent::Message::FetchLogs, "ssh"=>Bosh::Agent::Message::Ssh, "ping"=>Bosh::Agent::Message::Ping, "noop"=>Bosh::Agent::Message::Noop, "start"=>Bosh::Agent::Message::Start, "stop"=>Bosh::Agent::Message::Stop, "prepare_network_change"=>Bosh::Agent::Message::PrepareNetworkChange, "release_apply_spec"=>Bosh::Agent::Message::ReleaseApplySpec}
>> Thin web server (v1.3.1 codename Triple Espresso)
>> Maximum connections set to 1024
>> Listening on localhost:6969, CTRL+C to stop
sh: git: not found
sh: git: not found
sh: git: not found
sh: git: not found
I, [2012-10-15T02:29:31.068505 #20650]  INFO -- : Compiling /var/vcap/bosh/src/micro_bosh/release.yml with tarball /var/vcap/bosh/src/micro_bosh/release.tgz
127.0.0.1 - - [15/Oct/2012 02:29:31] "POST /agent HTTP/1.1" 401 - 0.0002
#[20643] INFO: Message: {"method"=>"ping", "arguments"=>[], "reply_to"=>"Bosh::Agent::HTTPClient"}
127.0.0.1 - vcap [15/Oct/2012 02:29:31] "POST /agent HTTP/1.1" 200 17 0.0040
D, [2012-10-15T02:29:31.078425 #20650] DEBUG -- : untaring /var/vcap/bosh/src/micro_bosh/release.tgz into /tmp/d20121015-20650-19rzlwa
E, [2012-10-15T02:29:31.883522 #20650] ERROR -- : Error untar of /var/vcap/bosh/src/micro_bosh/release.tgz failed:
gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
, /var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:179:in `untar'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:55:in `compile'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler/compiler.rb:27:in `start'
/var/vcap/bosh/src/micro_bosh/package_compiler/lib/package_compiler.rb:14:in `start'
/var/vcap/bosh/src/micro_bosh/package_compiler/bin/package_compiler:61:in `<main>'
cp: cannot stat `/var/tmp/bosh/agent-0.6.6-6558/work/work/chroot//var/vcap/micro/apply_spec.yml': No such file or directory





Martin Englund

unread,
Oct 15, 2012, 3:38:46 PM10/15/12
to bosh...@cloudfoundry.org
Fred,

something is wrong with your release.tgz file!
Error untar of /var/vcap/bosh/src/micro_bosh/release.tgz failed: gzip:
stdin: invalid compressed data--format violated

Verify that you can untar it correctly...

Cheers,
/Martin
--
cheers,
/Martin
--
Martin Englund, Staff Engineer, Cloud Foundry, VMware Inc.
"The question is not if you are paranoid, it is if you are paranoid enough."
Reply all
Reply to author
Forward
0 new messages