Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-10514

[camel-k] Can't find camel catalog for productized version

    XMLWordPrintable

Details

    • % %

    Description

      oc log camel-k-operator-65ffbbc4f7-s7bsh 
      
      {"level":"info","ts":1555322843.9946198,"logger":"camel-k.trait","msg":"Apply trait: camel"}
      {"level":"error","ts":1555322843.9962175,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"integrationcontext-controller","request":"myproject/jvm","error":"error during trait customization before deployment: unable to find catalog for: ~2.21.x","errorVerbose":"unable to find catalog for: ~2.21.x\nerror during trait customization before deployment\ngithub.com/apache/camel-k/pkg/trait.Apply\n\t/go/src/github.com/apache/camel-k/pkg/trait/trait.go:50\ngithub.com/apache/camel-k/pkg/controller/integrationcontext.(*initializeAction).Handle\n\t/go/src/github.com/apache/camel-k/pkg/controller/integrationcontext/initialize.go:55\ngithub.com/apache/camel-k/pkg/controller/integrationcontext.(*ReconcileIntegrationContext).Reconcile\n\t/go/src/github.com/apache/camel-k/pkg/controller/integrationcontext/integrationcontext_controller.go:121\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88\nruntime.goexit\n\t/opt/rh/go-toolset-7/root/usr/lib/go-toolset-7-golang/src/runtime/asm_amd64.s:2361","stacktrace":"github.com/apache/camel-k/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/apache/camel-k/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:217\ngithub.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/apache/camel-k/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/apache/camel-k/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      
      oc describe IntegrationPlatform camel-k
      Name:         camel-k
      Namespace:    myproject
      Labels:       app=camel-k
      Annotations:  <none>
      API Version:  camel.apache.org/v1alpha1
      Kind:         IntegrationPlatform
      Metadata:
        Creation Timestamp:  2019-04-15T09:38:22Z
        Generation:          2
        Resource Version:    4420
        Self Link:           /apis/camel.apache.org/v1alpha1/namespaces/myproject/integrationplatforms/camel-k
        UID:                 35aa48bd-5f62-11e9-b1d8-5254008f2999
      Spec:
        Build:
          Base Image:        fuse7/fuse-java-openshift:1.3
          Camel Version:     ~2.21.x
          Local Repository:  /tmp/artifacts/m2
          Publish Strategy:  S2I
          Registry:
          Runtime Version:  0.3.2.fuse-730015-redhat-00002
          Timeout:          5m0s
        Cluster:            OpenShift
        Profile:            OpenShift
        Resources:
      Status:
        Phase:  Starting
      Events:   <none>
      
      oc get CamelCatalog                      
      NAME                                            AGE
      camel-catalog-2.21.0.fuse-730075-redhat-00002   25m
      camel-catalog-2.23.0                            25m
      camel-catalog-2.23.1                            25m
      
      oc describe deployment camel-k-operator
      Name:               camel-k-operator
      Namespace:          myproject
      CreationTimestamp:  Mon, 15 Apr 2019 11:38:22 +0200
      Labels:             app=camel-k
                          camel.apache.org/component=operator
      Annotations:        deployment.kubernetes.io/revision=2
      Selector:           name=camel-k-operator
      Replicas:           1 desired | 1 updated | 1 total | 1 available | 0 unavailable
      StrategyType:       Recreate
      MinReadySeconds:    0
      Pod Template:
        Labels:           camel.apache.org/component=operator
                          name=camel-k-operator
        Service Account:  camel-k-operator
        Containers:
         camel-k-operator:
          Image:  brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/fuse7/fuse-camel-k:1.3-2
          Port:   <none>
          Command:
            camel-k
          Environment:
            WATCH_NAMESPACE:   (v1:metadata.namespace)
            OPERATOR_NAME:    camel-k
            POD_NAME:          (v1:metadata.name)
          Mounts:             <none>
        Volumes:              <none>
      Conditions:
        Type           Status  Reason
        ----           ------  ------
        Available      True    MinimumReplicasAvailable
        Progressing    True    NewReplicaSetAvailable
      OldReplicaSets:  <none>
      NewReplicaSet:   camel-k-operator-65ffbbc4f7 (1/1 replicas created)
      Events:
        Type    Reason             Age   From                   Message
        ----    ------             ----  ----                   -------
        Normal  ScalingReplicaSet  33m   deployment-controller  Scaled up replica set camel-k-operator-745bfd6b4d to 1
        Normal  ScalingReplicaSet  32m   deployment-controller  Scaled down replica set camel-k-operator-745bfd6b4d to 0
        Normal  ScalingReplicaSet  32m   deployment-controller  Scaled up replica set camel-k-operator-65ffbbc4f7 to 1
      

      Attachments

        Activity

          People

            nicolaferraro Nicola Ferraro (Inactive)
            jbouska@redhat.com Jan Bouska
            Jan Bouska Jan Bouska
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: