Bug 13518 - CTDB should wait longer for ipv6 address to clear tentative state
Summary: CTDB should wait longer for ipv6 address to clear tentative state
Status: NEEDINFO
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: CTDB (show other bugs)
Version: 4.8.2
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Amitay Isaacs
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-10 10:57 UTC by Karolin Seeger
Modified: 2018-09-04 06:39 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karolin Seeger 2018-07-10 10:57:58 UTC
The following has been reported:

CTDB is waiting 5 seconds for ipv6 address to clear tentative state on interface before moving to a banned state and releasing the IP. In our case it takes 6-7 seconds before tentative is clearing. Have modified the following in /etc/ctdb/functions:

    514     # Wait 5 seconds for IPv6 addresses to stop being tentative...
    515     # Wait 10 seconds for IPv6 addresses to stop being tentative...
BECAUSE 5 IS NOT ENOUGH
    516     if [ -z "$_bcast" ] ; then
    517     for _x in $(seq 1 20) ; do
    518     #for _x in $(seq 1 10) ; do
    519         ip addr show to "${_ip}/128" | grep -q "tentative" || break
    520         sleep 0.5
    521     done

This is with 4.8.2.
Comment 1 Martin Schwenke 2018-07-10 23:50:41 UTC
Hi Karolin,

I know this has to be Linux, but can you please let me know more details about the platform?  Is there anything peculiar about the setup?

I'm interested in trying to understand why it takes so long to come out of tentative state.

Thanks...
Comment 2 Amitay Isaacs 2018-09-04 02:16:52 UTC
Hi Karolin,

Can you provide more information as per Martin's note?
We would like to resolve this before 4.9 if possible.
Comment 3 Karolin Seeger 2018-09-04 06:39:24 UTC
(In reply to Amitay Isaacs from comment #2)
I am sorry, but I don't have any further information up to now.
Asked reporter, waiting for feedback.