Giter Club home page Giter Club logo

Comments (15)

madorn avatar madorn commented on June 23, 2024 1

@ArangoGutierrez Hi Carlos, thank you!!

can we can get this change committed to the image that currently resides in OpenShift 4x? It is located at registry.redhat.io/openshift4/ose-cluster-nfd-operator@sha256:ff782d4c2a3c9436ea9d9713cd6e360337aebdf8c9d6f02d1c4d07ba305de847

If you need assistance pushing the commit there, happy to help!

from cluster-nfd-operator.

ArangoGutierrez avatar ArangoGutierrez commented on June 23, 2024 1

Heya @madorn , is it working for you? or do we need some extra work here :)

from cluster-nfd-operator.

jaypal17 avatar jaypal17 commented on June 23, 2024 1

I'm experiencing the a similar issue when installing through the web console on openshift.
My environment:
crc version: 1.6.0+8ef676f
OpenShift version: 4.3.0
Error msg I get:
Failed: install failed: Timeout: deployment nfd-operator not ready before timeout: deployment "nfd-operator" exceeded its progress deadline
I also see this:
installing: Waiting: waiting for deployment nfd-operator to become ready: Waiting for rollout to finish: 0 of 1 updated replicas are available...

from cluster-nfd-operator.

ArangoGutierrez avatar ArangoGutierrez commented on June 23, 2024

Hi @madorn , could you try the namescpace-scoped branch?, although it has been merged now into master, it had the fix for the SCC API issue

from cluster-nfd-operator.

ArangoGutierrez avatar ArangoGutierrez commented on June 23, 2024

is now on master, we can close this issue

from cluster-nfd-operator.

madorn avatar madorn commented on June 23, 2024

@ArangoGutierrez Thanks Carlos.

Will the built image be pushed here?: https://access.redhat.com/containers/?tab=tags#/registry.access.redhat.com/openshift4/ose-cluster-nfd-operator

from cluster-nfd-operator.

madorn avatar madorn commented on June 23, 2024

Heya @madorn , is it working for you? or do we need some extra work here :)

Yes it is working now!

from cluster-nfd-operator.

madorn avatar madorn commented on June 23, 2024

I'm experiencing the a similar issue when installing through the web console on openshift.
My environment:
crc version: 1.6.0+8ef676f
OpenShift version: 4.3.0
Error msg I get:
Failed: install failed: Timeout: deployment nfd-operator not ready before timeout: deployment "nfd-operator" exceeded its progress deadline
I also see this:
installing: Waiting: waiting for deployment nfd-operator to become ready: Waiting for rollout to finish: 0 of 1 updated replicas are available...

Justin, I don't think Node Discovery will run on CRC.....needs to be multi-node environment, i.e. master and work nodes properly labeled.

from cluster-nfd-operator.

mythi avatar mythi commented on June 23, 2024

Is this expected to work on vanilla kubernetes? I get the same error as originally reported.

from cluster-nfd-operator.

madorn avatar madorn commented on June 23, 2024

@mythi how did you install the Operator on the vanilla kubernetes cluster? Is OLM installed in the cluster?

from cluster-nfd-operator.

mythi avatar mythi commented on June 23, 2024

@madorn I used make deploy based on instructions in the README. What is OLM?

from cluster-nfd-operator.

madorn avatar madorn commented on June 23, 2024

@mythi https://github.com/operator-framework/operator-lifecycle-manager

from cluster-nfd-operator.

mythi avatar mythi commented on June 23, 2024

@madorn ah, thanks I had that missing but even with that the same error occurs:

$ kubectl logs nfd-operator-5ffb978c7c-pv64k -n openshift-nfd
{"level":"info","ts":1585594183.2338152,"logger":"cmd","msg":"Go Version: go1.13.8"}
{"level":"info","ts":1585594183.2338634,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1585594183.2338767,"logger":"cmd","msg":"Version of operator-sdk: v0.4.0+git"}
{"level":"info","ts":1585594183.2342427,"logger":"leader","msg":"Trying to become the leader."}
{"level":"info","ts":1585594183.2773724,"logger":"leader","msg":"Found existing lock with my name. I was likely restarted."}
{"level":"info","ts":1585594183.2774174,"logger":"leader","msg":"Continuing as the leader."}
{"level":"info","ts":1585594183.7321594,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":8080"}
{"level":"info","ts":1585594183.73271,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1585594183.7331934,"logger":"cmd","msg":"Starting the Cmd."}
{"level":"info","ts":1585594183.7336092,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1585594183.733983,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1585594183.7342155,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1585594183.7343142,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1585594183.7344038,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"nodefeaturediscovery-controller","source":"kind source: /, Kind="}
{"level":"info","ts":1585594183.7346737,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
{"level":"error","ts":1585594185.6808777,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"SecurityContextConstraints.security.openshift.io","error":"no matches for kind \"SecurityContextConstraints\" in version \"security.openshift.io/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go:88\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:165\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:198\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startLeaderElectionRunnables.func1\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go:477"}
{"level":"error","ts":1585594185.6810625,"logger":"cmd","msg":"Manager exited non-zero","error":"no matches for kind \"SecurityContextConstraints\" in version \"security.openshift.io/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/openshift/cluster-nfd-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nmain.main\n\t/go/src/github.com/openshift/cluster-nfd-operator/cmd/manager/main.go:106\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:203"}

Image ID: quay.io/openshift-psap/cluster-nfd-operator@sha256:c0924c5a8297864a396d1bfa69a1f42f8bb2e481e65547099ec5c224c13cb201

from cluster-nfd-operator.

madorn avatar madorn commented on June 23, 2024

@mythi The Operator you are attempting to install only works on an OpenShift environment - you can see the Operator is looking for "kind":"SecurityContextConstraints.security.openshift.io".

This endpoint is only found in Openshift environments.

Because this specific issue deals with installing NFD via OperatorHub, I am going to close this issue but please open new issue and specify the type of Kubernetes distribution you are using and Kubernetes version and error.

from cluster-nfd-operator.

mythi avatar mythi commented on June 23, 2024

please open new issue and specify the type of Kubernetes distribution you are using and
Kubernetes version and error.

I can work without the operator and deploy NFD manually for now but it'd be really nice if this had the option to deploy on vanilla kubernetes too (my setup is just a barametal kubeadm install).

from cluster-nfd-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.