lp://staging/~sidnei/charms/precise/haproxy/restore-services-from-relation

Created by Sidnei da Silva and last modified
Get this branch:
bzr branch lp://staging/~sidnei/charms/precise/haproxy/restore-services-from-relation
Only Sidnei da Silva can upload to this branch. If you are Sidnei da Silva please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Sidnei da Silva
Status:
Development

Recent revisions

72. By Sidnei da Silva

- Fix tests

71. By Sidnei da Silva

- Fix problem with string in server options instead of list.

70. By Sidnei da Silva

- Fix some bugs reported by andreas

69. By Sidnei da Silva

- Handle services from relation as advertised

68. By Marco Ceppi

[sidnei] The 'all_services' config now supports a static list of servers to be used *in addition* to the ones provided via relation.
[sidnei] When more than one haproxy units exist, the configured service is upgraded in-place to a mode where traffic is routed to a single haproxy unit (the first one in unit-name order) and the remaining ones are configured as 'backup'. This is done to allow the enforcement of a 'maxconn' session in the configured services, which would not be possible to enforce otherwise.
[sidnei] Changes to the configured services are properly propagated to the upstream relation.

66. By Jorge Castro

Add categories.

65. By Juan L. Negron

When the reverseproxy relation changes, the website proxy will likely need to be updated, so trigger a config-changed to notify the other side of the relation that it will need to update.

I'm not sure if this the appropriate way to handle this situation, but in practice it seems to work. Please let me know if there is a more accurate or correct way to do it. LP:148605

64. By Juan L. Negron

Merging LP:148065 Relation driven proxying or multi-service proxying

63. By Juan L. Negron

Merging mthaddon's branch. Include nrpe-external-master relation, and ability to inject pre-install hooks if necessary. MP:139978

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/charms/haproxy
This branch contains Public information 
Everyone can see this information.

Subscribers