#1599 Reserved cg builds do not honor volume policy
Closed: Fixed by mikem. Opened by mikem.

At reservation, the policy cannot run since there is not enough data.

When finalized, the recycled build does not handle the volume policy result correctly.


The attached script does a trivially simple cg import with or without a cg reservation. Set a volume policy that will affect this import, e.g.

volume =
    package test* :: foo
    all :: DEFAULT

Without the reservation, the policy is honored. With the reservation, it is not.

koji-cg-reserve

Metadata Update from @mikem:
- Custom field Size adjusted to None

I think it was a mistake to replicate recycle_build() behavior in CG_Importer instead of getting the code to work with the existing recycle path.

PR #1602

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

Commit bee68998 fixes this issue

Commit bf7bd1c1 fixes this issue

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

Please continue any further discussion there.

Metadata
Related Pull Requests