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

Commits on Nov 24, 2021

  1. nfs: only set the pool size when it exists

    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)
    leseb authored and mergify-bot committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    760a8d3 View commit details
    Browse the repository at this point in the history
  2. nfs: always run default pool creation

    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 committed Nov 24, 2021
    Configuration menu
    Copy the full SHA
    1d70afd View commit details
    Browse the repository at this point in the history