ketall icon indicating copy to clipboard operation
ketall copied to clipboard

Getting FATA[0083] print list item

Open ch-stark opened this issue 4 years ago • 1 comments

After downloading ketall and executing ketall (ketall version v1.3.2) I get the following error at the end of the output:

ketall
WARN[0066] Cannot fetch: the server does not allow this method on the requested resource 
WARN[0068] Cannot fetch: the server doesn't have a resource type "kuberneteses" 
WARN[0071] Cannot fetch: the server doesn't have a resource type "identities" 
WARN[0071] Cannot fetch: the server doesn't have a resource type "migclusters" 
WARN[0071] Cannot fetch: the server doesn't have a resource type "metrics" 
WARN[0072] Cannot fetch: the server doesn't have a resource type "certificates" 
WARN[0072] Cannot fetch: the server doesn't have a resource type "volumesnapshotlocations" 
WARN[0073] Cannot fetch: the server doesn't have a resource type "apis" 
WARN[0073] Cannot fetch: the server doesn't have a resource type "mcoconfigs" 
WARN[0073] Cannot fetch: the server doesn't have a resource type "metrics" 
WARN[0074] Cannot fetch: the server doesn't have a resource type "ingresses" 
WARN[0074] Cannot fetch: the server doesn't have a resource type "apiservers" 
WARN[0075] Cannot fetch: the server doesn't have a resource type "memquotas" 
WARN[0075] Cannot fetch: the server doesn't have a resource type "config" 
WARN[0076] Cannot fetch: the server doesn't have a resource type "packagemanifests" 
WARN[0077] Cannot fetch: the server doesn't have a resource type "clusteroperators" 
WARN[0078] Cannot fetch: the server doesn't have a resource type "apimanagers" 
WARN[0079] Cannot fetch: the server doesn't have a resource type "tenants" 
WARN[0080] Cannot fetch: the server doesn't have a resource type "firewallrules" 
WARN[0081] Cannot fetch: the server doesn't have a resource type "oauthclients" 
WARN[0081] Cannot fetch: the server doesn't have a resource type "clustertriggerbindings" 
WARN[0081] Cannot fetch: the server doesn't have a resource type "apikeys" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "authentications" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "clusterserviceversions" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "backups" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "kafkaconnectors" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "servicebindingrequests" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "kialis" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "keycloakrealms" 
WARN[0082] Cannot fetch: Unable to list "image.openshift.io/v1, Resource=imagestreamimages": the server could not find the requested resource 
WARN[0082] Cannot fetch: the server doesn't have a resource type "policies" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "consoleclidownloads" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "operatorsources" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "deployables" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "operatorhubs" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "tuneds" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "apiservices" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "mongodbs" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "argocdexports" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "stdios" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "cars" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "clusterrolebindings" 
WARN[0082] Cannot fetch: the server doesn't have a resource type "consolelinks" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "clusterrolebindings" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "fluentds" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "activemqartemisaddresses" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "oauths" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "hostsubnets" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "operatorgroups" 
WARN[0083] Cannot fetch: the server doesn't have a resource type "leases" 
FATA[0083] print list item: print list item: object does not implement the Object interfaces 

client oc version
Client Version: 4.4.6
Server Version: 4.4.5
Kubernetes Version: v1.17.1

To Reproduce see above

NOTE: I assume this is harmless and no objects have been found in the namespace

ch-stark avatar Jun 09 '20 12:06 ch-stark

Uh oh.. sorry for being so slow to react. I still haven't gotten around to testing this. It might have something to do with OpenShift though, because an empty response is handled here: https://github.com/corneliusweig/ketall/blob/bf57e2531cbb2944b24a810975a8c76ba512db03/internal/client/client.go#L208-L210

Maybe you can run with ketall -v debug and paste the log here?

corneliusweig avatar Aug 31 '20 22:08 corneliusweig