Coder Social home page Coder Social logo

Comments (7)

2uasimojo avatar 2uasimojo commented on August 23, 2024

Hi @japhar81. We don't work with OKD much (um, ever), but I'll go off and try to create an environment where I can reproduce this. Stay tuned!

from hive.

2uasimojo avatar 2uasimojo commented on August 23, 2024

Update: I was able to deploy manually on OKD; so this is going to be something to do with the OLM packaging.

from hive.

2uasimojo avatar 2uasimojo commented on August 23, 2024

Installed from alpha (currently quay.io/openshift-hive/hive:v1.2.3996-500a742) via OperatorHub and created the HiveConfig with contents as in your OP. Everything worked smoothly. I'm on OKD 4.11.0-0.okd-2023-01-14-152430.

Based on the error message, it looks like our apply function is only setting the uid of the owner. Here is the code that sets up that OwnerReference. As you can see, we set up all the fields that the error message is complaining about before we send the object off to be applied. The apply code creates the object if it does not exist. If it does exist, we create a patch to apply the changes.

In this case, based on the fact that the CRB has a last-applied-configuration, it appears as though that CRB existed previously -- probably from a previous iteration of the hive-operator's reconcile loop. I'm not sure why it's trying to $setElementOrder. Can you please dump me the full manifest of that CRB, as well as the hiveconfig in its current state?

oc get clusterrolebinding hive-controllers -o yaml
oc get hiveconfig hive -o yaml

from hive.

openshift-bot avatar openshift-bot commented on August 23, 2024

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

from hive.

openshift-bot avatar openshift-bot commented on August 23, 2024

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

from hive.

openshift-bot avatar openshift-bot commented on August 23, 2024

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

from hive.

openshift-ci avatar openshift-ci commented on August 23, 2024

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from hive.

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.