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

veeam B&R : ERROR while removing instance from backup offering #9896

Open
rajujith opened this issue Nov 6, 2024 · 2 comments
Open

veeam B&R : ERROR while removing instance from backup offering #9896

rajujith opened this issue Nov 6, 2024 · 2 comments

Comments

@rajujith
Copy link
Collaborator

rajujith commented Nov 6, 2024

ISSUE TYPE
  • Bug Report
COMPONENT NAME
Logging
CLOUDSTACK VERSION
4.20-SNAPSHOT
CONFIGURATION

Veeam B&R provider configured with Veeam Backup and replication 12.2

SUMMARY

On removing the backup offering on an instance, although it gets removed there is an error in the management server log. The async job result is "success".


2024-11-06 07:38:54,643 DEBUG [o.a.c.b.v.VeeamClient] (API-Job-Executor-22:[ctx-f25b54d6, job-723, ctx-fd699c6a]) (logid:c2072895) Response received in GET request is: [HttpResponseProxy{HTTP/1.1 400 BadRequest [Cache-Control: private, Content-Length: 264, Content-Type: application/xml, Server: Microsoft-HTTPAPI/2.0, X-Frame-Options: SAMEORIGIN, X-XSS-Protection: 1; mode=block, Strict-Transport-Security: max-age=31536000, X-Content-Type-Options: nosniff, Date: Wed, 06 Nov 2024 07:38:54 GMT] ResponseEntityProxy{[Content-Type: application/xml,Content-Length: 264,Chunked: false]}}] for URL: [https://10.0.35.79:9398/api//jobs/null/includes].
2024-11-06 07:38:54,643 DEBUG [o.a.c.b.v.VeeamClient] (API-Job-Executor-22:[ctx-f25b54d6, job-723, ctx-fd699c6a]) (logid:c2072895) HTTP request failed, status code is [400], response is: [HttpResponseProxy{HTTP/1.1 400 BadRequest [Cache-Control: private, Content-Length: 264, Content-Type: application/xml, Server: Microsoft-HTTPAPI/2.0, X-Frame-Options: SAMEORIGIN, X-XSS-Protection: 1; mode=block, Strict-Transport-Security: max-age=31536000, X-Content-Type-Options: nosniff, Date: Wed, 06 Nov 2024 07:38:54 GMT] ResponseEntityProxy{[Content-Type: application/xml,Content-Length: 264,Chunked: false]}}].
2024-11-06 07:38:54,643 DEBUG [o.a.c.b.VeeamBackupProvider] (API-Job-Executor-22:[ctx-f25b54d6, job-723, ctx-fd699c6a]) (logid:c2072895) VM was removed from the job so could not remove again, trying to delete the veeam job now. org.apache.cloudstack.api.ServerApiException: Got invalid API status code returned by the Veeam server
        at org.apache.cloudstack.backup.veeam.VeeamClient.checkResponseOK(VeeamClient.java:215)
        at org.apache.cloudstack.backup.veeam.VeeamClient.removeVMFromVeeamJob(VeeamClient.java:573)
        at org.apache.cloudstack.backup.VeeamBackupProvider.removeVMFromBackupOffering(VeeamBackupProvider.java:201)
STEPS TO REPRODUCE
1. Remove the backup offering from instance.
2. Watch the logs.
EXPECTED RESULTS
There shouldn't be any error in the management server log while removing an instance from the backup offering. 
ACTUAL RESULTS
There is an unexpected error in the management server log while removing an instance from the backup offering. 
@weizhouapache
Copy link
Member

@rajujith
just to confirm, irrespect to the error log, the operation still succeeded, right ?

@weizhouapache weizhouapache added this to the 4.19.2.0 milestone Nov 6, 2024
@rajujith
Copy link
Collaborator Author

rajujith commented Nov 6, 2024

@rajujith just to confirm, irrespect to the error log, the operation still succeeded, right ?

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants