Closed ramkrishna2k3 closed 2 years ago
It looks like this issue belongs to the kapp-controller
repo.
Looks like you were trying to wrap a helm chart in a package.
Could you elaborate on the issue?
@ramkrishna2k3 , this looks a kapp-controller issue to transferred it to the kapp-controller repo.
It looks like this issue belongs to the
kapp-controller
repo. Looks like you were trying to wrap a helm chart in a package. Could you elaborate on the issue?
any help in this regard
root@Master-VM:~/tomcat# kubectl describe packageinstall.packaging.carvel.dev/tomcat-demo
Status:
Conditions:
Message: Expected to find at least one version, but did not (details: all=0 -> after-prereleases-filter=0 -> after-constraints-filter=0)
Status: True
Type: ReconcileFailed
Friendly Description: Reconcile failed: Expected to find at least one version, but did not (details: a...
Observed Generation: 1
Events:
It looks like this issue belongs to the
kapp-controller
repo. Looks like you were trying to wrap a helm chart in a package. Could you elaborate on the issue?
Yes, we are using helm bitnami chart and creating a package. can u please help in this.
helping over slack. closing here.
Was there ever clarification about what this means? I've seen the same as well.
Hi @benjaminapetersen - the gist of the error message is "you have created a PackageInstall resource, but there is not an appropriate corresponding Package resource."
I think if you're getting this I would check things like kubectl get packages -A
, and also check the namespace that your PackageInstall is targeting to see if the package is available from that namespace. Check the versions of the package vs. any version constraints specified by the PackageInstall, etc.
Perfect, thats crystal clear, and lines up with what I eventually realized as well. Thanks!
What steps did you take: As per the customer requirement we needed to remove helm.sh/chart: tomcat-10.1.12 from the yaml file.
What happened: got an error: kapp: Error: waiting on reconcile packageinstall/tomcatapp-demo (packaging.carvel.dev/v1alpha1) namespace: default: Finished unsuccessfully (Reconcile failed: (message: Expected to find at least one version, but did not (details: all=0 -> after-prereleases-filter=0 -> after-constraints-filter=0)))
What did you expect: Reconcile succeed
Anything else you would like to add: [Additional information that will assist in solving the issue.]
Environment:
kapp --version
): kapp version 0.46.0/etc/os-release
): NAME="Ubuntu" VERSION="20.04.4 LTS (Focal Fossa)"kubectl version
) Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.4",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.