How to find the Nuget packages in the Automation Suite object store

How to find the Nuget packages in the Automation Suite object store

Resolution

If there are just a few packages, they can be downloaded directly from Orchestrator -> Tenant -> Packages -> click on the 3 dots -> view versions -> click on the 3 dots of the versions and download package. This is a manual approach to download them.

If there are many of them, the data can be downloaded from the object store by following the instructions in this doc:

  1. Download the objectstore migration script from here.
  2. Run the following command to see how much space is needed to download the data:
    object_size=$(kubectl -n rook-ceph exec deploy/rook-ceph-tools -- ceph status --format json | jq -r '.pgmap.data_bytes')
    

    echo “You need ‘$(numfmt --to=iec-i $object_size)’ storage space”

  3. If there's have enough space, follow the steps from Preparing for an offline installation to login on podman, load and push the image in podman.
  4. Follow the steps from Downloading data from the object store.
  5. When running the script, it may take a bit of time while pod ceph-objectstore-ondemand-backup-job is being created.
  6. Once the pod was created and it's in running status, a file is created in the path that was given in the CEPH_BACKUP_PATH variable.
  7. There should be a directory called objectstore/ created under that path.
  8. Under the objectstore/backup/s3 path there should be multiple subdirectories where the orchestrator file can be found and the nuget packages as well.