So the issue was related to OpenShift. The internal registry was not
configured correctly, which is what was causing the error message.

I've raised an Issue in Github as I think the error message is misleading
and there should be a different error message. For more details, follow
#4130.


On Mon, Mar 13, 2023 at 4:07 AM Pasquale Congiusti <
pasquale.congiu...@gmail.com> wrote:

> Hello,
> if you have some paid product support and you want to make use of it,
> you're very welcome. But in such case I suggest you to avoid opening
> parallel topics as it really creates confusion if it is a problem on the
> community version or something broken is some product versions. I can
> confirm you, in the community version this looks fine and working as per
> end to end testing before the release. If it keeps failing on a community
> version, please, open a Github issue in Camel K project reporting the
> kubernetes cluster, the operator and CLI version used.
>
> Regards,
> Pasquale.
>
> On Sat, Mar 11, 2023 at 5:09 PM Timothy Dilbert
> <timothy.dilb...@bmt.ky.invalid> wrote:
>
> > Hi Everyone,
> >
> > I have a ticket opened with Red Hat Support about this, but I thought I
> > would also check in to see if anyone here had any other thoughts on
> > troubleshooting.
> >
> > There is obviously something wrong here because even a vanilla
> > KameletBinding is failing i.e. Operators > Installed Operators > Red Hat
> > Integration - Camel K > KameletBinding > Create KameletBinding > Create
> > (with no edits to the YAML).
> >
> > Regards,
> >
> > Timothy
> >
> > On Thu, Mar 9, 2023 at 12:10 PM Timothy Dilbert <timothy.dilb...@bmt.ky>
> > wrote:
> >
> > > Hi Pasquale,
> > >
> > > When I run `kamel kamelet get` I see a list containing both of the
> > > Kamelets I use in my KameletBinding.
> > >
> > > When I look at the `camel-k-operator` pod in OpenShift, below is a
> > message
> > > I am seeing after I attempt to publish a new KameletBinding. It's not
> > clear
> > > whether this is the expected error for the "readiness" error I am
> getting
> > > in the OpenShift Console:
> > >
> > > {"level":"error","ts":1678381161.6966925,"msg":"Reconciler
> > > error","controller":"integration-controller","controllerGroup":"
> > > camel.apache.org
> >
> ","controllerKind":"Integration","Integration":{"name":"kamelet-timer-source","namespace":"camel-nf-test"},"namespace":"camel-nf-test","name":"kamelet-timer-source","reconcileID":"83f85dd8-2dfc-49cb-82fb-3de79a6d77cf","error":"error
> > > during trait customization: unable to find integration container:
> > > kamelet-timer-source","errorVerbose":"unable to find integration
> > container:
> > > kamelet-timer-source\nerror during trait customization\
> > >
> >
> ngithub.com/apache/camel-k/pkg/trait.Apply\n\tgithub.com/apache/camel-k/pkg/trait/trait.go:59\ngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle\n\tgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:114\ngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile\n\tgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:361\ngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile\n\tgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234\nruntime.goexit\n\truntime/asm_amd64.s:1571
> <http://ngithub.com/apache/camel-k/pkg/trait.Apply%5Cn%5Ctgithub.com/apache/camel-k/pkg/trait/trait.go:59%5Cngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle%5Cn%5Ctgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:114%5Cngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile%5Cn%5Ctgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:361%5Cngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile%5Cn%5Ctgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234%5Cnruntime.goexit%5Cn%5Ctruntime/asm_amd64.s:1571>
> > <
> http://ngithub.com/apache/camel-k/pkg/trait.Apply%5Cn%5Ctgithub.com/apache/camel-k/pkg/trait/trait.go:59%5Cngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle%5Cn%5Ctgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:114%5Cngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile%5Cn%5Ctgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:361%5Cngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile%5Cn%5Ctgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234%5Cnruntime.goexit%5Cn%5Ctruntime/asm_amd64.s:1571
> >
> > > <
> >
> http://ngithub.com/apache/camel-k/pkg/trait.Apply%5Cn%5Ctgithub.com/apache/camel-k/pkg/trait/trait.go:59%5Cngithub.com/apache/camel-k/pkg/controller/integration.(*monitorAction).Handle%5Cn%5Ctgithub.com/apache/camel-k/pkg/controller/integration/monitor.go:114%5Cngithub.com/apache/camel-k/pkg/controller/integration.(*reconcileIntegration).Reconcile%5Cn%5Ctgithub.com/apache/camel-k/pkg/controller/integration/integration_controller.go:361%5Cngithub.com/apache/camel-k/pkg/util/monitoring.(*instrumentedReconciler).Reconcile%5Cn%5Ctgithub.com/apache/camel-k/pkg/util/monitoring/controller.go:70%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:121%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:320%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234%5Cnruntime.goexit%5Cn%5Ctruntime/asm_amd64.s:1571
> > >
> > > ","stacktrace":"
> > >
> >
> sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\tsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234
> <http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234>
> > <
> http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234
> >
> > > <
> >
> http://sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:326%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:273%5Cnsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2%5Cn%5Ctsigs.k8s.io/controller-runtime@v0.13.1/pkg/internal/controller/controller.go:234
> > >
> > > "}
> > >
> > > Is this related to your ideas below vis-a-vis a resource missing?
> > >
> > > Regards,
> > >
> > >
> > >
> > > *Timothy Dilbert*
> > >
> > > On Thu, Mar 9, 2023 at 11:54 AM Pasquale Congiusti <
> > > pasquale.congiu...@gmail.com> wrote:
> > >
> > >> Hi Timothy,
> > >> the specification looks good (a part the needed indentation, of
> course).
> > >> It
> > >> seems that some resource is missing, likely the Kamelets. You can try
> to
> > >> list in the namespace via `kamel kamelet get`. It would be nice also
> to
> > >> have a look at operator Pod log and see what kind of error is reported
> > >> (ie,
> > >> `stern camel-k-operator`). Also, please verify that the kamel CLI
> you're
> > >> using to run is compatible with the operator (`kamel version --all`).
> > I've
> > >> just discovered a bug [1] but it does not look the kind of issue
> you're
> > >> experiencing. Please, report any useful information for further
> > >> troubleshooting.
> > >>
> > >> Regards,
> > >> Pasquale.
> > >>
> > >> [1] https://github.com/apache/camel-k/issues/4117
> > >>
> > >> On Thu, Mar 9, 2023 at 5:28 PM Timothy Dilbert
> > >> <timothy.dilb...@bmt.ky.invalid> wrote:
> > >>
> > >> > Hello,
> > >> >
> > >> > I am trying to do a quick proof-of-concept on Camel-K, deploying a
> > >> > KameletBinding into OpenShift. I'm having a hard time deploying into
> > my
> > >> > Camel K Operator.
> > >> >
> > >> > All of my attempts are basically getting stuck on the "Creating"
> > stage,
> > >> > then eventually failing with the following message:
> > >> > ```
> > >> > Integration "integration-name" does not have a readiness condition
> > >> >  ```
> > >> > Below is an example of a basic YAML deployment:
> > >> >
> > >> > apiVersion: camel.apache.org/v1alpha1
> > >> > kind: KameletBinding
> > >> > metadata:
> > >> > name: integration-name
> > >> > spec:
> > >> > source:
> > >> > ref:
> > >> > apiVersion: camel.apache.org/v1alpha1
> > >> > name: timer-source
> > >> > kind: Kamelet
> > >> > properties:
> > >> > period: '10000'
> > >> > message: Hello
> > >> > sink:
> > >> > ref:
> > >> > apiVersion: camel.apache.org/v1alpha1
> > >> > name: log-sink
> > >> > kind: Kamelet
> > >> > properties:
> > >> > showHeaders: 'true'
> > >> >
> > >> > Any chance I can get a little help from you to identify the issue
> > here?
> > >> >
> > >> > I'm using OpenShift v4.12.5 with the Camel K Operator v1.12.0.
> > >> >
> > >> > Kind regards,
> > >> >
> > >> > Timothy Dilbert
> > >> >
> > >>
> > >
> >
>

Reply via email to