#2102 koji list-signed --tag results in OOM
Closed: Fixed by tkopecek. Opened by cobrien.

The CLI command list-signed will result in an OOM if executed with only the --tag option specified.

From a quick look, it appears this is because of an invocation of the hub API queryRPMSigs without any arguments.

See:
https://pagure.io/koji/blob/master/f/cli/koji_cli/commands.py#_2115

It seems like the logic there is somewhat backwards -- querying every signature in all of koji, and then subsequently filtering it to what's in a given tag. You'd probably be better using the tag option to discover a list of builds, and then querying for signed RPMs from those builds.


Metadata Update from @tkopecek:
- Custom field Size adjusted to None
- Issue set to the milestone: 1.22
- Issue tagged with: bug

PR #2103

Commit 4b3c9f33 fixes this issue

Commit eb7c33a1 fixes this issue

Metadata Update from @jcupova:
- Issue tagged with: testing-ready

Metadata Update from @jcupova:
- Issue tagged with: testing-done

Metadata Update from @tkopecek:
- Issue set to the milestone: 1.21.1 (was: 1.22)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/2102

Please continue any further discussion there.

Metadata
Related Pull Requests