-
Notifications
You must be signed in to change notification settings - Fork 16
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
NVMe device not properly detected on AWS i3.xxx instances #65
Comments
Same issue here, although i expect i'm missing some cloud setup part; since the helper uses a cloud parameter? What plugin do i need to add for ec2 support? Or set these myself? |
I found that ohai does not provide the required block_device_mapping_ephemeral keys, it does provide public address, private, etc... and cloud is ec2. I don't know if i should provide hints for this? but indeed when simply running L75 outside the if condition does mount the nvme volumes of a i3 instance type. |
@Paul424 This project does not seem to be actively maintained anymore. Bummer! |
3.0.1 should support NVM Devices, is that not the case? |
all of the ohai metadata is populated from here: https://github.com/chef/ohai/blob/master/lib/ohai/plugins/ec2.rb#L121 |
We see that the check on
if node[cloud].keys.any? { |key| key.match(/^block_device_mapping_ephemeral\d+$/) }
does not fulfill on a i3.2xlarge instance and thus the check for nvm devices is ommited completely.The instances uses an EBS root volume and has attached a 2TB NVMe Volume.
Moving this line outside of the
if
check block, fixes it for us, but we don't feel confident not to break other conditions. https://github.com/rightscale-cookbooks/ephemeral_lvm/blob/master/libraries/helper.rb#L75The text was updated successfully, but these errors were encountered: