Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting FATA[0083] print list item #59

Open
ch-stark opened this issue Jun 9, 2020 · 1 comment
Open

Getting FATA[0083] print list item #59

ch-stark opened this issue Jun 9, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ch-stark
Copy link

ch-stark commented Jun 9, 2020

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

@corneliusweig
Copy link
Owner

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:

if len(objs) == 0 {
return nil, fmt.Errorf("not authorized to list any resources, try to narrow the scope with --namespace")
}

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

@corneliusweig corneliusweig added the bug Something isn't working label Aug 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants