Skip to content

EBS support - #132

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
enxebre:ebs
Jan 10, 2019
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
enxebre:ebs

Conversation

@enxebre

@enxebre enxebre commented Jan 4, 2019

Copy link
Copy Markdown
Member

As part of CLOUD-303 this introduce support for BlockDevices

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 4, 2019
@enxebre

enxebre commented Jan 4, 2019

Copy link
Copy Markdown
Member Author

cc @bison

@enxebre
enxebre force-pushed the ebs branch 3 times, most recently from 92819d0 to 6c1402d Compare January 4, 2019 15:35

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You can skip the check given getBlockDeviceMappings always returns valid list of block device mappings (including nil = empty array).

@bison bison left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

/lgtm

Though, I agree with the comment from @ingvagabund.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 4, 2019
@enxebre

enxebre commented Jan 7, 2019

Copy link
Copy Markdown
Member Author

/test e2e-aws

1 similar comment
@ingvagabund

Copy link
Copy Markdown
Member

/test e2e-aws

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 10, 2019
@enxebre

enxebre commented Jan 10, 2019

Copy link
Copy Markdown
Member Author

/test e2e-aws

@ingvagabund

Copy link
Copy Markdown
Member

/approve

would be great to provide example as well

@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 10, 2019
for _, tc := range testCases {
got, err := getBlockDeviceMappings(tc.blockDevices, "existing-AMI", mockAWSClient)
if err != nil {
t.Errorf("error when calling getBlockDeviceMappings: %v", err)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

nit: should this be fatalf? can the next assertion reliably run in the face of an error?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ideally yes, how ever keep in mind that the way it's right now as soon as any assertion returns error, the tests will stop as a trade off of choosing our custom implementation over oddly accommodating go test for running this e2e. We could collect errors in main before returning

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

errorf will continue in the same test function.

@frobware

Copy link
Copy Markdown

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 10, 2019
@openshift-merge-robot
openshift-merge-robot merged commit b9d51ac into openshift:master Jan 10, 2019
vikaschoudhary16 pushed a commit to vikaschoudhary16/cluster-api-provider-aws that referenced this pull request Jan 16, 2019
* Does not update the node ref so clusterctl will still wait forever
* Fixes a bug with subnet code
* Adds configurable ssh key

Signed-off-by: Chuck Ha <[email protected]>
enxebre added a commit to enxebre/installer that referenced this pull request Jan 17, 2019
Since we added support on the aws actuator API openshift/cluster-api-provider-aws#132 we want to allow this to be configurable for the users through the upper level installer API config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants