-
Notifications
You must be signed in to change notification settings - Fork 202
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
block device examples updated #136
Conversation
Hey @gmiranda23 - I actually get errors trying to use this PR. What is the error you're seeing? Although, while troubleshooting I did come across an unexpected exception trying to call |
It's not so much an error as misleading info. I don't typically come across EBS volumes with block device trailing numbers for anything other than root volumes. And even then, most newer instance types have problems with them. I wasn't quite sure why, but your question prompted me to look it up. I got some clarification on this from the EBS Block Device Mapping Concepts doc. "Trailing numbers on device names can sometimes be used, but may cause conflicts. [...] Hardware virtual machine (HVM) AMIs don't support the use of trailing numbers on device names (xvd[a-p][1-15])." So perhaps to make that usage point, the example should have one definition with a trailing device number and one without? |
If it is suggested to use non-numbered device names, then I'm all for updating the documentation. I'm not very familiar with the concept of disc device naming. I would just like to make sure the example does work. Can you update the AMIs in the example at the bottom of the README so specifying If you update the root device mapping, TK should issue an info level log message stating this. |
After some research, I put together a full working .kitchen.yml example using non-standard settings (us-west-2), with updated fields where appropriate, a mix of using platforms defined in amis.json, and custom platforms with different settings. Makes usage described in #153 clear. |
region: us-east-1 | ||
availability_zone: b | ||
region: us-west-2 | ||
availability_zone: us-west-2b |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know this was broken earlier, but I would like to encourage people to use the single-letter form of this config to DRY this yaml up a bit. Would you try b
with the latest version of kitchen-ec2 (0.9.5+)?
Other than my last minor comment, this is looking awesome. Thanks @gmiranda23! Once that is addressed I'll merge this. |
I updated it to the long format because single letter was busted. I agree that's a better form. Tested on kitchen-ec2 0.9.5 and it works again. LGTM! |
block device examples updated
The block device examples are incorrect. Adjusted them to reflect a useable config.