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

VDB builder image sometimes does not start building

XMLWordPrintable

    • DV Sprint 66

      When deploying the first VDB to a namespace with the DV operator, the virtualdatabase-builder image build sometimes does not start, nor is the buildconfig created. This appears to be a timing issue with the creation of the openjdk imagestream, since deploying a second VDB does trigger the build. Also, creating the openjdk imagestream before deploying the first VDB also fixes the problem reliably.

      This error appears in the operator log when the problem occcurs:

      {"level":"warn","ts":"2020-07-07T10:42:54.815947035Z","logger":"virtualdatabase","msg":"asmigala-is/openjdk-11:1.3 ImageStreamTag does not exist and is required for this build."}
      {"level":"error","ts":"2020-07-07T10:42:54.815997396Z","logger":"virtualdatabase","msg":"Failed during action S2IBuilderImageAction imagestreamtags.image.openshift.io \"openjdk-11:1.3\" not found"}
      {"level":"info","ts":"2020-07-07T10:42:54.822762755Z","logger":"virtualdatabase","msg":"state transition phase-from:Ready For S2I phase-to:Building Base Builder Image"}
      {"level":"error","ts":1594118574.8228073,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"virtualdatabase-controller","request":"asmigala-is/h2-test-1","error":"imagestreamtags.image.openshift.io \"openjdk-11:1.3\" not found","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/remote-source/deps/gomod/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/remote-source/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/remote-source/deps/gomod/pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/remote-source/deps/gomod/pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/remote-source/deps/gomod/pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:88"}
      

              rhn-engineering-rareddy Ramesh Reddy
              asmigala@redhat.com Andrej Smigala
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: