OCM, ROSA CLI: Tokens expiring and will require CLI tool update

Solution Verified - Updated -

Issue

  • Users running older versions of the OCM CLI and/or ROSA CLI tools will need to update to newer versions to accomodate backend API changes in order to authenticate.

    • Bearer tokens for OCM CLI and ROSA CLI tools expire today and require a binary update if older
    • Upon updating, new tokens will be required for authentication
  • Error messages are shown when executing ocm or rosa commands:

    OCM auth: failed to get tokens, got http code 200, will not attempt to retry. err: expected 'bearer' token type but got 'Bearer
    
    level=error msg="Can't get tokens, got HTTP code 200, will not retry: expected 'bearer' token type but got 'Bearer"
    E: Failed to create OCM connection: error creating connection. Not able to get authentication token
    

Environment

  • OCM Command line interface client application < 0.1.60
  • ROSA Command line interface client application < 1.1.3

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