Jenkins fails to start with "Unable to read config.xml" and "CannotResolveClassException: hudson.security.GlobalMatrixAuthorizationStrategy" after plugin update in RHOCP 4

Solution Verified - Updated -

Issue

  • Jenkins pod fails to start after updating Jenkins plugins.

  • The following error appears in the Jenkins logs:

    java.io.IOException: Failed to load: Matrix Authorization Strategy Plugin (matrix-auth 3.2.2)
    
    SEVERE  Failed Loading global config
    java.io.IOException: Unable to read /var/lib/jenkins/config.xml
    Caused by: CannotResolveClassException: hudson.security.GlobalMatrixAuthorizationStrategy
    path: /hudson/authorizationStrategy   (line 14)
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

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