Bug 2229023

Summary: `lvcreate --type thin` errors when used with `--snapshot`
Product: [Fedora] Fedora Reporter: Patrick Hemmer <bugzilla.redhat>
Component: lvm2Assignee: David Teigland <teigland>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: agk, anprice, bmarzins, bmr, cfeist, heinzm, kzak, lvm-team, mcsontos, prajnoha, zkabelac
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:40:20 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 Patrick Hemmer 2023-08-04 01:24:30 UTC
Description of problem:

Attempting to use `lvcreate` with the option `--type thin` and `--snapshot` produces the error:

    Command does not accept option: --snapshot.


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

  LVM version:     2.03.18(2)-git (2022-11-10)
  Library version: 1.02.189-git (2022-11-10)
  Driver version:  4.48.0


How reproducible:
every time

Steps to Reproduce:
1. Have a source thin volume
2. lvcreate -s VG/LV --type thin

Actual results:

    Command does not accept option: --snapshot.

Expected results:

    Logical volume "lvol1" created.

Additional info:

This is a regression as this command used to work fine on Fedora 37. The documentation says that `--type thin` is implied, meaning not required, but is allowed.

Comment 1 Zdenek Kabelac 2023-08-04 12:34:37 UTC
Fixed upstream already (version 2.03.22)

https://listman.redhat.com/archives/lvm-devel/2023-June/024829.html

Comment 2 Aoife Moloney 2024-05-28 13:40:20 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.