Skip to content

Conversation

@openshift-cherrypick-robot

This is an automated cherry-pick of #2308

/assign sdodson

wking added 2 commits October 24, 2019 19:11
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
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: No Bugzilla bug is referenced in the title of this pull request.
To reference a bug, add 'Bug XXX:' to the title of this pull request and request another bug refresh with /bugzilla refresh.

Details

In response to this:

[release-4.2] pkg/types/aws/validation/platform: Include eu-north-1

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.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Oct 24, 2019
@sdodson
Copy link
Member

sdodson commented Oct 24, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 24, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: openshift-cherrypick-robot, sdodson

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 Oct 24, 2019
@sdodson
Copy link
Member

sdodson commented Oct 24, 2019

/retitle Bug 1765269: pkg/types/aws/validation/platform: Include eu-north-1

@openshift-ci-robot openshift-ci-robot changed the title [release-4.2] pkg/types/aws/validation/platform: Include eu-north-1 Bug 1765269: pkg/types/aws/validation/platform: Include eu-north-1 Oct 24, 2019
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: This pull request references Bugzilla bug 1765269, which is invalid:

  • expected the bug to target the "4.2.z" release, but it targets "---" instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 1765269: pkg/types/aws/validation/platform: Include eu-north-1

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.

@openshift-ci-robot openshift-ci-robot added the bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. label Oct 24, 2019
@sdodson
Copy link
Member

sdodson commented Oct 24, 2019

/retitle Bug 1765308: pkg/types/aws/validation/platform: Include eu-north-1

@openshift-ci-robot openshift-ci-robot changed the title Bug 1765269: pkg/types/aws/validation/platform: Include eu-north-1 Bug 1765308: pkg/types/aws/validation/platform: Include eu-north-1 Oct 24, 2019
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: This pull request references Bugzilla bug 1765308, which is invalid:

  • expected dependent Bugzilla bug 1765269 to be in one of the following states: VERIFIED, RELEASE_PENDING, CLOSED (ERRATA), but it is MODIFIED instead

Comment /bugzilla refresh to re-evaluate validity if changes to the Bugzilla bug are made, or edit the title of this pull request to link to a different bug.

Details

In response to this:

Bug 1765308: pkg/types/aws/validation/platform: Include eu-north-1

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.

@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-openstack 48bb81a link /test e2e-openstack

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.

Details

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.

@wking
Copy link
Member

wking commented Oct 24, 2019

Are we backporting these? Precedent from here (linked from here) was that we didn't add region support after getting past 4.y.0. But we can make exceptions on a per-case basis or completely change our policy if we want. Thoughts?

@sdodson
Copy link
Member

sdodson commented Oct 25, 2019

Are we backporting these? Precedent from here (linked from here) was that we didn't add region support after getting past 4.y.0. But we can make exceptions on a per-case basis or completely change our policy if we want. Thoughts?

Yeah, I think we should just consider them on a case by case basis. In this case the RHCOS image was already available in that region since 4.2 GA and the only thing missing is the installer change. Also, the things those bugs say we're going to focus on making happen back in July still haven't come to fruition. 😺

Do you have any concerns about supporting 4.2 in eu-north-1? ie: instance types missing, zones < 3 ? Looks like it's a 3 AZ region.

/bugzilla refresh

@openshift-ci-robot
Copy link
Contributor

@sdodson: This pull request references Bugzilla bug 1765308, which is valid.

Details

In response to this:

Are we backporting these? Precedent from here (linked from here) was that we didn't add region support after getting past 4.y.0. But we can make exceptions on a per-case basis or completely change our policy if we want. Thoughts?

Yeah, I think we should just consider them on a case by case basis. In this case the RHCOS image was already available in that region since 4.2 GA and the only thing missing is the installer change. Also, the things those bugs say we're going to focus on making happen back in July still haven't come to fruition. 😺

Do you have any concerns about supporting 4.2 in eu-north-1? ie: instance types missing, zones < 3 ? Looks like it's a 3 AZ region.

/bugzilla refresh

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.

@openshift-ci-robot openshift-ci-robot added bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. and removed bugzilla/invalid-bug Indicates that a referenced Bugzilla bug is invalid for the branch this PR is targeting. labels Oct 25, 2019
@sdodson
Copy link
Member

sdodson commented Oct 25, 2019

/hold
For @wking to confirm no known concerns with supporting eu-north-1.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 25, 2019
@wking
Copy link
Member

wking commented Oct 25, 2019

No concerns. But I also don't have concerns about supporting ap-east-1 in 4.1.z, and we still don't ;).

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 25, 2019
@eparis eparis added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Oct 25, 2019
@openshift-merge-robot openshift-merge-robot merged commit b8a0ca2 into openshift:release-4.2 Oct 25, 2019
@openshift-ci-robot
Copy link
Contributor

@openshift-cherrypick-robot: All pull requests linked via external trackers have merged. Bugzilla bug 1765308 has been moved to the MODIFIED state.

Details

In response to this:

Bug 1765308: pkg/types/aws/validation/platform: Include eu-north-1

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.

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. bugzilla/valid-bug Indicates that a referenced Bugzilla bug is valid for the branch this PR is targeting. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants