diff options
| author | Chuck Short <chuck.short@canonical.com> | 2012-08-24 10:48:09 -0500 |
|---|---|---|
| committer | Chuck Short <chuck.short@canonical.com> | 2012-08-24 10:54:17 -0500 |
| commit | 9135f836151df4bc32e3c3fea208e3cee6f7d6dc (patch) | |
| tree | d2603f6832a1e7b83dc005b26436d1a8ebd74f6b /nova/openstack | |
| parent | af687ffb04021e2aa6daf9a876d18c32d6ad3d3f (diff) | |
| download | nova-9135f836151df4bc32e3c3fea208e3cee6f7d6dc.tar.gz nova-9135f836151df4bc32e3c3fea208e3cee6f7d6dc.tar.xz nova-9135f836151df4bc32e3c3fea208e3cee6f7d6dc.zip | |
Trap iscsiadm error
If the iscsitarget was previously deleted and the user tries
to delete the iscsi target again, then you get a nasty traceback
in the logfiles.
According to the iscsiadm man page, iscsiadm returns an error 21,
ISCSI_ERR_NO_OBJS_FOUND if there is no records/targets/sessions/portals
found to execute the operation on.
LP: #1011166
Change-Id: I3087c1a114fe91bd7361d92688d4f926bc3f8951
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
