-
Notifications
You must be signed in to change notification settings - Fork 656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploading stemcell failed: unable to find AKI (using bosh-bootstrap) #755
Comments
Can you try this in us-east-1? I'm pretty sure this is related to our pre-built stemcells. They only work in us-east-1 at this point. @drnic: I'm not sure if/how you can pass in full aws stemcell to bosh-boostrap. |
bosh-bootstrap should use non-light stemcell in other regions. On Mon, Feb 23, 2015 at 3:43 PM, Dmitriy Kalinin [email protected]
|
Should. You know. That's what it should do :) But perhaps it's discovery technique is broken? Has bosh team changed how/where stemcells are uploaded? On Mon, Feb 23, 2015 at 3:44 PM, Dr Nic Williams [email protected]
|
Nope, didn't change. On Mon, Feb 23, 2015 at 4:31 PM, Dr Nic Williams [email protected]
|
I'll have a closer look into it tomorrow, thanks for the help :) |
I'm hitting the same issue when trying to deploy in Frankfurt.
|
Okay so i didn't try it on us-east but i tried it in ireland - the error does not happen there so it seems to be frankfurt specific |
Anyone know what might be missing for this to work with the Frankfurt region? The close proximity to our DCs in Netherland make it much more viable than Ireland from a connection standpoint. |
+1 |
@cppforlife the log above confirms they're using the 400Mb stemcell rather than a small light stemcell. On Thu, Feb 26, 2015 at 1:55 PM, arekkas [email protected] wrote:
|
For my own reference, https://groups.google.com/a/cloudfoundry.org/forum/#!topic/bosh-dev/eS-ZKJaFiJw |
Hi. Any updates on this? |
@simonjohansson I think I figured out what may be the problem. You are using full stemcell which means I think if you move your jumpbox to the same region where you are trying to deploy, AWS CPI will properly create a stemcell. Please reopen if this is not the case. |
@cppforlife good catch! |
Still an issue(seems to be the same as @arekkas now)
|
We're running into the exact same issue as described above by @arekkas . |
The problem seems to be in bosh_aws_cpi aki_picker module. It expects to find a kernel image (AKI) with a name matching a certain regex. In Frankfurt such an AKI is not available. It easy to verify it with:
which returns:
This patch bypasses the problem, and a way to monkey patch the module can be found in this fork. However, this is far from being a solution. The same issue pops up again later on in the |
The command bosh prepare deployment is from bosh-workspace - its entirely
optional to use it to upload stemcells. Manually upload the new stemcell to
your bosh.
|
Ahh, you're patching terraform-aws-cf-install. It might be that you need to /cc @longnguyen11288 On Thu, May 28, 2015 at 9:35 AM, Dr Nic Williams [email protected]
Dr Nic Williams |
Thanks for the reply. Yes, you are right, but the |
Correct. After it fails, you should be able Ssh into the jumpbox and continue. On Thu, May 28, 2015 at 9:38 AM, Riccardo M. Cefala
|
you can ssh into jumpbox and return
|
Another update. Executing again
So I tried to upload the stemcell manually from the bastion instance:
Which also fails with Sadly, now I am running into this: |
@ljfranklin, I vaguely recall some work and refactoring around AKI selection since this issue was created. Do you happen to know if this is still an issue or can it be closed? |
@dpb587 possibly related to this change from March 2016, but honestly I have no idea. I definitely haven't seen this in the last 6 months. You're probably safe to close this out. |
Closing - feel free to open an issue on https://github.com/cloudfoundry-incubator/bosh-aws-cpi-release and reference this if you continue seeing this issue. |
I created a EC2 instance (ubuntu) in the eu-central-1 region with an elastic ip, ssh'd into it and ran:
After that I tried to deploy micro bosh on AWS, which resulted in:
Uploading stemcellcreate stemcell failed: unable to find AKI:
I've also tried to use the elastic ip but it didn't change anything:
You can find the original issue here: cloudfoundry-community-attic/bosh-bootstrap#305
The commands above are the only ones I executed on the freshly created VM
The text was updated successfully, but these errors were encountered: