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

Sync downstream 20200716 #86

Merged

Conversation

dhellmann
Copy link

This PR includes a few changes to behavior for syncing hosts that are paused or that have errors. It also includes a change to not update a host when the power state matches the desired state, so that the host is not constantly being reconciled twice per minute.

derekhiggins and others added 7 commits July 10, 2020 18:00
If the power state is correct then we don't need to
save host status.
The extra requeues added in 871926d to
ensure that the Status got written immediately after updating the status
annotation were incompletely reverted by
f1b81a0, after which they are no longer
required as we no longer write a status annotation and just write the
Status immediately. This reverts the remaining changes to prevent
unnecessary requeueing.
If a host is paused, there is no need to reconcile it
periodically. Any change that removes the pause annotation will
trigger normal reconciliation.

See comments on metal3-io#589 for more context

Signed-off-by: Doug Hellmann <dhellmann@redhat.com>
Use actionContinueNoWrite when power State == desired
…requeues

Avoid extra requeues when credentials missing
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 16, 2020
@honza
Copy link
Member

honza commented Jul 16, 2020

/lgtm

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

zaneb commented Jul 16, 2020

/approve

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhellmann, honza, zaneb

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 [dhellmann,honza,zaneb]

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

@openshift-bot
Copy link

/retest

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

6 similar comments
@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-bot
Copy link

/retest

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

@openshift-merge-robot openshift-merge-robot merged commit b6c943f into openshift:master Jul 17, 2020
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants