Work around iscsiadm delete failures
Work around iscsiadm delete failures

Attempting to delete an iSCSI target immediately after the initiator has
logged out of the session can sometimes cause iscsiadm's database update
to fail.  This allows the delete command to be retried up to 5 times on
failure.  We also accept exit code 21 (no records found) as success.

Closes-bug: #1324670
Change-Id: I064fcd01e3bd713b0ec19cc1fdb562ca7fd8b666

pshchelo/ironic,rackerlabs/ironic,dims/ironic,openstack/ironic,ionutbalutoiu/ironic,debayanray/ironic_backup,faizan-barmawer/openstack_ironic,bacaldwell/ironic,ramineni/myironic,froyobin/ironic,SauloAislan/ironic,rdo-management/ironic,Tan0/ironic,supermari0/ironic,naototty/vagrant-lxc-ironic,NaohiroTamura/ironic,naototty/vagrant-lxc-ironic,pshchelo/ironic,dims/ironic,openstack/ironic,ionutbalutoiu/ironic,redhat-openstack/ironic,SauloAislan/ironic,NaohiroTamura/ironic,naterh/ironic,hpproliant/ironic,Tehsmash/ironic,bacaldwell/ironic,devananda/ironic