Skip to content

mcd: remove unnecessary checks and simplify updateSSHKeys - #415

Merged
openshift-merge-robot merged 2 commits into
openshift:masterfrom
kikisdeliveryservice:remove-unnecessary-user-check
Feb 15, 2019
Merged

openshift-merge-robot merged 2 commits into
openshift:masterfrom
kikisdeliveryservice:remove-unnecessary-user-check

Conversation

@kikisdeliveryservice

@kikisdeliveryservice kikisdeliveryservice commented Feb 12, 2019 •

Copy link
Copy Markdown
Contributor

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
@kikisdeliveryservice
kikisdeliveryservice force-pushed the remove-unnecessary-user-check branch from 13f12cc to b7bd112 Compare February 12, 2019 21:49
@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
Copy Markdown
Contributor Author

/test unit

Comment thread pkg/daemon/update.go 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

runcom commented Feb 12, 2019

Copy link
Copy Markdown
Member

/approve

@runcom

runcom commented Feb 13, 2019

Copy link
Copy Markdown
Member

/retest

@kikisdeliveryservice

kikisdeliveryservice commented Feb 13, 2019 •

Copy link
Copy Markdown
Contributor Author

/test e2e-aws

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

/retest

3 similar comments
@runcom

runcom commented Feb 13, 2019

Copy link
Copy Markdown
Member

/retest

@runcom

runcom commented Feb 13, 2019

Copy link
Copy Markdown
Member

/retest

@runcom

runcom commented Feb 13, 2019

Copy link
Copy Markdown
Member

/retest

@jlebon

jlebon commented Feb 13, 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 Feb 13, 2019
@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.

@ashcrow

ashcrow commented Feb 13, 2019

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

@kikisdeliveryservice
kikisdeliveryservice force-pushed the remove-unnecessary-user-check branch from c5d9d48 to e0d4601 Compare February 13, 2019 17:52
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 13, 2019
@kikisdeliveryservice
kikisdeliveryservice force-pushed the remove-unnecessary-user-check branch from e0d4601 to 4b1ea26 Compare February 13, 2019 18:09
@kikisdeliveryservice
kikisdeliveryservice force-pushed the remove-unnecessary-user-check branch from 4b1ea26 to 54f1504 Compare February 13, 2019 18:21
@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

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

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

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

/retest

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

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

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

/test e2e-aws

1 similar comment
@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

/test e2e-aws

@runcom

runcom commented Feb 14, 2019

Copy link
Copy Markdown
Member

/retest

@runcom

runcom commented Feb 14, 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 Feb 14, 2019
@openshift-ci-robot

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

Details 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

runcom commented Feb 14, 2019

Copy link
Copy Markdown
Member

/retest

2 similar comments
@runcom

runcom commented Feb 14, 2019

Copy link
Copy Markdown
Member

/retest

@ashcrow

ashcrow commented Feb 14, 2019

Copy link
Copy Markdown
Member

/retest

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

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

@kikisdeliveryservice

Copy link
Copy Markdown
Contributor Author

/test e2e-aws

@runcom

runcom commented Feb 15, 2019

Copy link
Copy Markdown
Member

/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
ptalgulk01 pushed a commit to ptalgulk01/machine-config-operator that referenced this pull request May 15, 2026
…ecessary-user-check

mcd: remove unnecessary checks and simplify updateSSHKeys
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