DMTF / Redfishtool

A Python34 program that implements a command line tool for accessing the Redfish API.
Other
224 stars 68 forks source link

redfish tool not supporting a task #77

Closed rdilip42 closed 4 years ago

rdilip42 commented 4 years ago

need to support tasks for "adduser" responses, when user is created using adduser we are not seeing any response due to that out scripts are failing.

udock redfishtool -r -u -p --Secure=Always AccountService adduser 'testuser' 'test_123' but when we check backend user is getting created without any response.

billdodd commented 4 years ago

@rdilip42 I created PR #80 to address this issue. I don't have access to a service that creates async tasks, so I had to test this with an emulator. Could you please test this PR with your service to confirm if it fixes the issue for you?

(On Apr 20, 2020, I updated the PR to make "blocking" the default behavior for async tasks, so there is no need to add any additional command-line options to get the blocking behavior.)