Re: [libvirt] [PATCH] util: set error if DAD is not finished

2015-10-29 Thread lhuang
On 10/30/2015 02:15 AM, Laine Stump wrote: On 10/29/2015 08:32 AM, Maxim Perevedentsev wrote: On 10/29/2015 12:47 PM, Luyao Huang wrote: If DAD not finished in 5 seconds, user will get an unknown error like this: # virsh net-start ipv6 error: Failed to start network ipv6 error: An erro

Re: [libvirt] [PATCH] util: set error if DAD is not finished

2015-10-29 Thread lhuang
On 10/29/2015 08:32 PM, Maxim Perevedentsev wrote: On 10/29/2015 12:47 PM, Luyao Huang wrote: If DAD not finished in 5 seconds, user will get an unknown error like this: # virsh net-start ipv6 error: Failed to start network ipv6 error: An error occurred, but the cause is unknown Call v

Re: [libvirt] [PATCH] util: set error if DAD is not finished

2015-10-29 Thread Eric Blake
On 10/29/2015 12:15 PM, Laine Stump wrote: > > On my system, these are set to 1, 1, and 1000, and I've found that DAD > takes something between 5.7 and 6.8 seconds to complete (it was at the > lower end with a single IP address, and at the high end with 70 IP > addresses (or also with 20 IPs, so I

Re: [libvirt] [PATCH] util: set error if DAD is not finished

2015-10-29 Thread Laine Stump
On 10/29/2015 08:32 AM, Maxim Perevedentsev wrote: On 10/29/2015 12:47 PM, Luyao Huang wrote: If DAD not finished in 5 seconds, user will get an unknown error like this: # virsh net-start ipv6 error: Failed to start network ipv6 error: An error occurred, but the cause is unknown Call vir

Re: [libvirt] [PATCH] util: set error if DAD is not finished

2015-10-29 Thread Maxim Perevedentsev
On 10/29/2015 12:47 PM, Luyao Huang wrote: If DAD not finished in 5 seconds, user will get an unknown error like this: # virsh net-start ipv6 error: Failed to start network ipv6 error: An error occurred, but the cause is unknown Call virReportError to set an error. Signed-off-by: Luyao H

[libvirt] [PATCH] util: set error if DAD is not finished

2015-10-29 Thread Luyao Huang
If DAD not finished in 5 seconds, user will get an unknown error like this: # virsh net-start ipv6 error: Failed to start network ipv6 error: An error occurred, but the cause is unknown Call virReportError to set an error. Signed-off-by: Luyao Huang --- I found the DAD will take 7 seconds on