Failed to update api when deploy cf into aws


王小锋 <zzuwxf at gmail.com...>
 

Hi, there

I tried to deploy cf into aws using bosh, but it failed when updating api
job, I checked the log, and found following error:

I attach 100G disk to cloud_controller_ng vm, not sure why it failed with
"no space left on device", any idea? thanks.

[2015-10-09 11:51:12 #7253] [] DEBUG -- DirectorJobRunner: RECEIVED:
director.bcb35dd8-a609-49f3-aab5-c8eae54d2527.2b1e5e7e-ce92-4d91-b65a-f99b93a399e8
{"exception":{"message":"Action Failed get_task: Task
7f50c117-a3f6-4a89-69ec-843036a5e13a result: Applying: Applying job
cloud_controller_ng: Applying package buildpack_staticfile for job
cloud_controller_ng: Enabling package: failed to enable: symlink
/var/vcap/data/packages/buildpack_staticfile/5e2015a8345f2a650a524d1eece13f34acc72b87.1-a4f016c6f79669a734f6320fd3a15fc54fe8682c
/var/vcap/jobs/cloud_controller_ng/packages/buildpack_staticfile: no space
left on device"}}
E, [2015-10-09 11:51:12 #7253] [canary_update(api_z1/0)] ERROR --
DirectorJobRunner: Error updating canary instance:
#<Bosh::Director::RpcRemoteException: Action Failed get_task: Task
7f50c117-a3f6-4a89-69ec-843036a5e13a result: Applying: Applying job
cloud_controller_ng: Applying package buildpack_staticfile for job
cloud_controller_ng: Enabling package: failed to enable: symlink
/var/vcap/data/packages/buildpack_staticfile/5e2015a8345f2a650a524d1eece13f34acc72b87.1-a4f016c6f79669a734f6320fd3a15fc54fe8682c
/var/vcap/jobs/cloud_controller_ng/packages/buildpack_staticfile: no space
left on device>
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:231:in
`handle_method'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:286:in
`handle_message_with_retry'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:58:in
`method_missing'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:310:in
`get_task_status'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:155:in
`wait_for_task'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:299:in
`send_message'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/agent_client.rb:90:in
`apply'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/instance_updater.rb:168:in
`apply_state'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/instance_updater.rb:67:in
`block in update_steps'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/instance_updater.rb:88:in
`call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/instance_updater.rb:88:in
`block in update'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/instance_updater.rb:87:in
`each'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/instance_updater.rb:87:in
`update'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/job_updater.rb:74:in
`block (2 levels) in update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh_common-1.3098.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.3098.0/lib/bosh/director/job_updater.rb:72:in
`block in update_canary_instance'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/event_log.rb:97:in
`call'
/var/vcap/packages/director/gem_home/ruby/2.1.0/gems/bosh-director-1.3098.0/lib/bosh/director/event_log.rb:97:in
`advance_and_track'

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.