Skip to content

Conversation

@patrickdillon
Copy link
Contributor

@patrickdillon patrickdillon commented Jan 7, 2020

Adds machines and machinesets for VSphere workers and control plane. Plumbs values through to tfvars.
/cc @jcpowermac

@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/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 7, 2020
@jcpowermac
Copy link
Contributor

cc:
@mtnbikenc
@dav1x

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Template should be the name of the virtual machine template - config.Platform.VSphere.Template

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickdillon I am wrong about this. We will download the ova and add it to vSphere. That's still in the backlog.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickdillon I missed network from types/vsphere/platform.go

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on reviewing other providers it seems MachinePool should contain:
https://github.com/openshift/machine-api-operator/blob/master/pkg/apis/vsphereprovider/v1alpha1/vsphereproviderconfig_types.go#L32-L54

Though I am not sure about Network NetworkSpec.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm maybe not NetworkSpec since that seems to environmental specific.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickdillon can you add

Network string `json:"network,omitempty"`

since I forgot it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jcpowermac I can add Network to the Platform. omitempty means it is optional, but it looks like the provider requires a NetworkName: https://github.com/openshift/machine-api-operator/blob/master/pkg/apis/vsphereprovider/v1alpha1/vsphereproviderconfig_types.go#L32 WDYT?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickdillon UPI doesn't need it and if we don't include omitempty then I am assuming it would become required parameter for UPI?

Copy link
Contributor Author

@patrickdillon patrickdillon Jan 7, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am trying to gain some background on this, but have to run to another meeting in 5 mins.

UPI doesn't need it

But we do need to pass a value to terraform, right? https://github.com/openshift/installer/pull/2841/files#diff-779e91f6248cdf8645f11e13f8849d28R47

I think we just need to make sure those values match here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@patrickdillon
Copy link
Contributor Author

/woof

@openshift-ci-robot
Copy link
Contributor

@patrickdillon: dog image

Details

In response to this:

/woof

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.

@patrickdillon patrickdillon force-pushed the vsphere-machinesets-cors-1318 branch from 0fe9fa5 to 9c5d8cf Compare January 10, 2020 16:50
@openshift-ci-robot openshift-ci-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 10, 2020
@patrickdillon patrickdillon force-pushed the vsphere-machinesets-cors-1318 branch from 9c5d8cf to 3837fcc Compare January 10, 2020 17:02
@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 10, 2020
@patrickdillon patrickdillon force-pushed the vsphere-machinesets-cors-1318 branch 2 times, most recently from 91b6692 to fcf7f64 Compare January 10, 2020 17:27
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jan 10, 2020
@patrickdillon patrickdillon force-pushed the vsphere-machinesets-cors-1318 branch from fcf7f64 to 180ec05 Compare January 14, 2020 19:01
@patrickdillon patrickdillon changed the title WIP: Add machines and machinesets for VSphere Add machines and machinesets for VSphere Jan 14, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 14, 2020
@patrickdillon patrickdillon force-pushed the vsphere-machinesets-cors-1318 branch from 180ec05 to 12d7e49 Compare January 14, 2020 19:05
@jstuever
Copy link
Contributor

/cc @jstuever

Copy link
Contributor

@jstuever jstuever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
I didn't see any obvious issues; we'll see when we get all the pieces together.

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 14, 2020
@jstuever jstuever removed their assignment Jan 14, 2020
@jstuever
Copy link
Contributor

/assign @jcpowermac

@openshift-bot
Copy link
Contributor

/retest

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

5 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@patrickdillon
Copy link
Contributor Author

/test images
/test e2e-aws-upgrade
/skip

@openshift-bot
Copy link
Contributor

/retest

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

@patrickdillon
Copy link
Contributor Author

/skip

@openshift-bot
Copy link
Contributor

/retest

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

@jcpowermac
Copy link
Contributor

/skip

@openshift-bot
Copy link
Contributor

/retest

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

2 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

…odes.

Vendors additional vsphere-provider api code using dep ensure.
@patrickdillon patrickdillon force-pushed the vsphere-machinesets-cors-1318 branch from 656723c to 903d13c Compare January 16, 2020 01:37
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 16, 2020
@jcpowermac
Copy link
Contributor

/lgtm

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

/test all

@patrickdillon
Copy link
Contributor Author

/hold
libvirt build image failure is causing all tests to fail

@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 Jan 16, 2020
@patrickdillon
Copy link
Contributor Author

/hold cancel
/retest

@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 Jan 16, 2020
@openshift-bot
Copy link
Contributor

/retest

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

3 similar comments
@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-bot
Copy link
Contributor

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit 4856db5 into openshift:master Jan 16, 2020
@openshift-ci-robot
Copy link
Contributor

@patrickdillon: The following tests failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-libvirt 903d13c link /test e2e-libvirt
ci/prow/e2e-openstack 903d13c link /test e2e-openstack
ci/prow/e2e-ovirt 903d13c link /test e2e-ovirt

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.

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.

7 participants