Bug 1843168

Summary: [RFE] podman volume should include the filter dangling=true
Product: Red Hat Enterprise Linux 8 Reporter: Faraz Sayyed <fsayyed>
Component: podmanAssignee: Tom Sweeney <tsweeney>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.2CC: ajia, bbaude, chhudson, dornelas, dwalsh, jligon, jnovy, kanderso, lsm5, mheon, toneata, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: FutureFeature, Reopened
Target Release: 8.2Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: podman 2.2.1 or newer Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-02-16 14:21:45 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:
Bug Depends On:    
Bug Blocks: 1186913, 1823908    

Description Faraz Sayyed 2020-06-02 18:03:33 UTC
Description of problem:
While listing the podman volume dangling=true filter shoul be added.

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

How reproducible:
Always


Steps to Reproduce:
1.podman volume ls -f dangling=true
2.
3.

Actual results:
Error: invalid filter: dangling is an invalid filter


Expected results:
It should ist the podman volumes.

Additional info:
This is on RHEL 7.6

Comment 3 Daniel Walsh 2020-06-02 21:25:19 UTC
This will happen in RHEL8 version of podman not going to happen in RHEL7 since RHEL7 is gone into maintenance mode.

Comment 4 Derrick Ornelas 2020-07-08 14:05:55 UTC
This appears to have been merged upstream with https://github.com/containers/podman/pull/6756

Comment 23 Alex Jia 2020-12-21 03:19:02 UTC
I can reproduce this bug on podman-1.6.4-23.module+el8.3.0+8377+eff33c85.x86_64,
and verifiy it on podman-2.2.1-2.module+el8.3.1+9107+df0d2892.x86_64.

1. podman-1.6.4-23.module+el8.3.0+8377+eff33c85.x86_64
[root@hp-dl360g9-03 ~]# podman volume ls -f dangling=true
Error: invalid filter: dangling is an invalid filter

2. podman-2.2.1-2.module+el8.3.1+9107+df0d2892.x86_64
[root@hp-dl360g9-03 ~]# podman volume ls -f dangling=true
DRIVER      VOLUME NAME
local       12cc71b935b10ba5108e5fb7347ff15048577a4dcc9c569ce41e696bb4da5159
local       1a75f3868aaa82b33ab6ca69f7483939272b6d43a7e47afe7348fb3c80338d5e
local       31b65b097edd9c7153a444982a370c486813cf482b74954253c5eb79498dac5c
local       31b78761b203e5468fff82a4f5cd842709edc26a7a0194eab6adbe154ec19394
local       33af4b94579c8944e1a15ad73e42c449c053ef62c8fc4e9b9d887d124c8ab71a

Comment 26 errata-xmlrpc 2021-02-16 14:21:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:0531

Comment 27 Red Hat Bugzilla 2023-09-15 00:32:24 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days