Comments (1)
Update: I just attempted to reproduce this issue, and I noticed that kubectl operator
approved the "wrong" install plan. Looking at the kubectl operator
code, it appears as if it:
- Creates the subscription
- Waits for the subscription's
status.installPlanRef
to be set. - Fetches the install plan found in 2)
- Updates the install plan found in 2) by setting
spec.approved
totrue
.
Therefore, OLM is setting an install plan reference on the subscription and then (sometimes) immediately re-reconciling the subscription, creating another install plan, and then updating the install plan reference, rendering the first approved install plan inert. When kubectl operator
is fast enough (or OLM is slow enough), kubectl operator
is able to pick up the first install plan just before it becomes inert, eventually causing the install to timeout and fail.
from kubectl-operator.
Related Issues (20)
- Failure when adding catalog on macOS HOT 2
- Installing operators at a particular version requires the full CSV name
- Use kubectl common syntax to query resources HOT 2
- Error while uninstalling operator HOT 2
- Upgrades not detected unless channel is specified during install HOT 1
- How to populate catalog source metadata when pulling index image?
- Possible for installation of non-head CSVs to fail due to install mode issues.
- Bug: don't set empty `spec.config.resources` in subscription HOT 1
- Add debug command to root command for installation debugging HOT 1
- [RFE] Delete operator and operands safely in one command HOT 18
- Doc: Install steps? HOT 1
- [RFE] Autocompletion for commands HOT 2
- One operator package is provided by multiple catalogsources HOT 1
- Feature req: Honor operatorframework.io/suggested-namespace HOT 10
- The --namespace option does not have the expected effect HOT 1
- kubectl operator upgrade refuses to upgrade cert-manager 1.4.0 to 1.4.3 HOT 2
- Add experimental OLMv1 support in kubectl-operator for install/uninstall
- Define strategy for migration from OLMv0 to OLMv1 HOT 9
- Update the plugin to be compatible with OLMv1 `ClusterExtension` kind
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubectl-operator.