ETCD backup script fails with the error "cp: cannot create regular file" in RHOCP
Issue
- The
etcd
backup script/usr/local/bin/cluster-backup.sh
fails with below error.
sh-4.4# /usr/local/bin/cluster-backup.sh /home/core/assets/backup
found latest kube-apiserver: /etc/kubernetes/static-pod-resources/kube-apiserver-pod-944
......
found latest etcd: /etc/kubernetes/static-pod-resources/etcd-pod-14
cp: cannot create regular file '/etc/kubernetes/static-pod-resources/bin/etcdctl': Text file busy
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.