Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-9319

3scale Toolbox don't exporting into a file / importing from a file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • 2.13.0 GA
    • Documentation
    • 3
    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Hide

      Easily reproduced using podman:

      • podman run registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.13.0 3scale product export -f file_name.yaml https://<ACCESS_TOKEN>@<ADMIN_PORTAL> <PRODUCT> --verbose
      • podman run registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.13.0 3scale product import -f file_name.yaml https://<ACCESS_TOKEN>@<ADMIN_PORTAL> --verbose

      The Export to stdout is working:

      • podman run registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.13.0 3scale product export https://<ACCESS_TOKEN>@<ADMIN_PORTAL> <PRODUCT> --verbose
      Show
      Easily reproduced using podman: podman run registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.13.0 3scale product export -f file_name.yaml https://<ACCESS_TOKEN>@<ADMIN_PORTAL> <PRODUCT> --verbose podman run registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.13.0 3scale product import -f file_name.yaml https://<ACCESS_TOKEN>@<ADMIN_PORTAL> --verbose The Export to stdout is working: podman run registry.redhat.io/3scale-amp2/toolbox-rhel8:3scale2.13.0 3scale product export https://<ACCESS_TOKEN>@<ADMIN_PORTAL> <PRODUCT> --verbose
    • Critical

    Description

      The Toolbox Export/Import functionalities are not working. The Export is not writing into a file [1] (stdout is working). The Import  [2] is not reading from file because it cannot find the specified file returning an error ([3]yes the file exist in the folder).

       

      [1] 3scale product export -f file_name.yaml <remote> <product>

      [2] 3scale product import -f file_name.yaml <remote>

      [3]

      {
        "code": "E_3SCALE",
        "message": "File not found: file_name.yaml ",
        "class": "ThreeScaleToolbox::Error"
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gpereira@redhat.com Gustavo Pereira
            Darren Fennessy Darren Fennessy
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: