Comments (15)
@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.
Heya @madorn , is it working for you? or do we need some extra work here :)
from cluster-nfd-operator.
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.
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.
is now on master, we can close this issue
from cluster-nfd-operator.
@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.
Heya @madorn , is it working for you? or do we need some extra work here :)
Yes it is working now!
from cluster-nfd-operator.
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.
Is this expected to work on vanilla kubernetes? I get the same error as originally reported.
from cluster-nfd-operator.
@mythi how did you install the Operator on the vanilla kubernetes cluster? Is OLM installed in the cluster?
from cluster-nfd-operator.
@madorn I used make deploy
based on instructions in the README
. What is OLM?
from cluster-nfd-operator.
@mythi https://github.com/operator-framework/operator-lifecycle-manager
from cluster-nfd-operator.
@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.
@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.
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)
- RH nfd-operator excessively logs at over 15,000 logged lines per minute HOT 5
- Could not install NodeFeatureDiscovery on OKD4.5 and 4.6 Cluster by operatorHub. HOT 16
- OCP build error: CSV annotations cannot be null HOT 6
- Small mistake in the README HOT 4
- Operator's controller logs are repeated when they shouldn't be. Possible duplicate function calls. HOT 7
- NFD Operator's controller manager crashes when an existing NFD instance is deleted HOT 2
- Name on CSV doesn't match entry in art.yaml (4.8 only) HOT 1
- Creating, deleting, then recreating an NFD instance causes the controller manager to crash HOT 5
- The command line option to disable leader election does not function as intended HOT 6
- NFD logs crash approximately 7 hours after installation without touching the cluster HOT 4
- how enable NFD extended resources HOT 1
- Merge detect Intel SGX fixing into nfd-operator and OCP HOT 6
- The proper way to deploy NFD on OCP through NFD-operator HOT 3
- NFD 4.9.0-202202211131 instance is going to degraded state HOT 3
- OCP version label missing after upgrade to 4.10.x (NFD version - v4.10.0-202204010807)
- NFD 4.10 / broken ServiceMonitor HOT 9
- nfd.v4.9.0 installed via OLM on OKD cannot run without redhat credentials HOT 12
- OLM-installed nfd.v4.10.0's nfd-controller-manager fails to start HOT 10
- Please prepare bundle for OCP 4.12 HOT 4
- Node Feature Discovery Operator failing to properly default image in operator HOT 3
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 cluster-nfd-operator.