Skip to content

operator: change source of apiURL to infrastructure.config.openshift.io #72

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

Merged

Conversation

abhinavdahiya
Copy link
Contributor

Infrastructre global config 1 contains the URL to the APIServer and therefore using the cluster-config-v1 to create the apiURL is not required.

Also installer#1169 2 is changing the structure of the DNS names, and console is redirecting to old apiserver URL.

installer#1169 has feature exception approval and we need to make that in for feature feature for bea2 as upgradabililty into new DNS name is difficult.

Infrastructre global config [1] contains the URL to the APIServer and therefore using the `cluster-config-v1` to create the
apiURL is not required.

[1]: https://github.com/openshift/api/blob/ea5d05408a95a765d44b5a4b31561b530f0b1f4c/config/v1/types_infrastructure.go#L47
@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 14, 2019
@stlaz
Copy link
Contributor

stlaz commented Feb 15, 2019

Thank you for your changes. However, all of the changed code goes away in #59 so unless the CI is broken, I would refrain from any changes to it.

@stlaz
Copy link
Contributor

stlaz commented Feb 15, 2019

/hold

@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 Feb 15, 2019
@abhinavdahiya
Copy link
Contributor Author

As I mentioned in the previous overview, the installer teams wants to merge openshift/installer#1169 today before feature freeze as that change is disruptive. The CI on 1169 is green but merging that without this PR means users will not be able to access console due to the wrong apiurl being generated by current auth operator.

So it would be nice if we can go ahead with this change for now at least unblocking us as #59 seems to be blocked for now
#59 (comment)

@stlaz
Copy link
Contributor

stlaz commented Feb 15, 2019

If we need to have this done, let's merge openshift/installer#1242 which already has LGTM, then we can have #59 and then this PR won't be necessary.

@ericavonb
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 15, 2019
@ericavonb
Copy link
Contributor

/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 Feb 15, 2019
@ericavonb
Copy link
Contributor

/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, ericavonb

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abhinavdahiya
Copy link
Contributor Author

/retest

@crawford
Copy link

The last failure was due to rate limits:

level=error msg="1 error occurred:"
level=error msg="\t* module.vpc.aws_route_table_association.route_net[3]: 1 error occurred:"
level=error msg="\t* aws_route_table_association.route_net.3: timeout while waiting for state to become 'success' (timeout: 5m0s)"

@crawford
Copy link

Failed because of a known bug:

[Conformance][Area:Networking][Feature:Router] The HAProxy router should enable openshift-monitoring to pull metrics [Suite:openshift/conformance/parallel/minimal]

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@abhinavdahiya
Copy link
Contributor Author

/retest

@openshift-bot
Copy link
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@enj
Copy link
Contributor

enj commented Feb 16, 2019

/hold

You have already missed feature freeze. #59 is the correct path to accomplish what you need.

@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 Feb 16, 2019
@crawford
Copy link

#59 isn't merged yet (and doesn't appear to be ready) and this PR will unblock changes that are needed for the Beta 2 release. I was told that can be safely merged before #59. Given the critical nature of the changes that are gated on this PR, I'm going to override your /hold. This isn't a feature; it's a bug.

/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 Feb 16, 2019
@smarterclayton
Copy link
Contributor

I agree with @crawford's override

@openshift-merge-robot openshift-merge-robot merged commit 3feccf1 into openshift:master Feb 16, 2019
@abhinavdahiya abhinavdahiya deleted the fix-apiserver-url branch February 16, 2019 04:36
@enj
Copy link
Contributor

enj commented Feb 16, 2019

#59 isn't merged yet (and doesn't appear to be ready) and this PR will unblock changes that are needed for the Beta 2 release. I was told that can be safely merged before #59. Given the critical nature of the changes that are gated on this PR, I'm going to override your /hold. This isn't a feature; it's a bug.

/hold cancel

All of the changes are required for beta2 either way. I would have expected @openshift/sig-auth to workaround the cert issues by disabling the CA check in the bootstrap user test. That would nullify the need for this change and allow #59 to merge. It is a much smaller hack that gets us closer to what we need to ship in beta2.

I agree with @crawford's override

No worries there. I will sort it out next week.

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.

9 participants