Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-15185

Documentation feedback: RHOSPdO minor update doc: command not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Normal Normal
    • rhos-17.1.6
    • rhos-17.1.4
    • documentation
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Release Note Not Required
    • Moderate

      Hello, here  at point 8 a command is specified to copy the images to the repository 

      for i in $(podman search --limit 1000 "registry.redhat.io/rhosp-rhel9/openstack" --format="{{ .Name }}" | awk '{print $1 ":" "17.1.0"}' | awk -F "/" '{print $2 "/" $3}'); do skopeo copy --all docker://registry.redhat.io/$i docker://your.registry.local/$i;done 

      but the podman search is not returning anything

      (overcloud) [stack@undercloud-0 ~]$ podman search --limit 1000 "registry.redhat.io/rhosp-rhel9/openstack" --format="{{ .Name }}" | awk '{print $1 ":" "17.1.4"}' | awk -F "/" '{print $2 "/" $3}'
      (overcloud) [stack@undercloud-0 ~]$ 

      probably needs to be changed into

      podman search --limit 1000 "registry.redhat.io/rhosp-rhel9" --format="{{ .Name }}" | awk '{print $1 ":" "17.1.4"}' | awk -F "/" '{print $2 "/" $3}') 

      which is returning the expected images list.

       

              igallagh@redhat.com Irina Gallagher
              rhn-support-ldavidde Luca Davidde
              rhos-conplat-core-operators
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: