operator-lifecycle-manager icon indicating copy to clipboard operation
operator-lifecycle-manager copied to clipboard

installplan.status is empty and this ns has only one subscription

Open aiyijing opened this issue 3 years ago • 0 comments

The installplan create and update status is in there

https://github.com/operator-framework/operator-lifecycle-manager/blob/c610a3eb2f221a2cac8563b68aa4f98e61f888cc/pkg/controller/operators/catalog/operator.go#L1273-L1288

There is adopt controller that add a label to installplan https://github.com/operator-framework/operator-lifecycle-manager/blob/c610a3eb2f221a2cac8563b68aa4f98e61f888cc/pkg/controller/operators/adoption_controller.go#L415-L445

There will be some conflicts here, Creating an installplan and then updating the installplan will cause a conflict error because Add label causes the installplan resourceversion to change

the catalog operator does not retry the subscription, and its status stays in installplanpending

aiyijing avatar Jun 09 '22 00:06 aiyijing