rajujith opened a new issue, #9896:
URL: https://github.com/apache/cloudstack/issues/9896

   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Logging
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.20-SNAPSHOT
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   
   Veeam B&R provider configured with Veeam Backup and replication 12.2 
   
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   On removing the backup offering on an instance, although it gets removed 
there is an error in the management server log. Async job result in 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
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal 
test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   1. Remove the backup offering from instance.
   2. Watch the logs.
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   There shouldn't be any error in the management server log while removing an 
instance from the backup offering. 
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   There is an unexpected error in the management server log while removing an 
instance from the backup offering. 
   ~~~
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to