-
Bug
-
Resolution: Done-Errata
-
Undefined
-
None
-
4.14
-
None
-
No
-
False
-
-
-
Bug Fix
Description of problem:
Old kubeaadmin cert not get deleted when host IP changed in microshift
Version-Release number of selected component (if applicable):
4.14
How reproducible:
Always
Steps to Reproduce:
1. modify /etc/NetworkManager/system-connections/ens3.nmconnection with [ipv4] address1=x.x.x.x/24,x.x.x.x method=manualsave file and reboot. It currently does dhcp (method=auto)
2. systemctl restart microshift 3. ls -ltrh /var/lib/microshift/resources/kubeadmin/*/
Actual results:
/var/lib/microshift/resources/kubeadmin/dhcp-1-235-106.arm.eng.rdu2.redhat.com/: total 8.0K -rw-------. 1 root root 5.6K Jul 3 08:03 kubeconfig /var/lib/microshift/resources/kubeadmin/dhcp-1-235-91.arm.eng.rdu2.redhat.com/: total 8.0K -rw-------. 1 root root 5.6K Jul 3 08:03 kubeconfigIt should not leave old kubeconfig
Expected results:
Old one should be deleted.
Additional info:
- links to
-
RHSA-2023:5008 OpenShift Container Platform 4.14.z security update