invalid character 'T' looking for beginning of value when executing an oc command

Solution Verified - Updated -

Issue

  • oc adm prune images fails with

    invalid character 'T' looking for beginning of value
    
  • oc get images output similar to

    invalid character 'T' looking for beginning of value
    
  • verbose output similar to

    request.go:991] Response Body: This request caused apisever to panic. Look in log for details.
    helpers.go:119] error: couldn't get version/kind; json parse error: invalid character 'T' looking for beginning of value
    
  • journalctl entries similar to

    atomic-openshift-master-api[108028]: panic(0x47b3580, 0xc42032ec80)   
    

Environment

  • OpenShift Container Platform 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content