Reviewed: https://review.opendev.org/678649 Committed: https://git.openstack.org/cgit/starlingx/ansible-playbooks/commit/?id=7dc747071a50cf29535cfa55ed9a33776557f925 Submitter: Zuul Branch: r/stx.2.0
commit 7dc747071a50cf29535cfa55ed9a33776557f925 Author: David Sullivan <email address hidden> Date: Thu Aug 8 12:49:16 2019 -0400
ansible replay fails if kubeadm init was not successful
Ansible replay is broken since the introduction of kubelet-fs https://opendev.org/starlingx/config/commit/e74ef5f7c4c71464347142932615e1545884133c
The kubelet-fs change uncovered a flaw in kubeadm reset https://github.com/kubernetes/kubeadm/issues/1294
kubeadm will sometimes unmount /var/lib/kubelet/. To correct this we will remount the kubelet-lv on ansible replays and wipe the contents.
Change-Id: Ie4d6009bb2d53561586a8b62d1ab92a0859119fb Signed-off-by: David Sullivan <email address hidden> Closes-Bug: 1838692
Reviewed: https:/ /review. opendev. org/678649 /git.openstack. org/cgit/ starlingx/ ansible- playbooks/ commit/ ?id=7dc747071a5 0cf29535cfa55ed 9a33776557f925
Committed: https:/
Submitter: Zuul
Branch: r/stx.2.0
commit 7dc747071a50cf2 9535cfa55ed9a33 776557f925
Author: David Sullivan <email address hidden>
Date: Thu Aug 8 12:49:16 2019 -0400
ansible replay fails if kubeadm init was not successful
Ansible replay is broken since the introduction of kubelet-fs /opendev. org/starlingx/ config/ commit/ e74ef5f7c4c7146 4347142932615e1 545884133c
https:/
The kubelet-fs change uncovered a flaw in kubeadm reset /github. com/kubernetes/ kubeadm/ issues/ 1294
https:/
kubeadm will sometimes unmount /var/lib/kubelet/. To correct this we
will remount the kubelet-lv on ansible replays and wipe the contents.
Change-Id: Ie4d6009bb2d535 61586a8b62d1ab9 2a0859119fb
Signed-off-by: David Sullivan <email address hidden>
Closes-Bug: 1838692