# Customer debug tools for velero Scope atm would only be to add cloud client tooling that is built via rpm by Red Hat. ## Targets: - details below * s3 storage: s3cmd - built and shipped by Red Hat * azure: in koji, not in brew * gcp: not in koji, not in brew * MCG: handled by s3 ## Upstream / Downstream * Downstream: * s3cmd: rhceph-5-tools-for-rhel-8-x86_64-rpms * Upstream: * ubi8 image: does not have access to ceph channels * https://access.redhat.com/articles/4238681 * Have to install epel-8 on our upstream [DockerFile](https://github.com/openshift/velero/blob/konveyor-dev/Dockerfile.ubi) * https://dl.fedoraproject.org/pub/epel/8/Everything/x86_64/Packages/s/s3cmd-2.3.0-1.el8.noarch.rpm # Internal build now adds the s3cmd rpm to the velero container ``` [whayutin@thinkdoe ~]$ oc get all -n openshift-adp | grep velero pod/velero-5bd4d9647d-xzjd9 1/1 Running 0 139m service/openshift-adp-velero-metrics-svc ClusterIP 172.30.128.76 <none> 8085/TCP 139m deployment.apps/velero 1/1 1 1 139m replicaset.apps/velero-5bd4d9647d 1 1 1 139m ``` ``` oc exec --stdin --tty pod/velero-5bd4d9647d-xzjd9 -n openshift-adp -- /bin/bash Defaulted container "velero" out of: velero, openshift-velero-plugin (init), velero-plugin-for-aws (init) bash-4.4$ rpm -q s3cmd s3cmd-2.0.2-1.el8cp.noarch ``` ## configure ``` bash-4.4$ s3cmd --configure -c /tmp/.s3cfg Enter new values or accept defaults in brackets with Enter. Refer to user manual for detailed description of all options. Access key and Secret key are your identifiers for Amazon S3. Leave them empty for using the env variables. Access Key: ``` ## execute ``` bash-4.4$ s3cmd -c /tmp/.s3cfg ls s3://cvpbucketuswest2/velero/backups/ DIR s3://cvpbucketuswest2/velero/backups/01b71128-4e66-47f9-964e-8d89af124e87/ DIR s3://cvpbucketuswest2/velero/backups/cc7544ae-f7c2-423d-bd8e-c6f022318c73/ DIR s3://cvpbucketuswest2/velero/backups/dccdd241-39cb-4e53-889b-5f9c5ef98a53/ DIR s3://cvpbucketuswest2/velero/backups/e1097edc-3bf3-4220-ab7d-247694ae6d45/ DIR s3://cvpbucketuswest2/velero/backups/e3401070-a1d8-40b1-9aea-cbb2961c4c4a/ DIR s3://cvpbucketuswest2/velero/backups/e538d73a-3753-4dda-8fb1-ca058b62e48e/ DIR s3://cvpbucketuswest2/velero/backups/e7ddf36d-61c3-46d3-9bad-854026f22465/ DIR s3://cvpbucketuswest2/velero/backups/e8d61fa8-35e2-4653-9e1d-2f0d80a93f72/ DIR s3://cvpbucketuswest2/velero/backups/f05b6512-e70d-4db7-873f-1d8543c2a2ed/ DIR s3://cvpbucketuswest2/velero/backups/mysql-persistent-1191285/ DIR s3://cvpbucketuswest2/velero/backups/mysql-persistent-1252697/ ``` ## other tools ### azure client * our doc: https://docs.openshift.com/container-platform/4.11/backup_and_restore/application_backup_and_restore/installing/installing-oadp-azure.html#installing-oadp-azure * There are [koji builds](https://koji.fedoraproject.org/koji/packageinfo?packageID=34338) for fedora and el9. However I do NOT see the same build in brew. * ### gcp storage client * only built by google, not in koji or brew ## documentation * openshift docs