How to get PX-Backup working with a local S3 object store when using proxy in the environment
KB0016886
Pure Product
Portworx
Question
How to get PX-Backup working with a local S3 object store when using proxy in the environment?
The issue arises when a customer is using local S3 object store and at the same time PX_HTTP_PROXY and PX_HTTPS_PROXY environment variables are defined in the storagecluster object. In such case, a customer is able to successfully add backup location via PX-Backup UI, however the backups will fail because while performing volume cloudsnaps, Portworx will try to upload those to the S3 bucket via specified proxy.
Answer
To resolve the issue, edit the storagecluster configuration and add NO_PROXY environment variable with IP/URL of the local S3 object store. This will prevent Portworx from uploading cloudsnaps to S3 bucket via proxy.
- name: NO_PROXY
value: https://local.s3.endpoint