Comments (5)
issue with vgmanager pod is
I0420 19:13:21.737554 2360300 request.go:665] Waited for 1.026197652s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/snapshot.kubevirt.io/v1alpha1?timeout=32s
{"level":"info","ts":1650482004.4948282,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":8080"}
{"level":"info","ts":1650482004.4951057,"logger":"setup","msg":"starting manager"}
{"level":"info","ts":1650482004.4952693,"msg":"starting metrics server","path":"/metrics"}
{"level":"info","ts":1650482004.4954143,"logger":"controller.lvmvolumegroup","msg":"Starting EventSource","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","source":"kind source: /, Kind="}
{"level":"info","ts":1650482004.4955132,"logger":"controller.lvmvolumegroup","msg":"Starting Controller","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup"}
E0420 19:13:24.498715 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:13:25.647058 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:13:28.740610 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:13:33.447567 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:13:43.227955 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:14:03.151838 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:14:42.636428 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
E0420 19:15:21.048957 2360300 reflector.go:138] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:250: Failed to watch *v1alpha1.LVMVolumeGroup: failed to list *v1alpha1.LVMVolumeGroup: lvmvolumegroups.lvm.topolvm.io is forbidden: User "system:serviceaccount:odf-lvm:vg-manager" cannot list resource "lvmvolumegroups" in API group "lvm.topolvm.io" in the namespace "odf-lvm"
{"level":"error","ts":1650482124.502881,"logger":"controller.lvmvolumegroup","msg":"Could not wait for Cache to sync","reconciler group":"lvm.topolvm.io","reconciler kind":"LVMVolumeGroup","error":"failed to wait for lvmvolumegroup caches to sync: timed out waiting for cache to be synced","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:234\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1\n\t/remote-source/app/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go:696"}
{"level":"error","ts":1650482124.5031688,"logger":"setup","msg":"problem running manager","error":"failed to wait for lvmvolumegroup caches to sync: timed out waiting for cache to be synced"}
from lvm-operator.
the following did the trick
oc adm policy add-cluster-role-to-user cluster-admin -z vg-manager -n odf-lvm
oc adm policy add-cluster-role-to-user cluster-admin -z topolvm-controller -n odf-lvm
oc adm policy add-cluster-role-to-user cluster-admin -z topolvm-node -n odf-lvm
from lvm-operator.
@karmab our rbacs are restricted to openshift-storage
only as of now. Please try with openshift-storage
namespace instead of odf-lvm
namespace for now and let us know if that fixes that issue for you.
We will work on making the operator deploy-able with other namespaces.
from lvm-operator.
ok, could you please populate operatorframework.io/suggested-namespace in the csv of your olm metadata to reflect that.
That's what i use to target a given namespace
from lvm-operator.
Fixed in #171
from lvm-operator.
Related Issues (20)
- The image referenced in the documentation lacks required utils (lsblk) HOT 1
- lsblk detecting my mini sas hd connected drives as removable HOT 7
- Configure loglevel of the csisidecars HOT 6
- got an error when making deploy HOT 9
- vg-manager failed to create/extend volume group. HOT 2
- Config file is not created by the LVM operator. HOT 5
- lvm-operator vs topolvm HOT 2
- Support disconnected installs HOT 5
- Rename the service account for the controller manager
- Add copyright to files
- Add vendor directory to the LVMO project
- LVMO should only allow a single LVMCluster instance. HOT 1
- Use ubi-minimal, not distroless as base image for the final container HOT 4
- make deploy will fail if no prometheus CRDs in cluster HOT 7
- LVM operator configuration does not create volume groups. HOT 4
- Migrate the sqlite based catalog to file based catalogs HOT 4
- After operator upgrade PVC can not bee processed due to provisioner change HOT 5
- can this operator work with empty pvs instead of disks? HOT 6
- Feature request : arm64 Image HOT 5
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 lvm-operator.