Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save j-griffith/32c82b265e3e07507db817018d8c7739 to your computer and use it in GitHub Desktop.
Save j-griffith/32c82b265e3e07507db817018d8c7739 to your computer and use it in GitHub Desktop.
[jdg@doublehaul oc-rc5-install] ➜ oc get all -n local-storage
NAME READY STATUS RESTARTS AGE
pod/local-storage-manifests-kwqmg 1/1 Running 0 57s
pod/local-storage-operator-54564d9988-lk575 0/1 CrashLoopBackOff 1 31s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/local-storage-manifests ClusterIP 172.30.113.217 <none> 50051/TCP 57s
service/local-storage-operator ClusterIP 172.30.217.48 <none> 60000/TCP 9s
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/local-storage-operator 0/1 1 0 31s
NAME DESIRED CURRENT READY AGE
replicaset.apps/local-storage-operator-54564d9988 1 1 0 31s
[jdg@doublehaul oc-rc5-install] ➜ oc log pod/local-storage-operator-54564d9988-lk575
log is DEPRECATED and will be removed in a future version. Use logs instead.
time="2019-06-26T16:49:01Z" level=info msg="Go Version: go1.10.3"
time="2019-06-26T16:49:01Z" level=info msg="Go OS/Arch: linux/amd64"
time="2019-06-26T16:49:01Z" level=info msg="operator-sdk Version: 0.0.7"
time="2019-06-26T16:49:01Z" level=info msg="Metrics service local-storage-operator created"
time="2019-06-26T16:49:01Z" level=info msg="Watching local.storage.openshift.io/v1, LocalVolume"
time="2019-06-26T16:49:01Z" level=info msg="Watching local.storage.openshift.io/v1, LocalVolume, local-storage, 5000000000"
time="2019-06-26T16:49:01Z" level=error msg="failed to get resource client for (apiVersion:local.storage.openshift.io/v1, kind:LocalVolume, ns:local-storage): failed to get resource type: failed to get the resource REST mapping for GroupVersionKind(local.storage.openshift.io/v1, Kind=LocalVolume): no matches for kind \"LocalVolume\" in version \"local.storage.openshift.io/v1\""
panic: failed to get resource type: failed to get the resource REST mapping for GroupVersionKind(local.storage.openshift.io/v1, Kind=LocalVolume): no matches for kind "LocalVolume" in version "local.storage.openshift.io/v1"
goroutine 1 [running]:
github.com/openshift/local-storage-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk.Watch(0x1489197, 0x1d, 0x1475136, 0xb, 0xc420042010, 0xd, 0x12a05f200, 0x0, 0x0, 0x0)
/go/src/github.com/openshift/local-storage-operator/vendor/github.com/operator-framework/operator-sdk/pkg/sdk/api.go:49 +0x4a8
main.main()
/go/src/github.com/openshift/local-storage-operator/cmd/local-storage-operator/main.go:38 +0x3b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment