-
Notifications
You must be signed in to change notification settings - Fork 516
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
Aws i3 support #1308
Aws i3 support #1308
Conversation
@@ -294,6 +296,10 @@ def __init__(self, vm_spec): | |||
raise ValueError( | |||
'In order to use dedicated hosts, you must specify an availability ' | |||
'zone, not a region ("zone" was %s).' % self.zone) | |||
if self.machine_type[:2].lower() == 'i3' and not FLAGS['image'].present: |
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.
the image can be specified through configs too
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.
done.
@@ -136,7 +137,8 @@ def GetBlockDeviceMap(machine_type, root_volume_size_gb=None, | |||
root_block_device['Ebs'].pop('Encrypted') | |||
mappings.append(root_block_device) | |||
|
|||
if machine_type in NUM_LOCAL_VOLUMES: | |||
if (machine_type in NUM_LOCAL_VOLUMES and | |||
not aws_disk.LocalDriveIsNvme(machine_type)): |
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.
Are you sure you don't ever need to supply a mapping for i3s?
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.
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.
cool - thanks
@ehankland PTAL |
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.
lgtm
No description provided.