Giter Club home page Giter Club logo

Comments (4)

phantomjinx avatar phantomjinx commented on May 28, 2024

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.

tadayosi avatar tadayosi commented on May 28, 2024

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.

phantomjinx avatar phantomjinx commented on May 28, 2024

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.

tadayosi avatar tadayosi commented on May 28, 2024

I agree, logging with a better message is the right solution for the issue.

from hawtio-operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.