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

Maxim Perevedentsev mperevedentsev at virtuozzo.com
Thu Oct 29 12:32:12 UTC 2015


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 Huang <lhuang at redhat.com>
> ---
> I found the DAD will take 7 seconds
> on my machine, and i cannot create a network which
> use ipv6 now :( . Can we offer a way allow user to change this
> timeout ? maybe add a configuration file option in
> libvirtd.conf.

Could you please send the related records of your sysctl -a?
Max DAD timeout should be
rand() % net.ipv6.conf.default.router_solicitation_delay + 
net.ipv6.conf.default.dad_transmits * 
net.ipv6.neigh.default.retrans_time_ms
I wonder whether my calculations were faulty or it is your specific 
configuration.

-- 
Your sincerely,
Maxim Perevedentsev




More information about the libvir-list mailing list