-
Notifications
You must be signed in to change notification settings - Fork 1.5k
pkg/types/aws/validation/platform: Include eu-north-1 #2308
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
pkg/types/aws/validation/platform: Include eu-north-1 #2308
Conversation
adb4dfe to
721cfbb
Compare
|
what's the result of the |
Passes once I add bf0369dfe to account for the new-but-not-yet-getting-RHCOS-AMIs Bahrain (me-south-1). |
RHCOS grew support for this in 905db73 (data/data/rhcos.json: update the bootimage to 420.8.20190708.2 for CRI-O 1.14, 2019-07-03, openshift#1941). And until we get something like [1], we need this not-very-DRY bump to keep up. [1]: openshift#1528
The region was added on 2019-07-29 [1] and the canonical ID is
me-south-1 [2]. This fixes:
$ cd platformtests/aws
$ AWS_PROFILE=openshift-dev go test .
--- FAIL: TestGetDefaultInstanceClass (71.40s)
--- FAIL: TestGetDefaultInstanceClass/Middle_East_(Bahrain) (0.00s)
default_instance_class_test.go:99: not a recognized region
FAIL
FAIL github.com/openshift/installer/platformtests/aws 71.420s
And as a new region without m4 support, we need to set its default to
m5 to avoid:
$ AWS_PROFILE=openshift-dev go test .
--- FAIL: TestGetDefaultInstanceClass (75.95s)
--- FAIL: TestGetDefaultInstanceClass/Middle_East_(Bahrain) (1.96s)
default_instance_class_test.go:107: no direct access to region, assuming full support: AuthFailure: AWS was not able to validate the provided access credentials
status code: 401, request id: f05f9e76-2a63-40d1-8748-a67f6d637ba1
default_instance_class_test.go:121: map[m5:{} m5d:{} t3:{}]
default_instance_class_test.go:122:
Error Trace:default_instance_class_test.go:122
Error: Not equal:
expected: "m4"
actual : "m5"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-m4
+m5
Test: TestGetDefaultInstanceClass/Middle_East_(Bahrain)
FAIL
FAIL github.com/openshift/installer/platformtests/aws75.965s
[1]: https://aws.amazon.com/about-aws/whats-new/2019/07/announcing-the-new-aws-middle-east--bahrain--region-/
[2]: aws/aws-sdk-go@384f453#diff-fe3b36d57dc4378fa7b13c85492f4119R49
bf0369d to
612143d
Compare
|
Pushed bf0369dfe -> 612143d to fix the unit failure. |
|
/hold candidate for 4.3 when master opens. |
|
/hold cancel Master is open for 4.3 fixes :). Still needs a |
|
@wking: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/assign @abhinavdahiya Green enough to merge, and we want to land this before the 4.3 window closes ;) |
|
/refresh |
|
/skip |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: abhinavdahiya, wking The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherrypick release-4.2 |
|
@sdodson: new pull request created: #2568 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
RHCOS grew support for this in 905db73 (#1941), and until something like #1528 lands we need to bump this list to keep up.
Fixes #1814.