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

nfs: only set the pool size when it exists and always run default pool creation (backport #9224) #9239

Merged
merged 2 commits into from Nov 24, 2021

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Nov 24, 2021

This is an automatic backport of pull request #9224 done by Mergify.

Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

For CRD not using the new nfs spec that includes the pool settings,
applying the "size" property won't work since it is set to 0. The pool
still gets created but returns an error. The loop is re-queued but on
the second run the pool is detected so no further configuration is done.

Closes: #9205
Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit c3accdc)
@mergify mergify bot added the conflicts label Nov 24, 2021
Previously, if the pool was present we would not run the pool creation
again. This is a problem if the pool spec changes, the new settings will
never be applied.

Signed-off-by: Sébastien Han <seb@redhat.com>
(cherry picked from commit f314284)
@leseb leseb force-pushed the mergify/bp/release-1.7/pr-9224 branch from e19de4c to 1d70afd Compare November 24, 2021 14:33
@leseb leseb merged commit f1777e8 into release-1.7 Nov 24, 2021
@leseb leseb deleted the mergify/bp/release-1.7/pr-9224 branch November 24, 2021 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant