Skip to content

Conversation

@enxebre
Copy link
Member

@enxebre enxebre commented Jan 31, 2019

Since we are migrating to use openshift.io for machine API. We want to do a backward compatible transition.
This runs controllers for both groups simultaneously
TODO:

  • Add actuator controllers
  • Update cluster-api vendored sha

@enxebre enxebre added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 31, 2019
@openshift-ci-robot openshift-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 31, 2019
@enxebre
Copy link
Member Author

enxebre commented Jan 31, 2019

cc @bison @frobware @ingvagabund


// machineAnnotationKey is the annotation storing a link between a node and it's machine. Should match upstream cluster-api machine controller. (node.go)
machineAnnotationKey = "cluster.k8s.io/machine"
machineAnnotationKey = "machine.k8s.io/machine"
Copy link
Contributor

Choose a reason for hiding this comment

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

This seems a little weird. I feel like we should either keep this the same as upstream, or go ahead and change it to openshift.io.

Copy link
Member Author

Choose a reason for hiding this comment

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

sure, it was meant to be machine.openshift.io, thanks!

- --logtostderr=true
- --v=3
- name: nodelink-controller-deprecated
image: quay.io/coreos/machine-api-operator:origin-v4.0-2019-01-31-041134
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it would be nice to template these in after having read them from the config like we do for the others. Even if it's temporary, it would be nice for these to come from the release image. I suppose this is not a total blocker though.

Copy link
Member Author

Choose a reason for hiding this comment

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

this is never gonna come from the payload/release image. The ones coming from the payload are the ones built from master so adding support for the new types.
The payload CI build will replace every appearance of https://github.com/openshift/machine-api-operator/blob/master/install/image-references#L8 with the corresponding image Stream built by CI.
We could template in the configMap though but it wouldn't make any difference

@frobware
Copy link
Contributor

With the obvious exception of the Godep mirror location for cluster-api, LGTM.

@enxebre enxebre force-pushed the openshift-machine-api branch 3 times, most recently from e5ceeea to fcc0fb9 Compare January 31, 2019 13:07
@enxebre
Copy link
Member Author

enxebre commented Jan 31, 2019

/test all

@enxebre
Copy link
Member Author

enxebre commented Jan 31, 2019

/test e2e-aws-operator

@enxebre
Copy link
Member Author

enxebre commented Jan 31, 2019

/test e2e-aws

@enxebre enxebre force-pushed the openshift-machine-api branch from f87aec1 to 963f70a Compare January 31, 2019 18:47
@enxebre
Copy link
Member Author

enxebre commented Jan 31, 2019

/test e2e-aws-operator

@enxebre enxebre force-pushed the openshift-machine-api branch from 963f70a to 3fb5ada Compare January 31, 2019 19:38
@enxebre
Copy link
Member Author

enxebre commented Feb 1, 2019

/test e2e-aws

@enxebre enxebre removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 1, 2019
Copy link
Contributor

@paulfantom paulfantom left a comment

Choose a reason for hiding this comment

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

/approve

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 1, 2019
@frobware
Copy link
Contributor

frobware commented Feb 1, 2019

/lgtm

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: frobware, paulfantom

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:
  • OWNERS [frobware,paulfantom]

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 lgtm Indicates that a PR is ready to be merged. label Feb 1, 2019
@openshift-merge-robot openshift-merge-robot merged commit 6744cf3 into openshift:master Feb 1, 2019
name = "sigs.k8s.io/cluster-api"
branch = "master"
name = "github.com/openshift/cluster-api"
revision = "91fca585a85b163ddfd119fd09c128c9feadddca"
Copy link
Member

Choose a reason for hiding this comment

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

Fine for now though let's use tags once we finish the mirroring

Copy link
Member

@ingvagabund ingvagabund left a comment

Choose a reason for hiding this comment

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

Few nits left.

args:
- --logtostderr=true
- --v=3
- name: nodelink-controller-deprecated
Copy link
Member

Choose a reason for hiding this comment

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

+1 for naming


// machineAnnotationKey is the annotation storing a link between a node and it's machine. Should match upstream cluster-api machine controller. (node.go)
machineAnnotationKey = "cluster.k8s.io/machine"
machineAnnotationKey = "machine.openshift.io/machine"
Copy link
Member

Choose a reason for hiding this comment

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


const (
machineAnnotationKey = "cluster.k8s.io/machine"
machineAnnotationKey = "machine.openshift.io/machine"
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

Agreed, but that belongs to a different PR. We need to go step by step. Let's switch the api group. Then do improvements

ingvagabund pushed a commit to ingvagabund/machine-api-operator that referenced this pull request Jul 11, 2019
…e-deletion

Skip deletion of stop machines if there is an error
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/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants