Uploaded image for project: 'Percona Operator for MySQL based on Percona XtraDB Cluster'
  1. Percona Operator for MySQL based on Percona XtraDB Cluster
  2. K8SPXC-570

Minio client in backup image does not mount S3-compatible storage

Details

    • Bug
    • Status: Done
    • Medium
    • Resolution: Done
    • 1.6.0
    • 1.7.0
    • docker-images
    • None
    • Vanila kubernetes on Flatcar worker

      NetApp StorageGrid S3 API

    Description

      We use NetApp StorageGrid with S3 API (very compatible to AWS). Minio client (mc) In the docket Image "percona/percona-xtradb-cluster-operator:1.6.0-pxc8.0-backup" does not add this storage correctly.

      Using mc from image

      1. run image percona-xtradb-cluster-operator:1.6.0-pxc8.0-backup on kubernetes
      2. Attach to pod with shell
      3. get mc information
        • mc --version
        • mc version DEVELOPMENT.GOGET
      4. Run mc to add destination like done in "/usr/bin/run_backup.sh"
      1. Getting error 
        •  

      mc: <ERROR> Unable to initialize new config from the provided credentials. Access Denied.

      1. run mc with parameter works
        • mc C /tmp/mc config host add dest "${ENDPOINT:https://s3.amazonaws.com}" "$ACCESS_KEY_ID" "$SECRET_ACCESS_KEY" --api="s3v4"
      1. result:
        • Added `dest` successfully.

      Using new mc (brew) on MacOS workstation

      1. get mc information
        • mc -v
        • mc version RELEASE.2020-11-25T23-04-07Z
      1. Run same command without parameters
      1. Result (success)
        • Added `dest` successfully.

       

      It seems you use older version from minio-client. 

       

      Attachments

        Activity

          People

            mykola.marzhan Mykola Marzhan (Inactive)
            dhilt-percona Dimitrij Hilt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Smart Checklist