Uploaded image for project: 'Red Hat Service Interconnect (Skupper)'
  1. Red Hat Service Interconnect (Skupper)
  2. SKUPPER-1283

Running a podman gateway requires the skupper-router package to be installed

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      tl;dr: If just the skupper-cli package is installed, running a podman gateway fails.

      [mnagel@testing-rhel-hel-1 ~]$ skupper gateway init --config simple_podman.yaml --type podman
      Error: qdr agent error: Failed to create connection: dial tcp 127.0.0.1:35177: connect: connection refused
       

      the image hasn't been pulled and podman is not running the router

      [mnagel@testing-rhel-hel-1 ~]$ podman ps -a
      CONTAINER ID  IMAGE                                                     COMMAND         CREATED        STATUS        PORTS                   NAMES
      0ac4a3cef428  quay.io/redhatintegration/patient-portal-database:latest  run-postgresql  7 minutes ago  Up 7 minutes  0.0.0.0:5432->5432/tcp  database
      [mnagel@testing-rhel-hel-1 ~]$ podman image list
      REPOSITORY                                         TAG         IMAGE ID      CREATED      SIZE
      quay.io/redhatintegration/patient-portal-database  latest      f60e26148ee7  2 years ago  507 MB
       

      -------------------

      Executing the same steps after installing both skupper-cli and skupper-router are successful, with a running gateway and the router up in podman

      [mnagel@testing-rhel-hel-1 ~]$ skupper gateway init --config simple_podman.yaml --type podman
      Skupper gateway: 'testing-rhel-hel-1-mnagel'. Use 'skupper gateway status' to get more information.
      [mnagel@testing-rhel-hel-1 ~]$ podman ps
      CONTAINER ID  IMAGE                                                               COMMAND               CREATED         STATUS         PORTS                   NAMES
      0ac4a3cef428  quay.io/redhatintegration/patient-portal-database:latest            run-postgresql        16 minutes ago  Up 16 minutes  0.0.0.0:5432->5432/tcp  database
      f3f8e7980f0e  registry.redhat.io/service-interconnect/skupper-router-rhel9:2.4.2  /home/skrouterd/b...  29 seconds ago  Up 29 seconds                          testing-rhel-hel-1-mnagel
       
      [mnagel@testing-rhel-hel-1 tmp]$ skupper gateway status
      Gateway Definition:
      ╰─ testing-rhel-hel-1-mnagel type:podman version:2.4.2-rh-1
         ╰─ Bindings:
            ╰─ database:5432 tcp database:5432 localhost 5432
      [mnagel@testing-rhel-hel-1 tmp]$ skupper version
      client version                 1.4.2-rh-1
      transport version              registry.redhat.io/service-interconnect/skupper-router-rhel9:2.4.2 (sha256:9dabf6667ae3)
      controller version             registry.redhat.io/service-interconnect/skupper-service-controller-rhel9:1.4.2 (sha256:3037331c4e04)
      config-sync version            registry.redhat.io/service-interconnect/skupper-config-sync-rhel9:1.4.2 (sha256:55e181d2fc58)
      flow-collector version         registry.redhat.io/service-interconnect/skupper-flow-collector-rhel9:1.4.2 (sha256:29af15451488)
      
      
      [mnagel@testing-rhel-hel-1 tmp]$ cat /etc/os-release 
      NAME="Red Hat Enterprise Linux"
      VERSION="9.2 (Plow)"
      
        

      Adding detailed steps to reproduce below.

              ansmith@redhat.com Andrew Smith
              mnagel@redhat.com Markus Nagel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: