-
Bug
-
Resolution: Not a Bug
-
Minor
-
OADP 1.2.0
-
False
-
-
False
-
ToDo
-
-
-
0
-
0
-
Very Likely
-
0
-
None
-
Unset
-
Unknown
-
No
Description of problem:
When backup in phase: FinalizingPartiallyFailed
velero will not generate logs:
$ velero backup logs backup2 -nopenshift-adp
Logs for backup "backup2" are not available until it's finished processing. Please wait until the backup has a phase of Completed or Failed and try again.
**I did not have reproducer yet - working on it
.but maybe it can be fixed anyway, ic case it is indeed a bug.
Version-Release number of selected component (if applicable): 1.2.0-63
How reproducible:
Not clear how to get the finalizing phase to failed.will be provided later.
Steps to Reproduce:
1.
2.
3.
Actual results:
Logs for backup "backup2" are not available until it's finished processing. Please wait until the backup has a phase of Completed or Failed and try again.
Expected results:
logs should be produces for backup in the above phase.
the backup resource:
apiVersion: velero.io/v1
kind: Backup
metadata:
annotations:
velero.io/source-cluster-k8s-gitversion: v1.25.8+37a9a08
velero.io/source-cluster-k8s-major-version: '1'
velero.io/source-cluster-k8s-minor-version: '25'
resourceVersion: '106265'
name: backup2
uid: 8bc6554f-0b9f-4ecc-9c37-f867beb2bd6c
creationTimestamp: '2023-05-05T08:21:31Z'
generation: 12
managedFields:
- apiVersion: velero.io/v1
fieldsType: FieldsV1
fieldsV1:
'f:spec':
.: {}
'f:includedNamespaces': {}
manager: Mozilla
operation: Update
time: '2023-05-05T08:21:31Z'
- apiVersion: velero.io/v1
fieldsType: FieldsV1
fieldsV1:
'f:metadata':
'f:annotations':
.: {}
'f:velero.io/source-cluster-k8s-gitversion': {}
'f:velero.io/source-cluster-k8s-major-version': {}
'f:velero.io/source-cluster-k8s-minor-version': {}
'f:labels':
.: {}
'f:velero.io/storage-location': {}
'f:spec':
'f:csiSnapshotTimeout': {}
'f:defaultVolumesToFsBackup': {}
'f:itemOperationTimeout': {}
'f:storageLocation': {}
'f:ttl': {}
'f:status':
'f:expiration': {}
'f:version': {}
'f:phase': {}
'f:startTimestamp': {}
'f:formatVersion': {}
.: {}
'f:backupItemOperationsFailed': {}
'f:backupItemOperationsAttempted': {}
'f:csiVolumeSnapshotsCompleted': {}
'f:csiVolumeSnapshotsAttempted': {}
'f:errors': {}
manager: velero-server
operation: Update
time: '2023-05-05T09:25:48Z'
namespace: openshift-adp
labels:
velero.io/storage-location: dpa-1
spec:
csiSnapshotTimeout: 10m0s
defaultVolumesToFsBackup: false
includedNamespaces:
- big
itemOperationTimeout: 1h0m0s
storageLocation: dpa-1
ttl: 720h0m0s
status:
formatVersion: 1.1.0
backupItemOperationsAttempted: 24
errors: 25
expiration: '2023-06-04T08:21:31Z'
csiVolumeSnapshotsCompleted: 24
csiVolumeSnapshotsAttempted: 24
startTimestamp: '2023-05-05T08:21:31Z'
version: 1
phase: FinalizingPartiallyFailed
backupItemOperationsFailed: 24