An error occurred fetching the project authors.
- 16 Feb, 2017 1 commit
-
-
Vincent Pelletier authored
When a process is stopped: - it may not have emitted logs since previous rotation: add "missingok" As a direct consequence: stop using logrotate recipe. - its pid file (if applicable) may be missing: test its non-empty presence before calling slapos-kill Also, stop using slapos.cookbook:logrotate. Update obvious users (cloudooo, neoppod, erp5, monitor, re6stnet).
-
- 08 Feb, 2017 1 commit
-
-
Vincent Pelletier authored
-
- 20 Jan, 2017 1 commit
-
-
Vincent Pelletier authored
Each loop in jinja2 has its own scope. This code was likely relying on a bug, which was probably recently fixed upstream. Using generators is cleaner as it better expresses the intent.
-
- 09 Dec, 2015 1 commit
-
-
Julien Muchembled authored
If the list of families does not change, their ports must not change, and it's wrong to get this by relying on CPython implementation details. Even if we automated the update of frontends with new urls, this couldn't be done atomically and we'd get random failures. Currently, frontends are only updated manually so we also want to minimize changes when families are added/renamed/removed. By sorting alphabetically, we have something predictable. Of course, this does not cover cases like the following one: - before: A, B, C - after: A, C Even if we added a 'port-base' parameter for the balancer, the port would change for one of the 2 families. We have no need for the moment, but we could go further with an optional list parameter to choose the order, and a special value to skip ports. Another option is to use publish-early but it's more complicated to implement and we lose everything when we reinstanciate. The sort in haproxy.cfg.in is for the stats page.
-
- 06 Oct, 2015 1 commit
-
-
Tristan Cavelier authored
-
- 18 Nov, 2014 2 commits
-
-
Julien Muchembled authored
New 'slapos-kill' from slapos.toolbox is used instead of 'killpidfromfile' This is required for NEO which does not write any pid file.
-
Julien Muchembled authored
The inline recipe for ERP5 has been improved and converted into recipe, which is reused for NEO. Templates are instanciated only if they're used, so no need anymore to wrap them with: {% if slap_software_type == software_type -%} ... {% endif %}
-
- 05 Apr, 2014 2 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Move haproxy httpchk configuration per-listen as zope's webdav returns 401 on (at least) GET / . TCP-level checks are still active, which should be sufficient. Also, change zope_family_address_list check to getitem as it's more natural than concatenating. Also, stop using apache.zope.backend recipe to add support for per-port scheme so automatic ERP5Site creation knows which URL is really HTTP. Also, stop using certificate_authority recipe and call openssl directly when generating self-signed cert for https/webdavs support. Also, rework balancer parameters a bit (still undocumented). Also, make instance-balancer always publish ipv6 value (empty when no ipv6 available), so instance-erp5 always succeeds.
-
- 20 Mar, 2014 1 commit
-
-
Vincent Pelletier authored
Not perfect yet, as some strings end in configuration files for example and need escape mechanisms aware of individual configuration file syntaxes.
-
- 21 Jan, 2014 1 commit
-
-
Vincent Pelletier authored
-
- 04 Sep, 2013 4 commits
-
-
Vincent Pelletier authored
-
Vincent Pelletier authored
-
Vincent Pelletier authored
Fixes backend maxconn value: it's now equal to zope's number of threads. Instead, generate configuration file from template and wrapper from stand-alone recipe. One local-only feature is lost: haproxy-ctl command is not present, but its usage should be rare enough to not be a problem now. Socket is present anyway, so any tool able to access a unix socket would do (ex: socat).
-
Vincent Pelletier authored
Also, fix frontend request.
-
- 19 Jul, 2013 1 commit
-
-
Julien Muchembled authored
-
- 16 Jul, 2013 1 commit
-
-
Vincent Pelletier authored
-
- 04 Feb, 2013 1 commit
-
-
Vincent Pelletier authored
This work has nothing to do in erp5-component branch, and is preventing it from being merged to erp5 banch more often. Conflicts because of non-reverted 6d1a9805 have been resolved to that its intent is preserved with non-cluster ERP5 SR. This reverts commit 77976a14. This reverts commit 7aa1d92c. This reverts commit 80062015. This reverts commit 36ed58f2. This reverts commit 1fe3f466. This reverts commit 7731726a. This reverts commit eb2016c4.
-
- 03 Oct, 2012 1 commit
-
-
Vincent Pelletier authored
-