cilium-cli icon indicating copy to clipboard operation
cilium-cli copied to clipboard

install: allowing `install` over interrupted previous installation

Open nbusseneau opened this issue 3 years ago • 2 comments

Bug report

If cilium install is abruptly interrupted while in progress, the rollback code does not have a chance to run and there are leftover resources.

One solution could be to have cilium install be more lenient with existing resources and accepting them as-is or editing them instead of failing when they are already present.

  • Detected in #584.
  • Related to #149.

How to reproduce the issue

  1. Run cilium install
  2. Have it abruptly interrupted (e.g. kill process) while in progress
  3. Run cilium install again
  4. Fails due to partially installed resources (e.g. hubble-server-certs)

nbusseneau avatar Oct 19 '21 13:10 nbusseneau

Might be a good reason to implement https://github.com/cilium/cilium-cli/issues/115.

errordeveloper avatar Oct 27 '21 15:10 errordeveloper

my first install is successful, when i install agagin, it report error sucks

xiaods avatar Mar 12 '22 09:03 xiaods