cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

List ISO doesn't respect listall=true

Open soreana opened this issue 1 year ago • 2 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
API, ISO
CLOUDSTACK VERSION
4.18, 4.19 (main)
SUMMARY

Cloudstack Doesn't list the iso when the listall=true is passes.

STEPS TO REPRODUCE
  1. list ISOs using the following command, nothing is returned (or some ISOs are returned)
(localcloud)  > list isos
(localcloud)  >
  1. pass listall=true to the previous list ISOs command, the same result is returned.
(localcloud)  > list isos listall=true
(localcloud)  >
  1. remove listall=true and add domainid, you would get the ISOs:
(localcloud)  > list isos domainid=bb55b9e8-8e05-11ee-89aa-1e002100337e filter=name,id
{
  "count": 1,
  "iso": [
    {
      "id": "98efda2e-c4a1-4bd4-afe3-ab4290b81a92",
      "name": "xs-tools.iso"
    }
  ]
}
(localcloud)  >
EXPECTED RESULTS
CloudStack lists all the ISOs.
ACTUAL RESULTS
CloudStack lists nothing.

soreana avatar Dec 06 '23 12:12 soreana

Fixed with #9064

shwstppr avatar May 28 '24 07:05 shwstppr

Fix reverted, re-opening this.

sureshanaparti avatar Jun 28 '24 10:06 sureshanaparti