Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: agent-uninstall.sh stucked when deleting the agent deployment #4043

Open
LiilyZhang opened this issue Apr 23, 2024 · 0 comments
Open

Bug: agent-uninstall.sh stucked when deleting the agent deployment #4043

LiilyZhang opened this issue Apr 23, 2024 · 0 comments
Assignees

Comments

@LiilyZhang
Copy link
Contributor

The agent-uninstall.sh occasionally stucks during deleting agent deployment:

2024-04-22 11:48:48 INFO: Deleting agent deployment...
Error from server (NotFound): deployments.apps "agent" not found
2024-04-22 11:49:00 INFO: Checking if agent pods are deleted
2024-04-22 11:49:01 INFO: Agent pods are not deleted by deleting deployment, delete pods now
pod "auto-upgrade-cronjob-28563527-6sl65" deleted
pod "auto-upgrade-cronjob-28563529-95mz5" deleted
2024-04-22 11:49:54 INFO: Agent pods still exist
....

This is because the cronjob has not been deleted when checking the agent pod existence. The cronjob pod is up every 15s. Need to change the deletion order to prevent this

@LiilyZhang LiilyZhang added the bug label Apr 23, 2024
@LiilyZhang LiilyZhang self-assigned this Apr 23, 2024
LiilyZhang added a commit to LiilyZhang/anax that referenced this issue Apr 23, 2024
LiilyZhang added a commit that referenced this issue Apr 24, 2024
Issue #4043 - Bug: agent-uninstall.sh stucked when deleti…
LiilyZhang added a commit to LiilyZhang/anax that referenced this issue Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant