Return error immediately if set_console_mode is not supported
Currently, if set_console_mode is not supported by the driver, the
error is recorded on the node.last_error field, but the user is not
otherwise notified. This field should only be used for asynchronous
feedback; the determination as to whether set_console_mode is supported is
synchronous. Therefor, it should return an error to the user immediately
and not alter node.last_error.
Reviewed: https:/ /review. openstack. org/90376 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=6e28689b2e8 e44b977057d8a98 a5f68ad7e5f96e
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6e28689b2e8e44b 977057d8a98a5f6 8ad7e5f96e
Author: Lucas Alvares Gomes <email address hidden>
Date: Fri Apr 25 14:54:51 2014 +0100
Return error immediately if set_console_mode is not supported
Currently, if set_console_mode is not supported by the driver, the
error is recorded on the node.last_error field, but the user is not
otherwise notified. This field should only be used for asynchronous
feedback; the determination as to whether set_console_mode is supported is
synchronous. Therefor, it should return an error to the user immediately
and not alter node.last_error.
Closes-bug: #1312757 9258ec08a02b249 0613cf94466
Change-Id: I01504717516180