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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.