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 #7053/a0c67a88 backport][stable-7] lvol: Fix pct of origin #7097

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Aug 12, 2023

This is a backport of PR #7053 as merged into main (a0c67a8).

SUMMARY

The size parameter of the lvol module did not support percentage of origin size specification when creating a snapshot volume. This is valid according to lvcreate(8). This PR addresses the issue.

I increased the size of the loop devices in the test playbook to accommodate creating test snapshot LVs. The modified tests worked for me locally. Fingers crossed for the CI workflow.

Fixes #1630

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

lvol module

ADDITIONAL INFORMATION

My first PR to the community.general collection. Kindly guide me if I've done anything wrong. Thanks!

* add support for percentage of origin size for creating snapshot volumes

* add changelog fragment

* add pull request link

Co-authored-by: Felix Fontein <[email protected]>

* fix what's not idempotent

---------

Co-authored-by: Felix Fontein <[email protected]>
(cherry picked from commit a0c67a8)
@patchback patchback bot mentioned this pull request Aug 12, 2023
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug integration tests/integration module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests labels Aug 12, 2023
@felixfontein felixfontein merged commit 76fbb50 into stable-7 Aug 12, 2023
@felixfontein felixfontein deleted the patchback/backports/stable-7/a0c67a88949fa7ca204740d84bfc37e950b0f3b3/pr-7053 branch August 12, 2023 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug integration tests/integration module module new_contributor Help guide this first time contributor plugins plugin (any type) tests tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants