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

✨ PR prevents the use of BMH annotated as unhealthy #96

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

jan-est
Copy link
Contributor

@jan-est jan-est commented Jun 9, 2020

This PR adds the new UnhealthyAnnotation = "capi.metal3.io/unhealthy" and PR prevents the unhealthy BMH from being selected as the host for metal3machine. With new annotation users can mark BMH as unhealthy.

@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 9, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 6776a33 to eb933b8 Compare June 9, 2020 11:37
@metal3-io-bot metal3-io-bot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jun 9, 2020
@jan-est
Copy link
Contributor Author

jan-est commented Jun 9, 2020

/test golint

@jan-est
Copy link
Contributor Author

jan-est commented Jun 9, 2020

/test govet

@kashifest
Copy link
Member

/retest

@maelk
Copy link
Member

maelk commented Jun 9, 2020

this should have a go.mod update to use the new version of BMO with the annotation definition

@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from eb933b8 to 55d0e43 Compare June 10, 2020 06:12
@metal3-io-bot metal3-io-bot 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 Jun 10, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch 2 times, most recently from ff34b90 to 6366e1c Compare June 10, 2020 06:58
@jan-est
Copy link
Contributor Author

jan-est commented Jun 10, 2020

/test-v1a4-integration

@jan-est
Copy link
Contributor Author

jan-est commented Jun 10, 2020

/hold

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 10, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 6366e1c to 681df2b Compare June 11, 2020 05:59
@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/test-v1a4-integration

@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 681df2b to 5731020 Compare June 11, 2020 07:16
@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/test-v1a4-integration

@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/unhold

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 11, 2020
@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/test-v1a4-integration

@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/assign @hardys

@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/test-v1a4-integration

1 similar comment
@jan-est
Copy link
Contributor Author

jan-est commented Jun 11, 2020

/test-v1a4-integration

@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch 2 times, most recently from 52ce72d to 840ff8d Compare June 15, 2020 06:20
@metal3-io-bot metal3-io-bot 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 Jun 15, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 840ff8d to 7446373 Compare June 15, 2020 06:23
@metal3-io-bot metal3-io-bot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 15, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 7446373 to f3219ef Compare June 15, 2020 06:27
@metal3-io-bot metal3-io-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jun 15, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from f3219ef to 51b17d5 Compare June 15, 2020 06:39
@metal3-io-bot metal3-io-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jun 15, 2020
@jan-est
Copy link
Contributor Author

jan-est commented Jun 15, 2020

/test-v1a4-integration

@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 51b17d5 to f087872 Compare June 16, 2020 08:08
@jan-est
Copy link
Contributor Author

jan-est commented Jun 16, 2020

/test gofmt

@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from f087872 to 46c13ab Compare June 16, 2020 08:51
@jan-est
Copy link
Contributor Author

jan-est commented Jun 16, 2020

/test-v1a4-integration

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jan-est, maelk

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:

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 16, 2020
@jan-est jan-est force-pushed the unhealthy-node-handling-jan branch from 46c13ab to f0d27bd Compare June 16, 2020 14:12
@jan-est
Copy link
Contributor Author

jan-est commented Jun 16, 2020

/test-v1a4-integration

@kashifest
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jun 16, 2020
@metal3-io-bot metal3-io-bot merged commit 5953cae into metal3-io:master Jun 16, 2020
@jan-est jan-est deleted the unhealthy-node-handling-jan branch July 7, 2020 11:54
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants