adding a 2nd website unit fails to call reverseproxy-relation-changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
haproxy (Juju Charms Collection) |
Confirmed
|
High
|
Unassigned |
Bug Description
I'm trying to troubleshoot an issue where I've got a working relation-changed hook from my website providing charm to haproxy. All is good with the 1st deploy of both services, but when I add a 2nd website unit and it calls relation-set to the haproxy, the haproxy charm's reverseproxy-
juju deploy haproxy
juju deploy mywebsite
juju add-relation mywebsite:website haproxy:
everything works fine, mywebsite's website-
relation-set -r {{ item.__relid__ }} hostname={{ unit_private_
that correctly triggers haproxy's reverseproxy-
Then:
juju add-unit mywebsite
mywebsite's website-
I'm working on hunting this down and will provide more details as I can narrow it down.
This must have been some bad juju state, because it was consistently happening but then after a system restart it's working as it should.