Skip to content

Conversation

@sanchezl
Copy link
Contributor

No description provided.

@openshift-ci-robot openshift-ci-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Feb 11, 2020
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: sanchezl
To complete the pull request process, please assign tnozicka
You can assign the PR to them by writing /assign @tnozicka in a comment when ready.

The full list of commands accepted by this bot can be found 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

Hostname: strings.TrimSuffix(address, "."+discoveryDomain),
IP: net.IPv4(byte(192), byte(0), byte(2), byte(i+1)).String(),
// create endpoint addresses for each node
pods, err := c.podLister.List(labels.Set{"k8s-app": "etcd"}.AsSelector())
Copy link
Contributor

Choose a reason for hiding this comment

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

don't use pods. Get the nodes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done


// if etcd-bootstrap exists, keep it (at the end of the list)
existing, err := c.endpointsLister.Endpoints("openshift-etcd").Get("host-etcd")
if err != nil && !errors.IsNotFound(err) {
Copy link
Contributor

Choose a reason for hiding this comment

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

update this to the switch/case style from #112

Copy link
Contributor

Choose a reason for hiding this comment

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

update this to the switch/case style from #112

Lack of this results in stomping out the the bootstrap etcd and we fail to start.

if err != nil {
fmt.Errorf("unable to list expected etcd member nodes: %v", err)
}
endpointAddresses := &required.Subsets[0].Addresses
Copy link
Contributor

Choose a reason for hiding this comment

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

instead of this, create an empty one and then do an assignment at the end. it will be easier for slow people like me.

@openshift-ci-robot
Copy link

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

Test name Commit Details Rerun command
ci/prow/verify c9b66c5 link /test verify
ci/prow/e2e-gcp-upgrade c9b66c5 link /test e2e-gcp-upgrade
ci/prow/e2e-azure c9b66c5 link /test e2e-azure

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.

@deads2k
Copy link
Contributor

deads2k commented Feb 11, 2020

also a verify failure.

@deads2k
Copy link
Contributor

deads2k commented Feb 11, 2020

fixed in #123

@deads2k deads2k closed this Feb 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

3 participants