Open rkoster opened 9 years ago
Was able to work around the issue by manually applying the fix from: https://github.com/cloudfoundry-incubator/bosh-aws-cpi-release/commit/d99ce44eb7f47d9e2b4573a96cdc1b2881df3481 to /home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/scripts/stemcell-copy.sh
Is this a bosh-bootstrap bug or bosh_cli_plugin_micro bug? And is it caused by a regression in new stemcell?
On Mon, Nov 23, 2015 at 2:44 AM, Ruben Koster notifications@github.com wrote:
Was able to work around the issue by manually applying the fix from: https://github.com/cloudfoundry-incubator/bosh-aws-cpi-release/commit/d99ce44eb7f47d9e2b4573a96cdc1b2881df3481 to
/home/ubuntu/.rvm/gems/ruby-2.1.5/gems/bosh_aws_cpi-2.1.0/scripts/stemcell-copy.sh
Reply to this email directly or view it on GitHub: https://github.com/cloudfoundry-community/bosh-bootstrap/issues/324#issuecomment-158902144
It is a bosh_cli_plugin_micro bug. Also encountered it when using a different stemcell. Will check to see when it was introduced.
@cppforlife could the above be an bosh_cli_plugin_micro
issue?
not micro cli specific. im guessing this is os specific.
error comes from here: https://github.com/cloudfoundry-incubator/bosh-aws-cpi-release/blob/master/src/bosh_aws_cpi/scripts/stemcell-copy.sh. its probably related to grep regex inconsistencies on os-es.
Sent from my iPhone
On Nov 23, 2015, at 11:19 AM, Ruben Koster notifications@github.com wrote:
@cppforlife could the above be an bosh_cli_plugin_micro issue?
— Reply to this email directly or view it on GitHub.
@cppforlife The last commit in that file fixes something related the the regex. In which version of the bosh_aws_cpi gem will this fix be included?
Worked around it by using the upstream stemcell-copy script which is loaded from the PATH by the cpi by default.
This workaround needs to be included in bosh_bootstrap unless a new versions of the bosh_aws_cpi gem will be published. @cppforlife @drnic
ERROR: illegal image file
When usingbosh_cli_plugin_micro
version3143
.Output below: