memcached fails to enable ufw when there is no IPv6 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
memcached (Juju Charms Collection) |
Fix Released
|
Undecided
|
Felipe Reyes | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In an effort to improve quality, we are testing all charms in an automated process.
According to the latest test results by charm http://
The output can be found here:
http://
The 10_deploy_test.py failed with the following output:
* memcached is running
The memcached service is running.
An error occurred communicating with memcached over telnet ec2-54-
Traceback (most recent call last):
File "/var/lib/
tn = telnetlib.
File "/usr/lib/
self.open(host, port, timeout)
File "/usr/lib/
self.sock = socket.
File "/usr/lib/
raise err
File "/usr/lib/
sock.
TimeoutError: [Errno 110] Connection timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
amulet.
File "/usr/lib/
sys.exit(code)
SystemExit: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/
tn.close()
NameError: name 'tn' is not defined
Please investigate this failure and fix the test or the code so it passes automated testing.
Related branches
- Matt Bruzek: Approve
-
Diff: 76 lines (+58/-0)2 files modifiedcharmhelpers/contrib/network/ufw.py (+11/-0)
tests/contrib/network/test_ufw.py (+47/-0)
- Jorge Niedbalski (community): Approve
- Review Queue (community): Needs Fixing (automated testing)
- Adam Israel (community): Approve
-
Diff: 56 lines (+6/-1)2 files modifiedhooks/memcached_hooks.py (+4/-1)
unit_tests/test_memcached_hooks.py (+2/-0)
- Jorge Niedbalski (community): Approve
- Review Queue: Pending requested
- charmers: Pending requested
- Adam Israel: Pending requested
-
Diff: 223 lines (+137/-18)2 files modifiedcharmhelpers/contrib/network/ufw.py (+55/-12)
tests/contrib/network/test_ufw.py (+82/-6)
Changed in memcached (Charms Trusty): | |
status: | New → Triaged |
Changed in memcached (Juju Charms Collection): | |
status: | New → Triaged |
Changed in memcached (Juju Charms Collection): | |
assignee: | nobody → Felipe Reyes (freyes) |
tags: | added: cts |
Changed in memcached (Juju Charms Collection): | |
status: | Triaged → In Progress |
summary: |
- The memcached charm fails automated testing + memcached fails to enable ufw when there is no IPv6 support |
Changed in memcached (Juju Charms Collection): | |
status: | In Progress → Fix Released |
Changed in memcached (Charms Trusty): | |
status: | Triaged → Fix Released |
The problem is running 'ufw enable' when there is no IPv6 support, before trying to start ufw, IPv6 has to be disabled in /etc/default/ufw.