Bug 1425882
| Summary: | [RFE] provide a way to cancel (specific) jobs | ||
|---|---|---|---|
| Product: | [Community] LVM and device-mapper | Reporter: | Vratislav Podzimek <vpodzime> |
| Component: | lvm2 | Assignee: | LVM Team <lvm-team> |
| lvm2 sub component: | lvmdbusd | QA Contact: | cluster-qe <cluster-qe> |
| Status: | NEW --- | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | medium | CC: | agk, heinzm, jbrassow, msnitzer, pasik, prajnoha, tasleson, zkabelac |
| Version: | unspecified | Keywords: | Triaged |
| Target Milestone: | --- | Flags: | rule-engine:
lvm-technical-solution?
rule-engine: lvm-test-coverage? |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1427323, 1563827, 1595334 | ||
| Bug Blocks: | |||
|
Description
Vratislav Podzimek
2017-02-22 16:24:49 UTC
The only thing we can interrupt is pvmove(s). However, lvm only gives us the ability to abort *all* outstanding moves, not specific ones. I will follow-up with the lvm team on if we could provide a mechanism to abort specific move operations. Otherwise I think we are only left with something like Manager.PvMoveAbort(). The command line is supposed to work in exactly the same way as other options - if you give additional arguments it's supposed to use them to identify the pvmove(s) the action applies to. Is this facility missing from the API? (In reply to Alasdair Kergon from comment #2) > The command line is supposed to work in exactly the same way as other > options - if you give additional arguments it's supposed to use them to > identify the pvmove(s) the action applies to. OK I incorrectly concluded from the man page: "--abort Abort any moves in progress. If the --atomic option was used to start the pvmove, all logical volumes will remain on the source physical vol‐ ume. Otherwise, those segments that have completed the move will stay on the destination physical volume, while those that have not will remain on the source physical volume." that `pvmove --abort` was the only option (which does indeed work). In empirical testing it appears that you can select a specific move to abort. > Is this facility missing from > the API? Yes, thus the reason for this specific BZ > OK I incorrectly concluded from the man page:...
Same here. Looks like the man page needs to be more explicit.
|