Interruption of network connectivity should be handled gracefully
Bug #846106 reported by
Adam Gandelman
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Fix Released
|
High
|
Kapil Thangavelu |
Bug Description
While deploying to hardware, we've hit a couple of instances where network connectivity has been briefly interrupted while hooks were executing. The result is disconnect errors on the service unit and 'null' state from the client. In one instance, the formula's install hook is configuring a new network bridge and requires a networking restart to activate the new interface. In the other, powernap was meddling with the network stack after boot and caused brief interruptions of connectivity to zookeeper. In any case, juju should do everything it can to handle and recover from network interruption.
Attached is a the tail end of an install hook.
Related branches
lp:~hazmat/txzookeeper/managed-watch-and-ephemeral
- Juju Engineering: Pending requested
-
Diff: 1024 lines (+716/-53)9 files modified.bzrignore (+4/-0)
setup.py (+2/-2)
txzookeeper/client.py (+63/-40)
txzookeeper/managed.py (+350/-0)
txzookeeper/retry.py (+10/-9)
txzookeeper/tests/__init__.py (+22/-0)
txzookeeper/tests/test_client.py (+1/-1)
txzookeeper/tests/test_managed.py (+263/-0)
txzookeeper/tests/test_retry.py (+1/-1)
Changed in juju: | |
milestone: | none → florence |
description: | updated |
Changed in juju: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
Changed in juju: | |
status: | Confirmed → In Progress |
Changed in juju: | |
status: | In Progress → Triaged |
status: | Triaged → Fix Released |
To post a comment you must log in.
This is definitely a problem and has been seen multiple times. Its probably going to have to be split into several smaller bugs detailing each thing that has to be fixed.