Skip to content
This repository was archived by the owner on Nov 29, 2017. It is now read-only.

ERROR: illegal image file #324

Description

@rkoster

ERROR: illegal image file When using bosh_cli_plugin_micro version 3143.

Output below:

Stemcell properties                                          OK

Stemcell info
-------------
Name:    bosh-aws-xen-ubuntu-trusty-go_agent
Version: 3143

  Started deploy micro bosh
  Started deploy micro bosh > Unpacking stemcell. Done (00:00:09)
  Started deploy micro bosh > Uploading stemcelllog writing failed. can't be called from trap context
create stemcell failed: Unable to copy stemcell root image: command 'sudo -n /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/scripts/stemcell-copy.sh /tmp/d20151123-32475-1ngmlsr/sc-20151123-32475-1
c9pwj0/image /dev/xvdf 2>&1' failed with exit code 1
Script output:
ERROR: illegal image file: /tmp/d20151123-32475-1ngmlsr/sc-20151123-32475-1c9pwj0/image
:
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/lib/cloud/aws/stemcell_creator.rb:71:in `rescue in copy_root_image'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/lib/cloud/aws/stemcell_creator.rb:54:in `copy_root_image'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/lib/cloud/aws/stemcell_creator.rb:19:in `create'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/lib/cloud/aws/cloud.rb:493:in `block in create_stemcell'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_common-1.3143.0/lib/common/thread_formatter.rb:49:in `with_thread_name'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/lib/cloud/aws/cloud.rb:473:in `create_stemcell'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_cpi-1.3143.0/lib/cloud/internal_cpi.rb:22:in `invoke_cpi_method'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_cpi-1.3143.0/lib/cloud/internal_cpi.rb:10:in `method_missing'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_cli_plugin_micro-1.3143.0/lib/bosh/deployer/instance_manager.rb:228:in `block (2 levels) in create_stemcell'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_cli_plugin_micro-1.3143.0/lib/bosh/deployer/instance_manager.rb:85:in `step'
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_cli_plugin_micro-1.3143.0/lib/bosh/deployer/instance_manager.rb:227:in `block in create_stemcell'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions