Reviewed: https://review.openstack.org/383474 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=fdc5a04962bac95724124c247d527316ed8ccd17 Submitter: Jenkins Branch: stable/mitaka
commit fdc5a04962bac95724124c247d527316ed8ccd17 Author: jichenjc <email address hidden> Date: Wed Sep 7 04:41:06 2016 +0800
Catch DevicePathInUse in attach_volume
DevicePathInUse might be raised in attach action, we didn't catch it so a 500 error might be returned to end user.
NOTE: mitaka also includes the legacy_v2 API so this needs to be patched there to.
Change-Id: Ic9f0979b5adef28bb47756e7fc2ce5a3d6493298 Closes-Bug: 1621452 (cherry picked from commit 6051499a856659290c381e1a80328e48fe8a2199) (cherry picked from commit 1ef4b725f1df54bc45f6d50a02d9aa65d3bff338)
Reviewed: https:/ /review. openstack. org/383474 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=fdc5a04962b ac95724124c247d 527316ed8ccd17
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit fdc5a04962bac95 724124c247d5273 16ed8ccd17
Author: jichenjc <email address hidden>
Date: Wed Sep 7 04:41:06 2016 +0800
Catch DevicePathInUse in attach_volume
DevicePathInUse might be raised in attach action,
we didn't catch it so a 500 error might be returned
to end user.
NOTE: mitaka also includes the legacy_v2 API so this needs to
be patched there to.
Change-Id: Ic9f0979b5adef2 8bb47756e7fc2ce 5a3d6493298 90c381e1a80328e 48fe8a2199) c45f6d50a02d9aa 65d3bff338)
Closes-Bug: 1621452
(cherry picked from commit 6051499a8566592
(cherry picked from commit 1ef4b725f1df54b