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

[1.10] Fix issue 6182 #6188

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Conversation

Lyndon-Li
Copy link
Contributor

Fix issue #6182. If pod is not running, don't treat it as an error, let it go and leave a warning.

Signed-off-by: Lyndon-Li <lyonghui@vmware.com>
@codecov-commenter
Copy link

codecov-commenter commented Apr 25, 2023

Codecov Report

Merging #6188 (03ed343) into release-1.10 (85187d0) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release-1.10    #6188      +/-   ##
================================================
- Coverage         40.68%   40.67%   -0.01%     
================================================
  Files               244      244              
  Lines             21054    21057       +3     
================================================
  Hits               8565     8565              
- Misses            11857    11860       +3     
  Partials            632      632              
Impacted Files Coverage Δ
pkg/podvolume/backupper.go 4.59% <0.00%> (-0.08%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@qiuming-best qiuming-best merged commit cc08058 into vmware-tanzu:release-1.10 Apr 26, 2023
22 checks passed
kaovilai added a commit to kaovilai/openshift-velero-plugin that referenced this pull request 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 pull request 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 pull request 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 pull request 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 pull request 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>
openshift-merge-robot pushed a commit to openshift/openshift-velero-plugin that referenced this pull request 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 pull request 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 pull request 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 this pull request may close these issues.

None yet

4 participants