Skip to content

Conversation

@crawford
Copy link
Contributor

@crawford crawford commented Jan 3, 2019

This adds support for the "none" platform. This is used in situations
where the infrastructure will not be managed (bring-your-own).
Additionally, since the infrastructure is unmanaged, the installer
cannot create the infrastructure and the "cluster" target is therefore
invalid when used with the "none" platform. For this reason, the "none"
platform is hidden in the UX. It is still possible to use, but the
install-config will need an empty "none" object under platform.

cc @vrutkovs @wking @abhinavdahiya

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jan 3, 2019
@crawford crawford changed the title WIP: *: add support for platform none *: add support for platform none Jan 3, 2019
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 3, 2019
@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 3, 2019

This produces correct config here, needs MCO to support that platform to have it working e2e

@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 3, 2019
@wking
Copy link
Member

wking commented Jan 3, 2019

/lgtm

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

/retest

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

@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 3, 2019
@crawford
Copy link
Contributor Author

crawford commented Jan 3, 2019

@wking I rebased onto master. There shouldn't be any code changes.

@crawford
Copy link
Contributor Author

crawford commented Jan 3, 2019

@wking
Copy link
Member

wking commented Jan 3, 2019

/lgtm

The HostPath stuff should be addressed soon by either openshift/origin#21727 or openshift/origin#21724.

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

/retest

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

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

Last failure:

time="2019-01-04T00:12:32Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 34.234.107.198:6443: connect: connection refused"
time="2019-01-04T00:13:05Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 54.144.109.157:6443: connect: connection refused"
time="2019-01-04T00:13:38Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 107.22.101.10:6443: connect: connection refused"
time="2019-01-04T00:14:13Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 107.22.101.10:6443: connect: connection refused"
time="2019-01-04T00:14:44Z" level=fatal msg="waiting for Kubernetes API: context deadline exceeded"

@openshift-bot
Copy link
Contributor

/retest

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

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

Last failure:

time="2019-01-04T01:04:23Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 3.86.124.52:6443: connect: connection refused"
time="2019-01-04T01:04:55Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 52.0.78.37:6443: connect: connection refused"
time="2019-01-04T01:05:26Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 3.81.156.175:6443: connect: connection refused"
time="2019-01-04T01:05:58Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 3.81.156.175:6443: connect: connection refused"
time="2019-01-04T01:06:27Z" level=fatal msg="waiting for Kubernetes API: context deadline exceeded"

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

Last failure:

time="2019-01-04T03:13:12Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 52.202.58.63:6443: connect: connection refused"
time="2019-01-04T03:13:44Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 52.202.58.63:6443: connect: connection refused"
time="2019-01-04T03:14:15Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 52.202.58.63:6443: connect: connection refused"
time="2019-01-04T03:14:46Z" level=debug msg="Still waiting for the Kubernetes API: Get https://ci-op-p4xxcx5v-1d3f3-api.origin-ci-int-aws.dev.rhcloud.com:6443/version?timeout=32s: dial tcp 52.202.58.63:6443: connect: connection refused"
time="2019-01-04T03:14:58Z" level=fatal msg="waiting for Kubernetes API: context deadline exceeded"

That's three identical failures in a row... I could have sworn this code passed before.

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

I'm going to babysit this one and try to figure out what's going on...

/retest

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

Jan 04 03:36:41 ip-10-0-5-34 bootkube.sh[9504]: Pulling release image...
Jan 04 03:36:41 ip-10-0-5-34 bootkube.sh[9504]: Trying to pull registry.svc.ci.openshift.org/ci-op-p4xxcx5v/release:latest...Failed
Jan 04 03:36:41 ip-10-0-5-34 bootkube.sh[9504]: error pulling image "registry.svc.ci.openshift.org/ci-op-p4xxcx5v/release:latest": unable to pull registry.svc.ci.openshift.org/ci-op-p4xxcx5v/release:latest: unable to pull image: Error determining manifest MIME type for docker://registry.svc.ci.openshift.org/ci-op-p4xxcx5v/release:latest: Error reading manifest latest in registry.svc.ci.openshift.org/ci-op-p4xxcx5v/release: unauthorized: authentication required

Boo.

This adds support for the "none" platform. This is used in situations
where the infrastructure will not be managed (bring-your-own).
Additionally, since the infrastructure is unmanaged, the installer
cannot create the infrastructure and the "cluster" target is therefore
invalid when used with the "none" platform. For this reason, the "none"
platform is hidden in the UX. It is still possible to use, but the
install-config will need an empty "none" object under platform.
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 4, 2019
@wking
Copy link
Member

wking commented Jan 4, 2019

The only thing that changed from f5d48a5 -> f350f2c was the commit date? Still

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: crawford, wking

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

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

Clayton says he fixed something.

/retest

@openshift-bot
Copy link
Contributor

/retest

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

1 similar comment
@openshift-bot
Copy link
Contributor

/retest

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

@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 4, 2019

/retest

@openshift-bot
Copy link
Contributor

/retest

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

@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 4, 2019

/retest

@droslean
Copy link
Member

droslean commented Jan 4, 2019

/test e2e-aws

@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 4, 2019

/retest

@openshift-bot
Copy link
Contributor

/retest

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

@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 4, 2019

/retest

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

@vrutkovs do you know what has caused the recent failures?

@crawford
Copy link
Contributor Author

crawford commented Jan 4, 2019

The last one looks like a series of storage failures again.

@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 4, 2019

Seems openshift/origin#21727 should fix (some) storage issues

@vrutkovs
Copy link
Contributor

vrutkovs commented Jan 4, 2019

/retest

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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants