Comments (4)
This is not an error with the operator but a current limitation in that the operator is not able to handle the existence of same-named resources that are not owned by the operator, eg. if install of hawtio-online has been made manually without the operator.
Therefore, this should be triaged as a required feature improvement.
from hawtio-operator.
I'm not sure if it's something we need to fix. If I understand it correctly, it happens when we manually install hawtio-online first then we want to switch its management to operator by installing hawtio-operator, right? Isn't it then dangerous that the user doesn't want to do so but accidentaly pass its management to operator by installing operator carelessly? The user should know what they are doing. If they want to reinstall hawtio-online by operator, first they should uninstall it manually and then install operator.
from hawtio-operator.
I would agree but for the resources that get left behind, eg. configmap or route. Unless the user uses the make uninstall
with the correct mode
and clustertype
those resources can get left behind. The operator is then installed but does not display a problem until the errors are logged in its own log - something that can be easily missed.
So, the fix might be to improve the logging of the errors, eg. maybe the operator first scans for any resources that are relevant but not owner by it then reports this as a status failure in the CR. Even if we don't do it this way, the CR should still report a status failure rather than stay stuck at initialized
.
from hawtio-operator.
I agree, logging with a better message is the right solution for the issue.
from hawtio-operator.
Related Issues (20)
- Migrate to quay.io HOT 2
- Upgrade hawt.io CRD to v1beta1 or v1 HOT 4
- Adopt hawtio-online v2 HOT 1
- Update HawtioConfig type to match `@hawtio/react` hawtconfig.json model HOT 4
- Release hawtio-operator 1.0.0 HOT 1
- Consider dropping version in CR and baking it into the operator HOT 2
- Bump Go version HOT 3
- Introduce golangci-lint for linting the project
- Upgrade the go version to align with internal build systems HOT 2
- Operator does not respect -X setting for ImageVersion in LDFlags HOT 1
- Add a conversion hook to ensure CRD apis can be converted from v1alphav1 to v1 HOT 9
- Upgrade the kubernetes api version from v1beta1 to v1 HOT 1
- v1 `hawtio-types.go` is not synched with v1alpha1 HOT 3
- Container image reference does not support sha256 checksums HOT 1
- Add support for installing hawtio on kubernetes
- Finalizers stop deleting a namespace after cleaning up a Hawtio instance
- Metadata propagation doesn't do anything HOT 4
- Disabled routes aren't disabled HOT 3
- Collect up all the instances of clients (runtimeClient, corev1Client, apiClient ...) into a single struct
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 hawtio-operator.