Bug 1464759

Summary: Regression in lvconvert with LV no longer waits for pollable operation
Product: Red Hat Enterprise Linux 7 Reporter: Zdenek Kabelac <zkabelac>
Component: lvm2Assignee: Heinz Mauelshagen <heinzm>
lvm2 sub component: Command-line tools QA Contact: cluster-qe <cluster-qe>
Status: CLOSED INSUFFICIENT_DATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: agk, heinzm, jbrassow, msnitzer, prajnoha, thornber, zkabelac
Version: 7.4   
Target Milestone: rc   
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: 2020-07-22 21:43:36 UTC 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:

Description Zdenek Kabelac 2017-06-25 13:04:44 UTC
Description of problem:

Regresssion in cmdline processing of 'lvconvert'.

RHEL7.3 version of lvm2 automatically started polling with command:

lvconvert vg/lv
      being a mirror  - automatically waited till conversion is finished. 
      If there no pollable operation running (i.e. mirror is in sync) 
       - it returns success.

Current lvm2 behavior of upstream code 

lvconvert vg/LV1
 Command on LV vg/LV1 requires LV with properties: lv_is_converting .
 Command not permitted on LV vg/LV1.

Also with new option:  lvconvert --startpool vg/LV1 is still fails with same message

This was a known mechanism to wait till i.e. lvcreate --type mirror  is fully synchronized.  This no longer works.

Version-Release number of selected component (if applicable):
2.02.169

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info: