rohityadavcloud commented on PR #10630: URL: https://github.com/apache/cloudstack/pull/10630#issuecomment-2811760576
Thanks @kiranchavala I double checked, I think the problem is in your setup. The error message wasn't clear so I've pushed a commit, it was actually sending a POST request but the emulator isn't supporting them. The default emulator mode is static and states here https://github.com/DMTF/Redfish-Interface-Emulator?tab=readme-ov-file#static-emulation-of-a-mockup that `In a static mock, only HTTP GETs will work`. Now, the error will say this when it happens: <img width="410" alt="Screenshot 2025-04-17 at 10 39 00 AM" src="https://github.com/user-attachments/assets/8150e4a5-d499-4c2b-acfc-66fedc431745" /> Using the emulator, the dynamic one seems to be supporting POST requests: ``` $ cp emulator-config_dynamic_populate.json emulator-config.json $ python3 emulator.py -port 80 ... INFO:werkzeug:127.0.0.1 - - [17/Apr/2025 10:40:38] "POST /redfish/v1/Systems/System-1/Actions/ComputerSystem.Reset HTTP/1.1" 200 - INFO:root:ComputerSystemCollectionAPI init called INFO:root:ComputerSystemCollectionAPI GET called ... ``` Maybe could you also try/test against the sushy tools? @blueorangutan package -- 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: commits-unsubscr...@cloudstack.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org