allomov
6/2/2015 - 9:03 AM

openstack-cpi-bosh-init-output

Starting registry...[registryServer] 2015/06/02 09:03:02 DEBUG - Starting registry server at 127.0.0.1:6901
 Finished (00:00:00)
[File System] 2015/06/02 09:03:03 DEBUG - Checking if file exists /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/jobs/cpi/bin/cpi
Uploading stemcell 'bosh-openstack-kvm-ubuntu-trusty-go_agent/2905'...[config] 2015/06/02 09:03:03 DEBUG - Loading deployment state: /home/ubuntu/workspace/manifests/micro-bosh-state.json
[File System] 2015/06/02 09:03:03 DEBUG - Checking if file exists /home/ubuntu/workspace/manifests/micro-bosh-state.json
[File System] 2015/06/02 09:03:03 DEBUG - Reading file /home/ubuntu/workspace/manifests/micro-bosh-state.json
[File System] 2015/06/02 09:03:03 DEBUG - Read content
********************
{
    "director_id": "07eba2ab-9581-4757-68b2-6acb72689e18",
    "installation_id": "7209d838-7e85-40ae-7a26-d7cc46c51afc",
    "current_vm_cid": "",
    "current_stemcell_id": "",
    "current_disk_id": "",
    "current_release_ids": null,
    "current_manifest_sha1": "",
    "disks": null,
    "stemcells": null,
    "releases": null
}
********************
[config] 2015/06/02 09:03:03 DEBUG - Deployment File Contents {
    "director_id": "07eba2ab-9581-4757-68b2-6acb72689e18",
    "installation_id": "7209d838-7e85-40ae-7a26-d7cc46c51afc",
    "current_vm_cid": "",
    "current_stemcell_id": "",
    "current_disk_id": "",
    "current_release_ids": null,
    "current_manifest_sha1": "",
    "disks": null,
    "stemcells": null,
    "releases": null
}
[cloud] 2015/06/02 09:03:03 DEBUG - Creating stemcell
[Cmd Runner] 2015/06/02 09:03:03 DEBUG - Running command: /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/jobs/cpi/bin/cpi
[Cmd Runner] 2015/06/02 09:03:05 DEBUG - Stdout:
[Cmd Runner] 2015/06/02 09:03:05 DEBUG - Stderr: /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:4:in `<class:AutoScaling>': uninitialized constant Fog::AWS::CredentialFetcher (NameError)
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:3:in `<module:AWS>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:2:in `<module:Fog>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:1:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `load'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `<main>'
[Cmd Runner] 2015/06/02 09:03:05 DEBUG - Successful: true (0)
[cpiCmdRunner] 2015/06/02 09:03:05 DEBUG - Exit Code 0 when executing external CPI command '/home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/jobs/cpi/bin/cpi'
STDIN: '{"method":"create_stemcell","arguments":["/tmp/stemcell-manager573877420/image",{"architecture":"ppc64","auto_disk_config":true,"container_format":"bare","disk":3072,"disk_format":"qcow2","hypervisor":"kvm","infrastructure":"openstack","name":"bosh-openstack-kvm-ubuntu-trusty-go_agent","os_distro":"ubuntu","os_type":"linux","version":"2905"}],"context":{"director_uuid":"07eba2ab-9581-4757-68b2-6acb72689e18"}}'
STDOUT: ''
STDERR: '/home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:4:in `<class:AutoScaling>': uninitialized constant Fog::AWS::CredentialFetcher (NameError)
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:3:in `<module:AWS>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:2:in `<module:Fog>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:1:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `load'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `<main>'
'
 Failed (00:00:01)
Stopping registry...[registryServer] 2015/06/02 09:03:05 DEBUG - Stopping registry server
 Finished (00:00:00)
[main] 2015/06/02 09:03:05 ERROR - Command 'deploy' failed: creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 2905): Unmarshalling external CPI command output: STDOUT: '', STDERR: '/home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:4:in `<class:AutoScaling>': uninitialized constant Fog::AWS::CredentialFetcher (NameError)
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:3:in `<module:AWS>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:2:in `<module:Fog>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:1:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `load'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `<main>'
': unexpected end of JSON input

[registryServer] 2015/06/02 09:03:05 DEBUG - Registry error occurred: accept tcp 127.0.0.1:6901: use of closed network connection
Command 'deploy' failed:
  creating stemcell (bosh-openstack-kvm-ubuntu-trusty-go_agent 2905):
    Unmarshalling external CPI command output: STDOUT: '', STDERR: '/home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:4:in `<class:AutoScaling>': uninitialized constant Fog::AWS::CredentialFetcher (NameError)
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:3:in `<module:AWS>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:2:in `<module:Fog>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-aws-0.4.0/lib/fog/aws/auto_scaling.rb:1:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog/aws.rb:2:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/fog-1.27.0/lib/fog.rb:23:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/cloud/openstack.rb:8:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/lib/bosh_openstack_cpi.rb:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `require'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/gem_home/ruby/1.9.1/gems/bosh_openstack_cpi-1.2977.0/bin/openstack_cpi:4:in `<top (required)>'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `load'
	from /home/ubuntu/.bosh_init/installations/7209d838-7e85-40ae-7a26-d7cc46c51afc/packages/bosh_openstack_cpi/bin/openstack_cpi:16:in `<main>'
':
      unexpected end of JSON input