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 : Successful message when package install failed #1351

Closed
rcmadhankumar opened this issue Oct 12, 2023 · 1 comment
Closed

kctrl : Successful message when package install failed #1351

rcmadhankumar opened this issue Oct 12, 2023 · 1 comment
Labels
carvel-triage This issue has not yet been reviewed for validity stale This issue has had no activity for a while and will be closed soon

Comments

@rcmadhankumar
Copy link
Contributor

What steps did you take:
I tried installing a package for which the version didn't exist:

kctrl package install -i foo -p foo.myorg.com -v 1.0.0 -n test-ns 
Target cluster 'https://127.0.0.1:56506' (nodes: kind-control-plane)

10:24:28AM: Creating service account 'foo-test-ns-sa'
10:24:28AM: Creating cluster admin role 'foo-test-ns-cluster-role'
10:24:28AM: Creating cluster role binding 'foo-test-ns-cluster-rolebinding'
10:24:28AM: Creating overlay secrets
10:24:28AM: Creating package install resource
10:24:28AM: Waiting for PackageInstall reconciliation for 'foo'

kctrl: Error: packageinstall/foo (packaging.carvel.dev/v1alpha1) namespace: test-ns:
  Reconciling: . Reconcile failed:
    Package foo.myorg.com not found

^This works as expected, but when I try running the same command again, I got a different error:

kctrl package install -i foo -p foo.myorg.com -v 1.0.0 -n test-ns 
Target cluster 'https://127.0.0.1:56506' (nodes: kind-control-plane)

10:24:31AM: No changes to package install 'foo' in namespace 'test-ns'

Succeeded

What happened:
kctrl returns Succeeded as there is no new changes in the package install.

What did you expect:
kctrl should make sure that the last reconciliation was successful, only then it can return success message, otherwise it should be reconcile failure error.


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 Oct 12, 2023
@rcmadhankumar rcmadhankumar changed the title kctrl : Successful error message when package install failed kctrl : Successful message when package install failed Oct 12, 2023
@renuy renuy added carvel-accepted This issue should be considered for future work and that the triage process has been completed and removed carvel-triage This issue has not yet been reviewed for validity labels Oct 18, 2023
@renuy renuy moved this to Prioritized Backlog in Carvel Oct 18, 2023
@renuy renuy added carvel-triage This issue has not yet been reviewed for validity and removed carvel-accepted This issue should be considered for future work and that the triage process has been completed labels Oct 18, 2023
@renuy renuy moved this from Prioritized Backlog to To Triage in Carvel Oct 18, 2023
@renuy renuy removed the bug This issue describes a defect or unexpected behavior label Oct 18, 2023
Copy link

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

@github-actions github-actions bot added the stale This issue has had no activity for a while and will be closed soon label Nov 28, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2023
@github-project-automation github-project-automation bot moved this from To Triage to Closed in Carvel Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
carvel-triage This issue has not yet been reviewed for validity stale This issue has had no activity for a while and will be closed soon
Projects
Archived in project
Development

No branches or pull requests

2 participants