AgentDeploy's validate code crashes on exception.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
High
|
Dmitry Tantsur |
Bug Description
I am using ironic from Github (downloaded 9/28/2014).
When trying to validate with the Agent Driver, a failure would lead to the following error. This, in return, means that the user can't see what causes the validation to fail.
2014-09-28 16:04:11.905 18421 DEBUG ironic.
2014-09-28 16:04:11.933 18421 ERROR oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
2014-09-28 16:04:11.933 18421 TRACE oslo.messaging.
The attached patch fixed the error for me.
Changed in ironic: | |
milestone: | none → juno-rc1 |
Changed in ironic: | |
status: | Fix Committed → Fix Released |
Changed in ironic: | |
milestone: | juno-rc1 → 2014.2 |
Good catch, that's bad