Page MenuHomePhabricator

spicerack.redfish needs to know about Jobs as well as Tasks
Open, MediumPublic

Description

While working on convert_disks cookbook, we tripped over the problem that ConvertToNonRAID returns a Job URL rather than a Task URL e.g. /redfish/v1/Managers/iDRAC.Embedded.1/Oem/Dell/Jobs/JID_078603198923 rather than /redfish/v1/TaskService/Tasks/JID_078603198923.

This means that e.g. poll_task fails (because the two structures are slightly different).

For the convert_disks cookbook we were able to work around this limitation, but that may not always be possible.