Skip to content
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

Open
christoph-buente opened this issue Sep 1, 2017 · 5 comments
Open

Comments

@christoph-buente
Copy link

christoph-buente commented Sep 1, 2017

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#L75

@Paul424
Copy link

Paul424 commented Nov 13, 2017

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?
Paul

@Paul424
Copy link

Paul424 commented Nov 13, 2017

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.

@christoph-buente
Copy link
Author

@Paul424 This project does not seem to be actively maintained anymore. Bummer!

@rshade
Copy link
Contributor

rshade commented Dec 1, 2017

3.0.1 should support NVM Devices, is that not the case?

@rshade
Copy link
Contributor

rshade commented Dec 1, 2017

all of the ohai metadata is populated from here: https://github.com/chef/ohai/blob/master/lib/ohai/plugins/ec2.rb#L121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants