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

Unable to rebuild integration after the upgrade

XMLWordPrintable

    • Fuse 7.5 Sprint 52 - Bug fix

      After upgrading from 1.7 to 1.8.1-20190927, the integrations require a rebuild - however after the rebuild the integration no longer starts due to:

      2019-09-27 08:53:39.564  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.BaseIntegrationController      : Integration i-LplsPjoaMXlWyWjIhUSz:1 : Desired status "Unpublished" != current status "Published" --> calling status change handler
      2019-09-27 08:53:40.261  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.BaseIntegrationController      : Integration i-LplsPjoaMXlWyWjIhUSz:2 : Desired status "Published" != current status "Unpublished" --> calling status change handler
      2019-09-27 08:53:40.262  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.BaseIntegrationController      : IntegrationDeploymentId i-LplsPjoaMXlWyWjIhUSz:1 Integration i-LplsPjoaMXlWyWjIhUSz : Start processing integration: i-LplsPjoaMXlWyWjIhUSz, version: 1 with handler: UnpublishHandler
      2019-09-27 08:53:40.381  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.online.UnpublishHandler        : Undeploying integration deployment:timer-log version:1
      2019-09-27 08:53:52.182  INFO [-,,,] 1 --- [oller Scheduler] i.s.s.c.i.BaseIntegrationController      : Checking integrations for their status.
      2019-09-27 08:54:27.690  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.BaseIntegrationController      : Integration i-LplsPjoaMXlWyWjIhUSz : Setting status to Pending
      2019-09-27 08:54:27.795  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.BaseIntegrationController      : IntegrationDeploymentId i-LplsPjoaMXlWyWjIhUSz:2 Integration i-LplsPjoaMXlWyWjIhUSz : Start processing integration: i-LplsPjoaMXlWyWjIhUSz, version: 2 with handler: PublishHandler
      2019-09-27 08:54:27.884  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.online.PublishHandler          : Integration [timer-log]: Build started: false, isRunning: false, Deployment ready: false
      2019-09-27 08:54:27.887  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.online.PublishHandler          : Integration [timer-log]: Steps performed so far: {}
      2019-09-27 08:54:27.978  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.online.PublishHandler          : Integration [timer-log]: Created project files and starting build
      2019-09-27 08:54:29.002  INFO [-,,,] 1 --- [7:38.261080000Z] i.s.s.l.j.c.ActivityTrackingController   : End of Log stream for running pod: i-timer-log-2-79hcm
      2019-09-27 08:54:30.968  INFO [-,,,] 1 --- [ning]: pollPods] i.s.s.l.j.c.ActivityTrackingController   : Pod not tracked by openshift anymore: i-timer-log-2-79hcm
      2019-09-27 08:54:31.077  INFO [-,,,] 1 --- [ning]: pollPods] i.s.s.l.j.c.ActivityTrackingController   : Pod state removed from db: i-timer-log-2-79hcm
      2019-09-27 08:54:33.804  INFO [-,,,] 1 --- [ool-10-thread-1] i.s.i.p.generator.ProjectGenerator       : Integration [timer-log]: Project files written to output stream
      2019-09-27 08:54:52.175  INFO [-,,,] 1 --- [oller Scheduler] i.s.s.c.i.BaseIntegrationController      : Checking integrations for their status.
      2019-09-27 08:55:19.930  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.online.PublishHandler          : Integration [timer-log]: Starting deployment
      2019-09-27 08:55:24.519 ERROR [-,,,] 1 --- [tion Controller] i.s.s.c.i.online.PublishHandler          : Integration [timer-log]: [ERROR] Activation failure
      java.lang.RuntimeException: Can't edit matching ports. No match found.
      	at io.fabric8.kubernetes.api.model.ContainerFluentImpl.editMatchingPort(ContainerFluentImpl.java:614) ~[kubernetes-model-2.0.10.jar!/:2.0.10]
      	at io.syndesis.server.openshift.OpenShiftServiceImpl.ensureDeploymentConfig(OpenShiftServiceImpl.java:296) ~[server-openshift-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at io.syndesis.server.openshift.OpenShiftServiceImpl.deploy(OpenShiftServiceImpl.java:103) ~[server-openshift-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at io.syndesis.server.controller.integration.online.PublishHandler.deploy(PublishHandler.java:181) ~[server-controller-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at io.syndesis.server.controller.integration.online.PublishHandler$BuildStepOncePerformer.perform(PublishHandler.java:276) ~[server-controller-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at io.syndesis.server.controller.integration.online.PublishHandler.execute(PublishHandler.java:114) ~[server-controller-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at io.syndesis.server.controller.StateChangeHandler.execute(StateChangeHandler.java:33) [server-controller-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at io.syndesis.server.controller.integration.BaseIntegrationController.lambda$callStateChangeHandler$10(BaseIntegrationController.java:220) [server-controller-1.8.1-20190927.jar!/:1.8.1-20190927]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_201]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_201]
      	at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_201]
      2019-09-27 08:55:24.519  INFO [-,,,] 1 --- [tion Controller] i.s.s.c.i.BaseIntegrationController      : Integration i-LplsPjoaMXlWyWjIhUSz : Setting status to Pending (Can't edit matching ports. No match found.)
      
      

      Steps to reproduce:

      • Install 1.7 with tools/bin/syndesis install --project avano-upgrade -y --test-support --tag 1.7
      • I created a simple integration from timer to log on 1.7
      • Upgrade to 1.8.1-20190927 - I used custom operator image from https://github.com/syndesisio/syndesis/pull/6752 since it not merged, with the config from 1.8.1-20190927
      • Log in to the ui, edit integration (no change) and hit save

      Creating a new integration from scratch works OK

            dbokde Dhiraj Bokde
            avano@redhat.com Andrej Vano
            Andrej Vano Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: