Skip to content

opm add pruning error is unclear #799

@ankitathomas

Description

@ankitathomas

opm add warns when an add operation prunes a bundle expected on an index but the error message is unclear.

Failed to add the bundles to the index image: [added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:1470d60ca59fef22b776f1581c12d3bb06949d071d07a9cdd97a37a840ed905c pruned from package amq7-interconnect-operator, channel 1.2.0: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:4e84d9b68d37e663025905e46245abc605d1354c61ccd2a7e1583961fde28eb5 pruned from package amq7-interconnect-operator, channel 1.2.0: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:ec4cbd00237d61e552fe65804b569f78035eed09bdca47bdcdbff831d9484ca7 pruned from package amq7-interconnect-operator, channel 1.2.0: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:b2f1961f30a612edb84fac79211d5c54843c0478235839f83018c92cb428d165 pruned from package amq7-interconnect-operator, channel 1.2.0: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:15723f36c4ef130b25681367a8425f542475b0258122a04cc332872a4273eec7 pruned from package amq7-interconnect-operator, channel 1.2.0: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:afe43efe442ccd8d3c0d3181b5a23d683809703a0a374dbfecf91d0322cf9781 pruned from package amq7-interconnect-operator, channel 1.2.0: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:afe43efe442ccd8d3c0d3181b5a23d683809703a0a374dbfecf91d0322cf9781 pruned from package amq7-interconnect-operator, channel 1.10.x: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:1470d60ca59fef22b776f1581c12d3bb06949d071d07a9cdd97a37a840ed905c pruned from package amq7-interconnect-operator, channel 1.10.x: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:4e84d9b68d37e663025905e46245abc605d1354c61ccd2a7e1583961fde28eb5 pruned from package amq7-interconnect-operator, channel 1.10.x: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:ec4cbd00237d61e552fe65804b569f78035eed09bdca47bdcdbff831d9484ca7 pruned from package amq7-interconnect-operator, channel 1.10.x: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:b2f1961f30a612edb84fac79211d5c54843c0478235839f83018c92cb428d165 pruned from package amq7-interconnect-operator, channel 1.10.x: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2), added bundle registry.redhat.io/amq7/amq-interconnect-operator-metadata@sha256:15723f36c4ef130b25681367a8425f542475b0258122a04cc332872a4273eec7 pruned from package amq7-interconnect-operator, channel 1.10.x: this may be due to incorrect channel head (amq7-interconnect-operator.v1.10.2)]

The pruned bundle may not necessarily be a newly added bundle, it can also be an existing bundle that has no path to any of the new bundles on all shared channels.

Metadata

Metadata

Assignees

Labels

kind/bugCategorizes issue or PR as related to a bug.triagedIssue has been considered by a member of the OLM community

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions