Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mcd: remove unnecessary checks and simplify updateSSHKeys #415

Conversation

kikisdeliveryservice
Copy link
Contributor

@kikisdeliveryservice kikisdeliveryservice commented Feb 12, 2019

Minor updates that I wanted to fix/cleanup since my last ssh pr:

  1. remove user.name check this is already done in reconcilable() and is unnecessary here
  2. use consts for "core" and core's filepath "/home/core/ssh" to make it more consistent and maintainable.

@kikisdeliveryservice kikisdeliveryservice changed the title remove unnecessary checks and simplify updateSSHKeys mcd: remove unnecessary checks and simplify updateSSHKeys Feb 12, 2019
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 12, 2019
@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 12, 2019
@openshift-ci-robot openshift-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 12, 2019
@kikisdeliveryservice
Copy link
Contributor Author

/test unit

pkg/daemon/update.go Outdated Show resolved Hide resolved
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 12, 2019
@runcom
Copy link
Member

runcom commented Feb 12, 2019

/approve

@runcom
Copy link
Member

runcom commented Feb 13, 2019

/retest

@kikisdeliveryservice
Copy link
Contributor Author

kikisdeliveryservice commented Feb 13, 2019

/test e2e-aws

@kikisdeliveryservice
Copy link
Contributor Author

/retest

3 similar comments
@runcom
Copy link
Member

runcom commented Feb 13, 2019

/retest

@runcom
Copy link
Member

runcom commented Feb 13, 2019

/retest

@runcom
Copy link
Member

runcom commented Feb 13, 2019

/retest

@jlebon
Copy link
Member

jlebon commented Feb 13, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 13, 2019
@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.

@ashcrow
Copy link
Member

ashcrow commented Feb 13, 2019

pkg/daemon/update.go:224:1: syntax error: unexpected <<, expecting }
pkg/daemon/update.go:227:1: syntax error: unexpected ==, expecting }
pkg/daemon/update.go:231:1: syntax error: unexpected >>, expecting }
pkg/daemon/update.go:240:2: syntax error: non-declaration statement outside function body

Rebase needed

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

Had some rebase woes (no actual changes on my end). Should be fine now.

@kikisdeliveryservice
Copy link
Contributor Author

"\t* aws_route_table_association.worker_routing.4: timeout while waiting for state to become 'success' (timeout: 5m0s)"

/retest

@kikisdeliveryservice
Copy link
Contributor Author

I'm going to just hold off on retesting since AWS seems to be going through something today.

@kikisdeliveryservice
Copy link
Contributor Author

/test e2e-aws

1 similar comment
@kikisdeliveryservice
Copy link
Contributor Author

/test e2e-aws

@runcom
Copy link
Member

runcom commented Feb 14, 2019

/retest

@runcom
Copy link
Member

runcom commented Feb 14, 2019

/lgtm

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

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlebon, kikisdeliveryservice, runcom

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [jlebon,kikisdeliveryservice,runcom]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@runcom
Copy link
Member

runcom commented Feb 14, 2019

/retest

2 similar comments
@runcom
Copy link
Member

runcom commented Feb 14, 2019

/retest

@ashcrow
Copy link
Member

ashcrow commented Feb 14, 2019

/retest

@kikisdeliveryservice
Copy link
Contributor Author

Seeing intermittent bug #414 in the last e2e-aws run. ☹️
/test e2e-aws

@kikisdeliveryservice
Copy link
Contributor Author

/test e2e-aws

@runcom
Copy link
Member

runcom commented Feb 15, 2019

/retest

@openshift-merge-robot openshift-merge-robot merged commit 34767df into openshift:master Feb 15, 2019
@kikisdeliveryservice kikisdeliveryservice deleted the remove-unnecessary-user-check branch February 22, 2019 22:11
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