Openshift certificate redeploy file changed as we read it

Solution Unverified - Updated -

Issue

  • Running certificate redeploy playbook fails
  • During this task:
TASK [Backup generated certificate and config directories]
  • There's a fatal error:
fatal: [node01.example.com -> node01.example.com]: FAILED! => {"changed": true, "cmd": ["tar", "-czvf", "/etc/origin/master-node-cert-config-backup-1603553257.tgz", "/etc/origin/generated-configs", "/etc/origin/master"], "delta": "0:00:12.597604", "end": "2020-10-24 15:28:37.652297", "msg": "non-zero return code", "rc": 1, "start": "2020-10-24 15:28:25.054693", "stderr": "tar: Removing leading `/' from member names\ntar: Removing leading `/' from hard link targets\ntar: /etc/origin/master/ocp-audit.log: file changed as we read it", "stderr_lines": ["tar: Removing leading `/' from member names", "tar: Removing leading `/' from hard link targets", "tar: /etc/origin/master/ocp-audit.log: file changed as we read it"], "stdout": "/etc/origin/generated-configs/\n/etc/origin/generated-configs/master-node02.example.com/\n/etc/origin/generated-configs/master-node02.example.com/master.server.crt\n/etc/origin/generated-configs/master-node02.example.com/master.server.key\n/etc/origin/generated-configs/master-node02.example.com/openshift-master.crt\n/etc/origin/generated-configs/master-node02.example.com/openshift-master.key\n/etc/origin/generated-configs/master-node02.example.com/ca.crt\n ...

Environment

  • Red Hat OpenShift Container Platform
    • 3.11

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