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: kusion destroy termination leads to a locked release file #1167

Closed
liu-hm19 opened this issue Jun 17, 2024 · 0 comments · Fixed by #1219
Closed

Bug: kusion destroy termination leads to a locked release file #1167

liu-hm19 opened this issue Jun 17, 2024 · 0 comments · Fixed by #1219
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@liu-hm19
Copy link
Contributor

What happened?

The release file of a stack will be locked in the destroying phase if kusion destroy command terminates accidentally, e.g. triggered by SIGINT or SIGTERM.

What did you expect to happen?

The release file should update its operation phase to failed.

How can we reproduce it (as minimally and precisely as possible)?

  • Execute kusion destroy command
  • Enter ctrl + c to terminate

Anything else we need to know?

No response

Kusion version

$ kusion version
# paste output here
releaseVersion: 0.12.0
gitInfo:
    latestTag: v0.12.0
    commit: 88c4a179f71eb67b710736434691423213013530
    treeState: clean
buildInfo:
    goVersion: go1.22.4
    GOOS: linux
    GOARCH: amd64
    numCPU: 4
    compiler: gc
    buildTime: "2024-06-12 12:48:49"

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

@liu-hm19 liu-hm19 added the kind/bug Something isn't working label Jun 17, 2024
@liu-hm19 liu-hm19 self-assigned this Jun 17, 2024
@liu-hm19 liu-hm19 added this to the v0.12.1 milestone Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant