service haproxy reload sometimes fails to pick up new TLS certificates
Bug #1828496 reported by
Barry Price
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haproxy (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned | ||
Bionic |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I suspect this is the same thing reported on StackOverflow:
"I had this same issue where even after reloading the config, haproxy would randomly serve old certs. After looking around for many days the issue was that "reload" operation created a new process without killing the old one. Confirm this by "ps aux | grep haproxy"."
https:/
In our setup, we automate Let's Encrypt certificate renewals, and a fresh certificate will trigger a reload of the service. But occasionally this reload doesn't seem to do anything.
Will update with details next time it happens, and hopefully confirm the multiple process theory.
Related branches
~hloeung/content-cache-charm:master
- Barry Price: Approve
- Canonical IS Reviewers: Pending requested
-
Diff: 90 lines (+24/-0)6 files modifiedtemplates/haproxy_cfg.tmpl (+4/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output.txt (+4/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output2.txt (+4/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output3.txt (+4/-0)
tests/unit/files/content_cache_rendered_haproxy_test_output_auto_maxconns.txt (+4/-0)
tests/unit/files/haproxy_config_rendered_test_output.txt (+4/-0)
~hloeung/content-cache-charm:nagios-monitoring
- Joel Sing (community): Approve (+1)
- Canonical IS Reviewers: Pending requested
-
Diff: 16 lines (+6/-0)1 file modifiedreactive/content_cache.py (+6/-0)
Changed in haproxy (Ubuntu): | |
status: | Incomplete → New |
Changed in haproxy (Ubuntu): | |
status: | Expired → New |
To post a comment you must log in.
Thank you for taking the time to report this bug and helping to make Ubuntu better.
When you update with details, please make sure to provide full reproduction steps and include details of the Ubuntu release and package versions you used. When done, please change the bug status back to New, and we can look at it again.