Comment 2 for bug 922232

Revision history for this message
Adam Gandelman (gandelman-a) wrote :

Vish-

I think this is the problem, from the libvirt volume driver:

        iscsi_properties = connection_info['data']
        try:
            # NOTE(vish): if we are on the same host as nova volume, the
            # discovery makes the target so we don't need to
            # run --op new
            self._run_iscsiadm(iscsi_properties, ())
        except exception.ProcessExecutionError:
            self._run_iscsiadm(iscsi_properties, ('--op', 'new'))

Unfortuantely, iscsiadm returns 0 if no records are found and an exception is never raised. Deploying a multi-node setup right now test fix..