- 03 Aug, 2015 1 commit
-
-
Vincent Pelletier authored
-
- 31 Jul, 2015 1 commit
-
-
Julien Muchembled authored
-
- 17 Jul, 2015 2 commits
-
-
Julien Muchembled authored
-
Saurabh authored
For performance reasons, the root partition requests subpartitions during initialization of sections, whereas such processing should normally be done during the update/install phase. The consequence is that partitions may be requested whereas they depend on sections that fail (usually just temporarily, because of missing returned parameters in the first runs). For example, the request of zope partitions depends on the generation of passwords: 1. password generated (__init__) 2. zope partitions requested (__init__) 3. password saved (install) As long as a failure happens between 2 and 3, zope parameters are always updated with a different password. In the case of NEO, the instanciation of zope partitions currently succeeds even if the list of master nodes is missing (note that there is a minor bug to fix here: whenever a NEO storage is not the main one, zope processes may start too early, and the user may have to restart zopes manually). The 'inituser_done' file is created but zope processes fail to start if NEO is used as main storage, and all this happens before the password was saved in the root partition ([neo-0-final] failing to install because 'admins' parameter returned yet). This was never an issue with ZEO because zopes start successfully at the same time the 'inituser_done' file is created. One way to solve this could have been to introduce a dummy dependency between [neo-0-final] and any other section generating a password. Quite ugly and we also found non-optimal to use a non-backuped file in the root partition to save such information, whereas we need anyway to publish them for the user. Therefore, we introduce a new 'publish-early' recipe for accessing and publishing desired parameters before any request of partitions. Of course, these must not be dropped by the usual [publish] section, and to avoid having to repeating them all manually, we have also added a '-extends' option to the 'publish' recipe. We use the same technique to autogenerate and configure cluster name for NEO, which helps us in minimizing the number of params one has to pass for requesting NEO. In the 'generate.password' recipe, the 'storage-path' can now be empty, when there's no need to save the generated password in a file.
-
- 13 Jul, 2015 2 commits
-
-
Saurabh authored
-
Romain Courteaud authored
-
- 10 Jul, 2015 3 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 09 Jul, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 08 Jul, 2015 2 commits
-
-
Julien Muchembled authored
-
Saurabh authored
Before it was only possible to make an ERP5 cluster connect to a NEO cluster that was instanciated separately, by passing "name" and "master_nodes" connection parameters in "storage-dict". For an internal NEO DB, "name" and "master_nodes" is filled automatically and you must instead pass a "server" dict, with same parameters as in NEO SR. Currently, a NEO cluster name must be given. Later, we hope to generate a good name automatically. All this was implemented by refactoring NEO & ERP5 SR, with common files. For the ERP5 SR, the root partition also serves as "root" partition for NEO partitions: in other words, there's no second empty partition.
-
- 07 Jul, 2015 3 commits
-
-
Julien Muchembled authored
Dropped commit 971d0bb7 ("erp5: Make possible extent the list of initial business templates to install"). Conflicts: stack/erp5/buildout.cfg stack/erp5/instance-erp5-cluster.cfg.in stack/erp5/instance-erp5-single.cfg.in stack/erp5/instance.cfg.in
-
Julien Muchembled authored
-
Julien Muchembled authored
-
- 05 Jul, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 03 Jul, 2015 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 02 Jul, 2015 3 commits
-
-
Julien Muchembled authored
-
Cédric Le Ninivin authored
erp5-cluster: haproxy, move generic configuration into default section
-
Kazuhiko Shiozaki authored
-
- 01 Jul, 2015 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 30 Jun, 2015 1 commit
-
-
Rafael Monnerat authored
Those signatures are old and unused anymore.
-
- 26 Jun, 2015 4 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
- 25 Jun, 2015 2 commits
-
-
Julien Muchembled authored
-
Cédric Le Ninivin authored
-
- 24 Jun, 2015 2 commits
-
-
Cédric Le Ninivin authored
apache-frontend: Slave with cache now have dedicated virtualhost, add checkProxyCertificate, Strip Via header option
-
Cédric Le Ninivin authored
-
- 22 Jun, 2015 7 commits
-
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Kazuhiko Shiozaki authored
-
Rafael Monnerat authored
-
Alain Takoudjou authored
-
Alain Takoudjou authored
-