-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
4.15
-
No
-
Rejected
-
False
-
Description of problem:
OPM returns expected error, however database file (index.db) is modified.
Version-Release number of selected component (if applicable):
1.26.4
Steps to Reproduce:
1. podman pull registry-proxy.engineering.redhat.com/rh-osbs/iib@sha256:2e07a948bff29523091ac45cfc21569634402856b0400627b82f7681b335d7c2 2. podman create registry-proxy.engineering.redhat.com/rh-osbs/iib@sha256:2e07a948bff29523091ac45cfc21569634402856b0400627b82f7681b335d7c2 3. podman cp [Image ID from step 2]:/var/lib/iib/_hidden/do.not.edit.db ./index.db 4. opm registry add --database ./index.db --enable-alpha --bundle-images registry-proxy.engineering.redhat.com/rh-osbs/openshift-gitops-1-gitops-operator-bundle@sha256:507c080e662d74970f52fa2c6ab79c357e3d581147d9b033c632e7b7640b029a --overwrite-latest
Actual results:
Error ("add prunes bundle ...") with database file modification
Expected results:
Same error without database file modification
Additional info:
Related IIB build logs: https://iib.engineering.redhat.com/api/v1/builds/616911/logs
- links to