[libvirt] [PATCH] Ignore additional fields in iscsiadm output

Ján Tomko jtomko at redhat.com
Fri Feb 21 10:26:54 UTC 2014


On 02/21/2014 11:08 AM, Daniel P. Berrange wrote:
> On Fri, Feb 21, 2014 at 11:01:17AM +0100, Ján Tomko wrote:
>> There has been a new field introduced in iscsiadm --mode session
>> output [1], but our regex only expects four fields. This breaks
>> startup of iscsi pools:
>> error: Failed to start pool iscsi
>> error: internal error: cannot find session
>>
>> Fix this by ignoring anything after the fourth field.
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=1067173
>>
>> [1] https://github.com/mikechristie/open-iscsi/commit/181af9a
>> ---
>>  src/storage/storage_backend_iscsi.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)

> 
> ACK
> 
> Daniel
> 

Thanks, pushed now.

Jan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140221/da728510/attachment-0001.sig>


More information about the libvir-list mailing list