Skip to content

*: add support for platform none - #982

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
crawford:none
Jan 4, 2019
Merged

*: add support for platform none#982
openshift-merge-robot merged 1 commit into
openshift:masterfrom
crawford:none

Conversation

@crawford

@crawford crawford commented Jan 3, 2019

Copy link
Copy Markdown
Contributor

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
Comment thread pkg/asset/cluster/cluster.go Outdated
Comment thread pkg/asset/cluster/cluster.go Outdated
Comment thread pkg/asset/installconfig/ssh.go Outdated
Comment thread pkg/types/validation/installconfig.go Outdated
Comment thread pkg/asset/machines/master.go Outdated
@vrutkovs

vrutkovs commented Jan 3, 2019

Copy link
Copy Markdown
Contributor

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

wking commented Jan 3, 2019

Copy link
Copy Markdown
Member

/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
Copy Markdown
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

crawford commented Jan 3, 2019

Copy link
Copy Markdown
Contributor Author

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

@crawford

crawford commented Jan 3, 2019

Copy link
Copy Markdown
Contributor Author

@wking

wking commented Jan 3, 2019

Copy link
Copy Markdown
Member

/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
Copy Markdown
Contributor

/retest

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

@crawford

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
Contributor

/retest

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

@crawford

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

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

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

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

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

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

/retest

@crawford

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author
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

wking commented Jan 4, 2019

Copy link
Copy Markdown
Member

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
Copy Markdown
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

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

Clayton says he fixed something.

/retest

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

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

1 similar comment
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

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

@vrutkovs

vrutkovs commented Jan 4, 2019

Copy link
Copy Markdown
Contributor

/retest

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

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

@vrutkovs

vrutkovs commented Jan 4, 2019

Copy link
Copy Markdown
Contributor

/retest

@droslean

droslean commented Jan 4, 2019

Copy link
Copy Markdown
Member

/test e2e-aws

@vrutkovs

vrutkovs commented Jan 4, 2019

Copy link
Copy Markdown
Contributor

/retest

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

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

@vrutkovs

vrutkovs commented Jan 4, 2019

Copy link
Copy Markdown
Contributor

/retest

@crawford

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

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

@crawford

crawford commented Jan 4, 2019

Copy link
Copy Markdown
Contributor Author

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

@vrutkovs

vrutkovs commented Jan 4, 2019

Copy link
Copy Markdown
Contributor

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

@vrutkovs

vrutkovs commented Jan 4, 2019

Copy link
Copy Markdown
Contributor

/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