Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.10 and later - Pod volume backup keeps partial failing for namespaces with pods in completed state #6182

Closed
Lyndon-Li opened this issue Apr 25, 2023 · 3 comments

Comments

@Lyndon-Li
Copy link
Contributor

Lyndon-Li commented Apr 25, 2023

From v1.10, pod volume backup will fail earlier if node-agent pod is not running in the same node where the backing up pod is running, instead of waiting until timeout (by default, 4 hours). Therefore, it does more checks about the status of backing up pod and node-agent pod. However, the checks involves an unnecessary behavior change -- if the backing up pod is not running, that pod volume backup will be marked as fail and the entire backup goes to partially failure.

This will cause the pod volume backup to namespaces with pods in completed status to keep failing.

@Lyndon-Li
Copy link
Contributor Author

Close as completed

kaovilai added a commit to kaovilai/openshift-velero-plugin that referenced this issue Jul 12, 2023
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
kaovilai added a commit to kaovilai/openshift-velero-plugin that referenced this issue Jul 12, 2023
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
kaovilai added a commit to kaovilai/openshift-velero-plugin that referenced this issue Jul 12, 2023
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
kaovilai added a commit to kaovilai/openshift-velero-plugin that referenced this issue Jul 12, 2023
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

remove pod backup plugin from main.go
kaovilai added a commit to kaovilai/openshift-velero-plugin that referenced this issue Jul 12, 2023
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

Remove non-working code for backing up completed build pods

No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

remove pod backup plugin from main.go

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
@karan1ngit
Copy link

when will 1.11.1 be released?

@sseago
Copy link
Collaborator

sseago commented Jul 26, 2023

@karan1ngit 1.11.1 was just released this week.

openshift-merge-robot pushed a commit to openshift/openshift-velero-plugin that referenced this issue Aug 22, 2023
* add support for aws sts creds for registry

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* remove image-spec replace breaking build

* OADP-1057: STS creds support for internal image backup

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* Remove non-working code for backing up completed build pods

No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

remove pod backup plugin from main.go

* Resolve Dockerfile perm issues running go build by removing specified UID when copying

Resolves
```
 > [builder 6/6] RUN go build -installsuffix "static" -tags "containers_image_ostree_stub exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp exclude_graphdriver_overlay include_gcs include_oss" -o _output/velero-plugins ./velero-plugins:
#0 4.584 error obtaining VCS status: exit status 128
#0 4.584        Use -buildvcs=false to disable VCS stamping.
```

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* update go.mod to openshift/velero #276

* add sts cred secret handling

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* Pass secret path instead of web_identity_token_file

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* Update go.mod to openshift/oadp-1.2

---------

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
openshift-cherrypick-robot pushed a commit to openshift-cherrypick-robot/openshift-velero-plugin that referenced this issue Aug 22, 2023
No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

remove pod backup plugin from main.go
openshift-merge-robot pushed a commit to openshift/openshift-velero-plugin that referenced this issue Aug 22, 2023
…#202)

* add support for aws sts creds for registry

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* remove image-spec replace breaking build

* OADP-1057: STS creds support for internal image backup

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* Remove non-working code for backing up completed build pods

No longer needed after by vmware-tanzu/velero#6189 or vmware-tanzu/velero#6188 which fix vmware-tanzu/velero#6182

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

remove pod backup plugin from main.go

* Resolve Dockerfile perm issues running go build by removing specified UID when copying

Resolves
```
 > [builder 6/6] RUN go build -installsuffix "static" -tags "containers_image_ostree_stub exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp exclude_graphdriver_overlay include_gcs include_oss" -o _output/velero-plugins ./velero-plugins:
#0 4.584 error obtaining VCS status: exit status 128
#0 4.584        Use -buildvcs=false to disable VCS stamping.
```

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* update go.mod to openshift/velero #276

* add sts cred secret handling

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* Pass secret path instead of web_identity_token_file

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>

* Update go.mod to openshift/oadp-1.2

---------

Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
Co-authored-by: Tiger Kaovilai <tkaovila@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants