Skip to content
This repository has been archived by the owner on Jun 10, 2019. It is now read-only.

NVMe support for ec2 provider #486

Closed
wants to merge 2 commits into from

Conversation

john-pierce
Copy link
Contributor

Fixes: #452

Adds support for building on EC2 hosts that have NVMe EBS devices.

Introduces the DescribeInstances permission requirement for the calling
role.

Changes the device naming logic on the host during build time.

  • The new target volume will be mounted with the highest available
    DeviceName in the BlockDeviceMapping object, taking care to avoid
    assignments that also are allocated at launch to ephemeral devices
    (C5d, I3, F1, and M5d currently).
  • The system device name will be identifed by the difference between the
    existing block devices prior to and after the AttachVolume call has
    finished. This does not address the race condition identified in EC2 EBS race condition when parallelizing jobs #459.

Fixes: andsens#452

Adds support for building on EC2 hosts that have NVMe EBS devices.

Introduces the DescribeInstances permission requirement for the calling
role.

Changes the device naming logic on the host during build time.
- The new target volume will be mounted with the highest available
  DeviceName in the BlockDeviceMapping object, taking care to avoid
  assignments that also are allocated at launch to ephemeral devices
  (C5d, I3, F1, and M5d currently).
- The system device name will be identifed by the difference between the
  existing block devices prior to and after the AttachVolume call has
  finished. This does not address the race condition identified in andsens#459.
@andsens
Copy link
Owner

andsens commented Jul 16, 2018

Wow. Nice job on these PRs, they look really good. I have reviewed and merged the easiest one. I hope I can find the time this week to review this one and #485.

Copy link

@auvipy auvipy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review looks good, but is it possible to add unit or integration tests for this?

@andsens
Copy link
Owner

andsens commented Jun 10, 2019

Hey John, thank you for the PR.
I don't have the time or will to maintain this any longer, so I decided to archive the project.
While I trust your code to be of high quality I don't feel comfortable to merge it right before shutting the project down.

@andsens andsens closed this Jun 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New NVMe disks on AWS are not supported
3 participants