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

kctrl hangs when deleting package repository #1468

Closed
rcmadhankumar opened this issue Jan 29, 2024 · 0 comments · Fixed by #1469
Closed

kctrl hangs when deleting package repository #1468

rcmadhankumar opened this issue Jan 29, 2024 · 0 comments · Fixed by #1469
Assignees
Labels
bug This issue describes a defect or unexpected behavior cli Issue for kapp-controller cli

Comments

@rcmadhankumar
Copy link
Contributor

What steps did you take:
[A clear and concise description steps that can be used to reproduce the problem.]

Adding a package repository for which the image package bundle url is invalid.

kctrl package repository  add  -r sample-repo --url projects.repo.com/example:1.0.0
....
....
kctrl: Error: Reconciling repository:
  Fetch failed

When I try to delete the package repository, the cli hangs

kctrl package repository delete -r sample-repo                                                                         ░▒▓ 1 х │ 11s │ 04:06:12 PM ▓▒░
Target cluster 'https://127.0.0.1:63188' (nodes: cluster2-control-plane)

Deleting package repository 'sample-repo' in namespace 'default'

Continue? [yN]: y

4:07:31PM: Waiting for package repository reconciliation for 'sample-repo'

while the package repository object is already deleted.

kctrl package repository  get  -r sample-repo                                                             ░▒▓ 1 х │ 04:08:29 PM ▓▒░
Target cluster 'https://127.0.0.1:63188' (nodes: cluster2-control-plane)

kctrl: Error: packagerepositories.packaging.carvel.dev "sample-repo" not found

What happened:
[A small description of the issue]

What did you expect:
[A description of what was expected]

I expect kctrl to exit smoothly on deleting package repository.

Anything else you would like to add:
[Additional information that will assist in solving the issue.]

Environment:

  • kapp Controller version (execute kubectl get deployment -n kapp-controller kapp-controller -o yaml and the annotation is kbld.k14s.io/images):
  • Kubernetes version (use kubectl version)

Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

@rcmadhankumar rcmadhankumar added bug This issue describes a defect or unexpected behavior carvel-triage This issue has not yet been reviewed for validity labels Jan 29, 2024
@rcmadhankumar rcmadhankumar self-assigned this Jan 29, 2024
@rcmadhankumar rcmadhankumar added the cli Issue for kapp-controller cli label Jan 29, 2024
@github-project-automation github-project-automation bot moved this to Closed in Carvel Jan 31, 2024
@github-actions github-actions bot removed the carvel-triage This issue has not yet been reviewed for validity label Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a defect or unexpected behavior cli Issue for kapp-controller cli
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant