Web Services Management (WS-Management and WS-Man) Invoke operations can fail when issued to an integrated Dell Remote Access Controller (iDRAC) whose Lifecycle Controller remote service is not "ready". A Dell technical white paper [0], "Lifecycle Controller Integration -- Best Practices Guide", states that for Lifecycle Controller firmware 1.5.0 and later "The Lifecycle Controller remote service must be in a 'ready' state before running any other WSMAN commands." That applies to almost all of the workflows and use cases documented by that paper and supported by this project, openstack/python-dracclient. A notable exception is the dracclient.client.WSManClient.is_idrac_ready() method, which is a chicken and egg situation. This patch adds a new parameter to the dracclient.client.WSManClient.invoke() method that indicates whether or not it should wait until the iDRAC is ready to accept commands before issuing the Invoke command. When it is true, that method waits until the iDRAC is ready before issuing the command. Since almost all Invoke operations require the iDRAC to be ready, the new parameter's default value is 'True'. [0] http://en.community.dell.com/techcenter/extras/m/white_papers/20442332 Change-Id: Ib5b9fb2a954579be40f47304c70157ab1f00d39c Partial-Bug: #1697558 Related-Bug: #1691808changes/44/479444/4
parent
c75969dd8d
commit
deed7d7c1c
Loading…
Reference in new issue