sealer icon indicating copy to clipboard operation
sealer copied to clipboard

Can not delete a cluster

Open VinceCui opened this issue 2 years ago • 4 comments

What happened:

image

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

  • sealer version (use sealer version): v0.8.3
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

VinceCui avatar May 07 '22 09:05 VinceCui

@VinceCui, could you pls show sealer images output to see whether it is exist on this machine?

kakaZhou719 avatar May 07 '22 09:05 kakaZhou719

I think we should try to design the failure throw much better. Actually, no one could recognize the real meaning of error message above. We should use the error tracing way to recap the procedure and let user have more info about what happened.

allencloud avatar May 07 '22 11:05 allencloud

@allencloud sealer will run to delete plugin in CloudImage, so if CloudImage not exist on the host sealer will try to pull it, if don't have access to the registry it will return "manifest unknown" error.

fanux avatar May 08 '22 08:05 fanux

@allencloud sealer will run to delete plugin in CloudImage, so if CloudImage not exist on the host sealer will try to pull it, if don't have access to the registry it will return "manifest unknown" error.

@fanux Thanks for your feedback. What you said is just what happened indeed. While I do not think we could bear this way to show the reason to users just on github. It is better for us to let users which run into such failure have ability(in cli's returned information) to know what is the root cause and how to solve it as possible. Otherwise, sealer's community support system may be beaten in some time. And the user experience would be affected as well.

allencloud avatar May 09 '22 02:05 allencloud