Fix spawn error hook in "continue_node_clean" RPC method
1) utils.cleaning_error_handler() as hook in current code does not
have an exception parameter that task context manager adds.
2) It's not needed to set fail state on "NoFreeConductorWorker"
exception, this is driver specific. IPA driver can obtain a free
worker on the next heartbeat(s).
This patch also adds missing tests for error handlers functions.
Reviewed: https:/ /review. openstack. org/273594 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=8c8704e23a4 ab3d0bae8a21fd5 bef8a97c9c5f13
Committed: https:/
Submitter: Jenkins
Branch: master
commit 8c8704e23a4ab3d 0bae8a21fd5bef8 a97c9c5f13
Author: Yuriy Zveryanskyy <email address hidden>
Date: Thu Jan 28 16:39:21 2016 +0200
Fix spawn error hook in "continue_ node_clean" RPC method
1) utils.cleaning_ error_handler( ) as hook in current code does not rWorker"
have an exception parameter that task context manager adds.
2) It's not needed to set fail state on "NoFreeConducto
exception, this is driver specific. IPA driver can obtain a free
worker on the next heartbeat(s).
This patch also adds missing tests for error handlers functions.
Closes-Bug: #1539118 e6b68fe9c635b38 f84637e93df
Change-Id: I9081d5b3437e9b