Amphora agent reload fails with socket in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
Fix Released
|
High
|
German Eichberger |
Bug Description
When the amphora agent reloads due to a file change (certificate update in this case) the agent fails to start up with a socket in use error. When looking at "netstat -anp" we see that the agent socket, 9443, is now owned by dhclient.
This means that if a file update occurs the agent will fail and an amphora fail over will be triggered.
Log from the amphora:
2015-09-16 20:21:28.418 417 INFO werkzeug [-] 172.24.4.1 - - [16/Sep/2015 20:21:28] "PUT /0.5/certificate HTTP/1.1" 202 -
2015-09-16 20:21:28.485 417 INFO werkzeug [-] * Detected change in '/etc/octavia/
2015-09-16 20:21:28.568 180 INFO werkzeug [-] * Restarting with stat
2015-09-16 20:21:28.987 3704 INFO octavia.
2015-09-16 20:21:28.988 3704 CRITICAL octavia [-] error: [Errno 98] Address already in use
2015-09-16 20:21:28.988 3704 ERROR octavia Traceback (most recent call last):
2015-09-16 20:21:28.988 3704 ERROR octavia File "/usr/local/
2015-09-16 20:21:28.988 3704 ERROR octavia sys.exit(main())
2015-09-16 20:21:28.988 3704 ERROR octavia File "/usr/local/
2015-09-16 20:21:28.988 3704 ERROR octavia extra_files=
2015-09-16 20:21:28.988 3704 ERROR octavia File "/usr/local/
2015-09-16 20:21:28.988 3704 ERROR octavia test_socket.
2015-09-16 20:21:28.988 3704 ERROR octavia File "/usr/lib/
2015-09-16 20:21:28.988 3704 ERROR octavia return getattr(
2015-09-16 20:21:28.988 3704 ERROR octavia error: [Errno 98] Address already in use
2015-09-16 20:21:28.988 3704 ERROR octavia
tags: | added: target-mitaka |
Changed in octavia: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/227912
Review: https:/