Solved

kasten backup failed


Userlevel 4

Hi, Folks,
i am getting this error on the export phase when running a policy, the location profile is a S3 bucket, anyone faced it before?

 

- cause:

    cause:

      cause:

        cause:

          message: "Failed to exec command in pod: command terminated with exit code 1.

 

            stdout:\

 

            stderr: \e[31mERROR\e[0m unable to get repository

            storage: error listing blobs: A header you provided implies

            functionality that is not implemented."

        file: kasten.io/k10/kio/kopia/repository.go:538

        function: kasten.io/k10/kio/kopia.CreateKopiaRepository

        linenumber: 538

        message: Failed to create the backup repository

      fields:

        - name: appNamespace

          value: kasten-backup-test

      file: kasten.io/k10/kio/exec/phases/phase/export.go:270

      function: kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData

      linenumber: 270

      message: Failed to create Kopia repository for data export

    file: kasten.io/k10/kio/exec/phases/phase/export.go:172

    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run

    linenumber: 172

    message: Failed to copy artifacts

  message: Job failed to be executed

- cause:

    cause:

      cause:

        cause:

          message: "Failed to exec command in pod: command terminated with exit code 1.

 

            stdout:\

 

            stderr: \e[31mERROR\e[0m unable to get repository

            storage: error listing blobs: A header you provided implies

            functionality that is not implemented."

        file: kasten.io/k10/kio/kopia/repository.go:538

        function: kasten.io/k10/kio/kopia.CreateKopiaRepository

        linenumber: 538

        message: Failed to create the backup repository

      fields:

        - name: appNamespace

          value: kasten-backup-test

      file: kasten.io/k10/kio/exec/phases/phase/export.go:270

      function: kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData

      linenumber: 270

      message: Failed to create Kopia repository for data export

    file: kasten.io/k10/kio/exec/phases/phase/export.go:172

    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run

    linenumber: 172

    message: Failed to copy artifacts

  message: Job failed to be executed

- cause:

    cause:

      cause:

        cause:

          message: "Failed to exec command in pod: command terminated with exit code 1.

 

            stdout:\

 

            stderr: \e[31mERROR\e[0m unable to get repository

            storage: error listing blobs: A header you provided implies

            functionality that is not implemented."

        file: kasten.io/k10/kio/kopia/repository.go:538

        function: kasten.io/k10/kio/kopia.CreateKopiaRepository

        linenumber: 538

        message: Failed to create the backup repository

      fields:

        - name: appNamespace

          value: kasten-backup-test

      file: kasten.io/k10/kio/exec/phases/phase/export.go:270

      function: kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData

      linenumber: 270

      message: Failed to create Kopia repository for data export

    file: kasten.io/k10/kio/exec/phases/phase/export.go:172

    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run

    linenumber: 172

    message: Failed to copy artifacts

  message: Job failed to be executed

- cause:

    cause:

      cause:

        cause:

          message: "Failed to exec command in pod: command terminated with exit code 1.

 

            stdout:\

 

            stderr: \e[31mERROR\e[0m unable to get repository

            storage: error listing blobs: A header you provided implies

            functionality that is not implemented."

        file: kasten.io/k10/kio/kopia/repository.go:538

        function: kasten.io/k10/kio/kopia.CreateKopiaRepository

        linenumber: 538

        message: Failed to create the backup repository

      fields:

        - name: appNamespace

          value: kasten-backup-test

      file: kasten.io/k10/kio/exec/phases/phase/export.go:270

      function: kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData

      linenumber: 270

      message: Failed to create Kopia repository for data export

    file: kasten.io/k10/kio/exec/phases/phase/export.go:172

    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run

    linenumber: 172

    message: Failed to copy artifacts

  message: Job failed to be executed

- cause:

    cause:

      cause:

        cause:

          message: "Failed to exec command in pod: command terminated with exit code 1.

 

            stdout:\

 

            stderr: \e[31mERROR\e[0m unable to get repository

            storage: error listing blobs: A header you provided implies

            functionality that is not implemented."

        file: kasten.io/k10/kio/kopia/repository.go:538

        function: kasten.io/k10/kio/kopia.CreateKopiaRepository

        linenumber: 538

        message: Failed to create the backup repository

      fields:

        - name: appNamespace

          value: kasten-backup-test

      file: kasten.io/k10/kio/exec/phases/phase/export.go:270

      function: kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData

      linenumber: 270

      message: Failed to create Kopia repository for data export

    file: kasten.io/k10/kio/exec/phases/phase/export.go:172

    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run

    linenumber: 172

    message: Failed to copy artifacts

  message: Job failed to be executed

- cause:

    cause:

      cause:

        cause:

          message: "Failed to exec command in pod: command terminated with exit code 1.

 

            stdout:\

 

            stderr: \e[31mERROR\e[0m unable to get repository

            storage: error listing blobs: A header you provided implies

            functionality that is not implemented."

        file: kasten.io/k10/kio/kopia/repository.go:538

        function: kasten.io/k10/kio/kopia.CreateKopiaRepository

        linenumber: 538

        message: Failed to create the backup repository

      fields:

        - name: appNamespace

          value: kasten-backup-test

      file: kasten.io/k10/kio/exec/phases/phase/export.go:270

      function: kasten.io/k10/kio/exec/phases/phase.prepareKopiaRepoIfExportingData

      linenumber: 270

      message: Failed to create Kopia repository for data export

    file: kasten.io/k10/kio/exec/phases/phase/export.go:172

    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run

    linenumber: 172

    message: Failed to copy artifacts

  message: Job failed to be executed

icon

Best answer by Ali Kanso 30 May 2024, 13:59

View original

7 comments

I have the same problem. 

Userlevel 4

the issue was we are using S3 OOTBI Object first storage, and as per the support the S3 is using SOS API which os not supported by Kasten.

Userlevel 7
Badge +6

the issue was we are using S3 OOTBI Object first storage, and as per the support the S3 is using SOS API which os not supported by Kasten.

Thanks for sharing the information, @Ali Kanso!

Userlevel 7
Badge +22

If you are using OOTBI and want to leverage Kasten K10 please direct message me and I can advise a work around which also add more protection.

Userlevel 7
Badge +22

the issue was we are using S3 OOTBI Object first storage, and as per the support the S3 is using SOS API which os not supported by Kasten.

Just an extra bit of information here. The SOSAPI is not really the main problem. K10 needs retention set on the bucket before connecting for immutability but OOTBI only allows Veeam to set retention (we are looking into that). There are also a few api calls that Veeam does not use and OOTBI for security is lean and mean so we don’t add anything extra if not needed. Again though R&D are looking at this. However, again please contact me directly for a temporary solution. @Geoff Burke 

Userlevel 7
Badge +22

SOSAPI greatly enhances performance but is not the show stopper for a backup. You can send non SOSAPI backups to Ootbi, like at present VBM365, or enterprise plugins. They will work but not be as fast for example as SOSAPI supported backups

I have same issue after several tests with nfs, minio

 

- cause:
    cause:
      fields:
        - name: pvcName
          value: prometheus-server
        - name: pvName
          value: pvc-6d32660a-29ee-4b80-931b-39fde0e0cf61
        - name: storageClassName
          value: csi-nfs-server
        - name: namespace
          value: default
      file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
      function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
      linenumber: 230
      message: '{"message":"failed to verify GSB
        token","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":281,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:281","cause":{"message":"illegal
        base64 data at input byte 8"}}'
    file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:155
    function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
    linenumber: 155
    message: Failed to fetch the snapshot session
  message: Job failed to be executed
- cause:
    cause:
      fields:
        - name: pvcName
          value: prometheus-server
        - name: pvName
          value: pvc-6d32660a-29ee-4b80-931b-39fde0e0cf61
        - name: storageClassName
          value: csi-nfs-server
        - name: namespace
          value: default
      file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
      function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
      linenumber: 230
      message: '{"message":"failed to verify GSB
        token","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":281,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:281","cause":{"message":"illegal
        base64 data at input byte 8"}}'
    file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:155
    function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
    linenumber: 155
    message: Failed to fetch the snapshot session
  message: Job failed to be executed
- cause:
    cause:
      fields:
        - name: pvcName
          value: prometheus-server
        - name: pvName
          value: pvc-6d32660a-29ee-4b80-931b-39fde0e0cf61
        - name: storageClassName
          value: csi-nfs-server
        - name: namespace
          value: default
      file: kasten.io/k10/kio/exec/phases/phase/snapshot.go:230
      function: kasten.io/k10/kio/exec/phases/phase.FetchSnapshotSession
      linenumber: 230
      message: '{"message":"failed to verify GSB
        token","function":"kasten.io/k10/kio/exec/phases/phase.checkIfGVSEnabled","linenumber":281,"file":"kasten.io/k10/kio/exec/phases/phase/snapshot.go:281","cause":{"message":"illegal
        base64 data at input byte 8"}}'
    file: kasten.io/k10/kio/exec/phases/backup/snapshot_data_phase.go:155
    function: kasten.io/k10/kio/exec/phases/backup.(*SnapshotDataPhase).Run
    linenumber: 155
    message: Failed to fetch the snapshot session
  message: Job failed to be executed
 

Comment