Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-28629

RHEL 9.4 0day - Unable to copy image from one virtual machine to another using "podman image scp"

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhel-9.4.z
    • rhel-9.4.z
    • podman
    • podman-4.9.3-1.el9_4
    • None
    • None
    • 1
    • rhel-sst-container-tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • RUN 252
    • None

      What were you trying to do that didn't work?

      I am trying to copy image from one VM to another. Both my VM's are in the same network

      Following the article below

      https://www.redhat.com/sysadmin/podman-transfer-container-images-without-registry

      trying the option from the above URL.

      Or copy an image from one machine to another with this command:

       

      $ podman image scp me@192.168.68.122::IMAGE you@192.168.68.128::

      [root@rhel8 ~]# podman version
      Client:       Podman Engine
      Version:      4.4.1
      API Version:  4.4.1
      Go Version:   go1.19.6
      Built:        Thu Jun 15 20:09:56 2023
      OS/Arch:      linux/amd64

       

      How reproducible:

      Steps to reproduce

      [root@rhel8 ~]# podman image scp root@192.168.122.169::docker.io/library/alpine:latest root@192.168.122.193::
      WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location 
      WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location 
      Error: strconv.Atoi: parsing "": invalid syntax

      Then tried another way

      [root@rhel8 ~]# podman image scp root@rhel8.8.example.com::alpine:latest sachisha@rhel8.8.example.com::
      WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location 
      WARN[0000] Unknown connection name given. Please use system connection add to specify the default remote socket location 
      Error: strconv.Atoi: parsing "": invalid syntax

      Expected results

      expecting the image to be copied from one vm to other one

      Actual results

      Getting error as mentioned above in reproducer.

       

      Regards

      Sachin 

              rhn-support-jnovy Jindrich Novy
              rhn-support-sachisha Sachin Sharma
              Container Runtime Eng Bot Container Runtime Eng Bot
              Edward Shen Edward Shen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: