bridgescript needs a bigger timeout than 3s on some bonded setups

Bug #1657579 reported by Andrew McDermott
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Andrew McDermott

Bug Description

The bridge script has this comment:

 # On configurations that have bonds in 802.3ad mode there is a
 # race condition betweeen an immediate ifdown then ifup.
 #
 # On the h/w I have a 'sleep 0.1' is sufficient but to accommodate
 # other setups we arbitrarily choose something larger. We don't
 # want to massively slow bootstrap down but, equally, 0.1 may be
 # too small for other configurations.

 for s in stanzas:
     if s.is_logical_interface and s.iface.is_bonded:
         print("working around https://bugs.launchpad.net/ubuntu/+source/ifenslave/+bug/1269921")
         print("working around https://bugs.launchpad.net/juju-core/+bug/1594855")
         print_shell_cmd("sleep 3")
         break

One some systems this is now not enough; it has been reported by <email address hidden> that they need at least 10s on their systems.

We can obviously raise the current limit by 1 order of magnitude, or better yet make it a parameter that can be passed in via bootstrap/deploy.

Changed in juju:
status: New → Triaged
importance: Undecided → Critical
milestone: none → 2.1-rc1
Changed in juju:
assignee: nobody → Andrew McDermott (frobware)
Revision history for this message
Andrew McDermott (frobware) wrote :
John A Meinel (jameinel)
Changed in juju:
status: Triaged → In Progress
John A Meinel (jameinel)
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
John A Meinel (jameinel) wrote :

This has landed in 2.1 as net-bond-reconfigure-delay
Defaulting to 17s

Changed in juju:
milestone: 2.1-rc1 → 2.1-beta5
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.