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

2014-02-21 Thread Ján Tomko
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.

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

2014-02-21 Thread Daniel P. Berrange
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

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

2014-02-21 Thread Ján Tomko
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