Export Job Failed


Hi Team,

 

I have an issue when Exporting RestorePoint (export failed)

 

Here is the whole logs:

##############

- cause:
    cause:
      cause:
        errors:
          - cause:
              cause:
                cause:
                  cause:
                    message: "Pod did not transition into running state.
                      Timeout:15m0s  Namespace:kasten-io,
                      Name:copy-vol-data-swb2r: client rate limiter Wait
                      returned an error: context deadline exceeded"
                  fields:
                    - name: pod
                      value: copy-vol-data-swb2r
                  file: kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:237
                  function: kasten.io/k10/kio/kanister/function.copyVolumeDataPodExecFunc.func1
                  linenumber: 237
                  message: Failed while waiting for Pod to be ready
                file: kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:117
                function: kasten.io/k10/kio/kanister/function.CopyVolumeData
                linenumber: 117
                message: Failed to execute copy volume data pod function
              file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1507
              function: kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert
              linenumber: 1507
              message: Error creating portable snapshot
            fields:
              - name: type
                value: CSI
              - name: id
                value: k10-csi-snap-bj4w5lbh2wn9fm49
            file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:440
            function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1
            linenumber: 440
            message: Failed to export snapshot data
          - cause:
              cause:
                cause:
                  cause:
                    message: "Pod did not transition into running state.
                      Timeout:15m0s  Namespace:kasten-io,
                      Name:copy-vol-data-w9wn7: client rate limiter Wait
                      returned an error: context deadline exceeded"
                  fields:
                    - name: pod
                      value: copy-vol-data-w9wn7
                  file: kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:237
                  function: kasten.io/k10/kio/kanister/function.copyVolumeDataPodExecFunc.func1
                  linenumber: 237
                  message: Failed while waiting for Pod to be ready
                file: kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:117
                function: kasten.io/k10/kio/kanister/function.CopyVolumeData
                linenumber: 117
                message: Failed to execute copy volume data pod function
              file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1507
              function: kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert
              linenumber: 1507
              message: Error creating portable snapshot
            fields:
              - name: type
                value: CSI
              - name: id
                value: k10-csi-snap-69qnlkp8fqz2z9fq
            file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:440
            function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1
            linenumber: 440
            message: Failed to export snapshot data
        message: 2 errors have occurred
      file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:208
      function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy
      linenumber: 208
      message: Error converting snapshots
    file: kasten.io/k10/kio/exec/phases/phase/export.go:168
    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run
    linenumber: 168
    message: Failed to copy artifacts
  message: Job failed to be executed
- cause:
    cause:
      cause:
        cause:
          cause:
            cause:
              cause:
                message: 'Failed to check and update snapshot content: snapshot controller
                  failed to update
                  snapshot-copy-drh6lfw7-content-389dd4ca-cdcb-4408-9039-e1bee14a502a
                  on API server: Operation cannot be fulfilled on
                  volumesnapshotcontents.snapshot.storage.k8s.io
                  "snapshot-copy-drh6lfw7-content-389dd4ca-cdcb-4408-9039-e1bee14a502a":
                  the object has been modified; please apply your changes to the
                  latest version and try again'
              file: kasten.io/k10/kio/exec/phases/phase/phase_utils.go:362
              function: kasten.io/k10/kio/exec/phases/phase.createPVCandSnapshotFromSource
              linenumber: 362
              message: Failed to create snapshot from source
            file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:909
            function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).createPVCFromCSISnapshot
            linenumber: 909
            message: Failed to clone volume and snapshot from source snapshot
          file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1507
          function: kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert
          linenumber: 1507
          message: Error creating portable snapshot
        fields:
          - name: type
            value: CSI
          - name: id
            value: k10-csi-snap-bj4w5lbh2wn9fm49
        file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:440
        function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1
        linenumber: 440
        message: Failed to export snapshot data
      file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:208
      function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy
      linenumber: 208
      message: Error converting snapshots
    file: kasten.io/k10/kio/exec/phases/phase/export.go:168
    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run
    linenumber: 168
    message: Failed to copy artifacts
  message: Job failed to be executed
- cause:
    cause:
      cause:
        cause:
          cause:
            cause:
              cause:
                message: "Pod did not transition into running state.
                  Timeout:15m0s  Namespace:kasten-io, Name:copy-vol-data-hrwh4:
                  client rate limiter Wait returned an error: context deadline
                  exceeded"
              fields:
                - name: pod
                  value: copy-vol-data-hrwh4
              file: kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:237
              function: kasten.io/k10/kio/kanister/function.copyVolumeDataPodExecFunc.func1
              linenumber: 237
              message: Failed while waiting for Pod to be ready
            file: kasten.io/k10/kio/kanister/function/kio_copy_volume_data.go:117
            function: kasten.io/k10/kio/kanister/function.CopyVolumeData
            linenumber: 117
            message: Failed to execute copy volume data pod function
          file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:1507
          function: kasten.io/k10/kio/exec/phases/phase.(*gvcConverter).Convert
          linenumber: 1507
          message: Error creating portable snapshot
        fields:
          - name: type
            value: CSI
          - name: id
            value: k10-csi-snap-bj4w5lbh2wn9fm49
        file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:440
        function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).convertSnapshots.func1
        linenumber: 440
        message: Failed to export snapshot data
      file: kasten.io/k10/kio/exec/phases/phase/copy_snapshots.go:208
      function: kasten.io/k10/kio/exec/phases/phase.(*ArtifactCopier).copy
      linenumber: 208
      message: Error converting snapshots
    file: kasten.io/k10/kio/exec/phases/phase/export.go:168
    function: kasten.io/k10/kio/exec/phases/phase.(*exportRestorePointPhase).Run
    linenumber: 168
    message: Failed to copy artifacts
  message: Job failed to be executed

##############

 

Could you please help.

 

Regards.


2 comments

Userlevel 7
Badge +7

@jaiganeshjk 

Userlevel 6
Badge +2

Thanks for opening a post here.

Would you be able to add additional details about the set up ?

What is the storageClass that you are using for the PVC ? Were you able to run the pre-flight checks against this storageclass ?

https://docs.kasten.io/latest/install/storage.html#pre-flight-checks

 

 

Comment