MCP degraded with 'could not decode file "/etc/containers/policy.json": could not create gzip reader: gzip: invalid header'.

Solution Verified - Updated -

Issue

  • The mcp worker is Degraded while applying changes on node with below error:
    message: 'Node x.x.x.x is reporting: "could not decode file
      \"/etc/containers/policy.json\": could not create gzip reader: gzip: invalid
      header"'
    reason: 1 nodes are reporting degraded status on sync
    status: 'True'
    type: NodeDegraded

Environment

  • Red Hat OpenShift Container Platform 4.10.50

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