Skip to content

Allow disable automated cleaning#784

Merged
metal3-io-bot merged 3 commits intometal3-io:masterfrom
Nordix:feature-disk-cleaning/feruz
Apr 1, 2021
Merged

Allow disable automated cleaning#784
metal3-io-bot merged 3 commits intometal3-io:masterfrom
Nordix:feature-disk-cleaning/feruz

Conversation

@fmuyassarov
Copy link
Copy Markdown
Member

@fmuyassarov fmuyassarov commented Feb 2, 2021

Disabling disk cleaning implementation.
Fixes: #626
Related changes in CAPM3: metal3-io/cluster-api-provider-metal3#156

@metal3-io-bot metal3-io-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 2, 2021
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch 2 times, most recently from b36eaba to 44c2128 Compare February 17, 2021 12:28
@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 Feb 25, 2021
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch from d612e07 to 7d64e51 Compare February 25, 2021 12:47
@metal3-io-bot metal3-io-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Feb 25, 2021
@fmuyassarov fmuyassarov marked this pull request as ready for review February 25, 2021 12:53
@metal3-io-bot metal3-io-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 25, 2021
@fmuyassarov
Copy link
Copy Markdown
Member Author

/cc @hardys
/cc @dhellmann
/cc @maelk

@fmuyassarov
Copy link
Copy Markdown
Member Author

/cc @dtantsur

Comment thread config/crd/bases/metal3.io_baremetalhosts.yaml Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
Copy link
Copy Markdown
Member

@kashifest kashifest left a comment

Choose a reason for hiding this comment

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

Looks Good. Minor comments in line. +1 for the idea of moving the code peace into a function

Comment thread pkg/provisioner/ironic/ironic.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch 2 times, most recently from 30d6017 to 553b64c Compare March 4, 2021 11:46
@fmuyassarov
Copy link
Copy Markdown
Member Author

Hi @dhellmann @hardys @kashifest
Thanks for the reviews once more. I have updated the code as requested and opened a PR #166 to update proposal in metal3-docs. PTAL.

@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch from 553b64c to 633a2c7 Compare March 4, 2021 17:03
@fmuyassarov
Copy link
Copy Markdown
Member Author

@dhellmann Please have look, updated as per the latest changes in the proposal.

Comment thread apis/metal3.io/v1alpha1/baremetalhost_types.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch from 633a2c7 to 9ab8af0 Compare March 4, 2021 23:37
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch from 131afdd to ecdc9e6 Compare March 30, 2021 14:43
@metal3-io-bot metal3-io-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 30, 2021
@fmuyassarov
Copy link
Copy Markdown
Member Author

/test-integration

@fmuyassarov
Copy link
Copy Markdown
Member Author

@zaneb @hardys I moved update to ValidateManagementAccess(). PTAL. Thank you!

Comment thread pkg/provisioner/ironic/ironic.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch 3 times, most recently from 8401bc6 to 933be57 Compare March 31, 2021 11:37
@metal3-io-bot metal3-io-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Mar 31, 2021
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch 2 times, most recently from 6287b6b to b6e8626 Compare March 31, 2021 11:46
@fmuyassarov
Copy link
Copy Markdown
Member Author

@zaneb @hardys do you think it is better now?

Comment thread pkg/provisioner/ironic/ironic.go Outdated
Comment thread pkg/provisioner/ironic/ironic.go Outdated
@fmuyassarov fmuyassarov force-pushed the feature-disk-cleaning/feruz branch from b6e8626 to b2e3824 Compare March 31, 2021 16:19
@hardys
Copy link
Copy Markdown
Member

hardys commented Mar 31, 2021

This version lgtm other than resolving the failing tests, thanks @fmuyassarov!

@fmuyassarov
Copy link
Copy Markdown
Member Author

/test-integration

@fmuyassarov
Copy link
Copy Markdown
Member Author

Thanks everyone for reviews. I think all the comments now addressed!.

@zaneb
Copy link
Copy Markdown
Member

zaneb commented Apr 1, 2021

/lgtm

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/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configurable disk cleaning options