Reviewed: https://review.openstack.org/263333 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d3a6797254da3213107a8340ddb79cb10b3bc1d3 Submitter: Jenkins Branch: master
commit d3a6797254da3213107a8340ddb79cb10b3bc1d3 Author: Matt Riedemann <email address hidden> Date: Mon Jan 4 08:30:59 2016 -0800
libvirt: fix TypeError in find_disk_dev_for_disk_bus
The NovaException class only takes the message and kwargs, so we can't pass substitution variables into the __init__, else we get a TypeError.
This was apparently untested so a unit test is added for covering the error case.
Change-Id: If5090f30be8985c4a8e99139dc5be8bf93ce1d12 Partial-Bug: #1530847
Reviewed: https:/ /review. openstack. org/263333 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d3a6797254d a3213107a8340dd b79cb10b3bc1d3
Committed: https:/
Submitter: Jenkins
Branch: master
commit d3a6797254da321 3107a8340ddb79c b10b3bc1d3
Author: Matt Riedemann <email address hidden>
Date: Mon Jan 4 08:30:59 2016 -0800
libvirt: fix TypeError in find_disk_ dev_for_ disk_bus
The NovaException class only takes the message and kwargs,
so we can't pass substitution variables into the __init__, else
we get a TypeError.
This was apparently untested so a unit test is added for
covering the error case.
Change-Id: If5090f30be8985 c4a8e99139dc5be 8bf93ce1d12
Partial-Bug: #1530847