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

[CR1] Unable to start upgrade container

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.6-CR3
    • fuse-7.6-CR1
    • Fuse Online, Prod
    • None

    Description

      When doing upgrade from 7.5.1 to 7.6 CR1, the upgrade pod ends in CreateContainerError state with:

      Events:
        Type     Reason     Age                From                                 Message
        ----     ------     ----               ----                                 -------
        Normal   Scheduled  <unknown>          default-scheduler                    Successfully assigned avano-upgrade2/upgrade-db-migration-mcfbl to fo-43-a-vdls5-worker-nh9hh
        Normal   Pulling    49s                kubelet, fo-43-a-vdls5-worker-nh9hh  Pulling image "quay.io/rh_integration/fuse-ignite-upgrade:1.6-10"
        Normal   Pulled     44s                kubelet, fo-43-a-vdls5-worker-nh9hh  Successfully pulled image "quay.io/rh_integration/fuse-ignite-upgrade:1.6-10"
        Warning  Failed     43s (x2 over 43s)  kubelet, fo-43-a-vdls5-worker-nh9hh  Error: container create failed: time="2020-02-14T10:39:03Z" level=error msg="container_linux.go:346: starting container process caused \"exec: \\\"/opt/entrypoint.sh\\\": stat /opt/entrypoint.sh: no such file or directory\""
      container_linux.go:346: starting container process caused "exec: \"/opt/entrypoint.sh\": stat /opt/entrypoint.sh: no such file or directory"
        Normal   Pulled  31s (x2 over 43s)  kubelet, fo-43-a-vdls5-worker-nh9hh  Container image "quay.io/rh_integration/fuse-ignite-upgrade:1.6-10" already present on machine
        Warning  Failed  30s                kubelet, fo-43-a-vdls5-worker-nh9hh  Error: container create failed: time="2020-02-14T10:39:16Z" level=error msg="container_linux.go:346: starting container process caused \"exec: \\\"/opt/entrypoint.sh\\\": stat /opt/entrypoint.sh: no such file or directory\""
      container_linux.go:346: starting container process caused "exec: \"/opt/entrypoint.sh\": stat /opt/entrypoint.sh: no such file or directory"
      

      The image looks different than upstream:

      Status: Downloaded newer image for registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-ignite-upgrade:1.6-10
      [root@1105c3404eca opt]# ls -la
      total 18568
      drwxrwxr-x 1 root root     4096 Feb 11 19:28 .
      drwxr-xr-x 1 root root     4096 Feb 14 10:43 ..
      drwxrwxr-x 2 root root     4096 Feb 11 19:28 backup
      -rw-r--r-- 1 root root     5078 Feb 11 19:26 common.sh
      drwxr-xr-x 3 root root     4096 Feb 11 19:28 fuse-ignite
      drwxr-xr-x 3 root root     4096 Feb 11 19:28 migration
      drwxr-xr-x 2 root root     4096 Feb 11 19:28 steps
      -rw-r--r-- 1 root root 18972293 Feb 11 19:02 syndesis-cli.jar
      -rwxr-xr-x 1 root root     8163 Feb 11 19:26 upgrade.sh
      
      Status: Downloaded newer image for syndesis/syndesis-upgrade:1.9.1-20200212
      [root@9e47aad99227 opt]# ls -la
      total 18548
      drwxrwxr-x 1 root root     4096 Feb 12 08:51 .
      drwxr-xr-x 1 root root     4096 Feb 14 10:44 ..
      -rw-rw-r-- 1 root root     5078 Feb 12 05:46 common.sh
      -rwxrwxr-x 1 root root     1771 Feb 12 05:46 entrypoint.sh
      drwxr-xr-x 1 root root     4096 Feb 12 08:51 ipaas
      -rw-rw-r-- 1 root root 18967528 Feb 12 08:49 syndesis-cli.jar
      

      Attachments

        Activity

          People

            opiske Otavio Piske
            avano@redhat.com Andrej Vano
            Andrej Vano Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: