Comment 9 for bug 1838692

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ansible-playbooks (r/stx.2.0)

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