Description of problem: Running 'oc adm node drain' without --ignore-daemonsets --delete-local-data flags resulting in error: error: cannot delete DaemonSet-managed Pods (use --ignore-daemonsets to ignore): openshift-cluster-node-tuning-operator/tuned-2kls9, openshift-dns/dns-default-c675s, openshift-image-registry/node-ca-d57th, openshift-machine-config-operator/machine-config-daemon-c5kx4, openshift-monitoring/node-exporter-jf5cr, openshift-multus/multus-cxqwz, openshift-ovn-kubernetes/ovnkube-node-zbzpv, openshift-ovn-kubernetes/ovs-node-kbjgf cannot delete Pods with local storage (use --delete-local-data to override): openshift-image-registry/image-registry-5bcb67497d-gvq6b Version-Release number of selected component (if applicable): Client Version: 4.5 Server Version: 4.5 How reproducible: Always with 4.5 client version Steps to Reproduce: Run 'oc adm drain NODE' Actual results: Error reported, drain aborted Expected results: Node drained, application pods evicted Additional info: 1. When used Client Version 4.4 there is no problem with running the command without flags 2. The similar problem reported for CNV (see linked bug). Our setup is BareMetal without CNV
In manual testing we run the command with the flags as WA
*** This bug has been marked as a duplicate of bug 1835628 ***