slapos.git
5 years agoAdd inkscape and all of its dependencies recipes
Mame Coumba Sall [Mon, 16 Sep 2013 10:45:01 +0000 (10:45 +0000)]
Add inkscape and all of its dependencies recipes

5 years agoerp5.balancer: Fix support for no-ipv6 setup.
Vincent Pelletier [Wed, 4 Sep 2013 14:06:31 +0000 (16:06 +0200)]
erp5.balancer: Fix support for no-ipv6 setup.

5 years agoerp5: Drop haproxy-maxconn root instance parameter.
Vincent Pelletier [Wed, 4 Sep 2013 13:09:27 +0000 (15:09 +0200)]
erp5: Drop haproxy-maxconn root instance parameter.

It is superseded by per-zope value, published by Zope partitions.

5 years agoerp5: Fix IPv6 apache configuration syntax.
Vincent Pelletier [Tue, 3 Sep 2013 10:06:59 +0000 (12:06 +0200)]
erp5: Fix IPv6 apache configuration syntax.

5 years agoerp5: Publish deadlock debugger password as it may be generated.
Vincent Pelletier [Fri, 30 Aug 2013 14:13:08 +0000 (16:13 +0200)]
erp5: Publish deadlock debugger password as it may be generated.

5 years agoerp5: Stop using slapos.cookbook:haproxy .
Vincent Pelletier [Wed, 28 Aug 2013 12:34:14 +0000 (14:34 +0200)]
erp5: Stop using slapos.cookbook:haproxy .

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).

5 years agoerp5: Drop frontend-related documentation.
Vincent Pelletier [Tue, 27 Aug 2013 14:21:37 +0000 (16:21 +0200)]
erp5: Drop frontend-related documentation.

Frontend support is desired, but current option set is too weak to cover
even simple cases.

5 years agoerp5: Make backend apache also listen on IPv6.
Vincent Pelletier [Tue, 27 Aug 2013 12:13:43 +0000 (14:13 +0200)]
erp5: Make backend apache also listen on IPv6.

Also, fix frontend request.

5 years agos.r.apache-zope-backend: Add support for multiple listening IPs.
Vincent Pelletier [Tue, 27 Aug 2013 12:13:11 +0000 (14:13 +0200)]
s.r.apache-zope-backend: Add support for multiple listening IPs.

Minimal change, just made to listen identically on IPv4 and IPv6 addresses.
Settings are identical across all IPs.

5 years agoerp5: fix mariadb instanciation when backup is disabled
Julien Muchembled [Wed, 4 Sep 2013 14:31:41 +0000 (16:31 +0200)]
erp5: fix mariadb instanciation when backup is disabled

5 years agoerp5.mariadb: leave unsafe performance settings as comments if disabled
Julien Muchembled [Wed, 4 Sep 2013 12:54:27 +0000 (14:54 +0200)]
erp5.mariadb: leave unsafe performance settings as comments if disabled

It is useful to temporary enable such settings while preparing an instance.

5 years agoerp5.zeo: replace %(name)s with the export id in instanciation parameters for backup
Julien Muchembled [Tue, 3 Sep 2013 13:36:27 +0000 (15:36 +0200)]
erp5.zeo: replace %(name)s with the export id in instanciation parameters for backup

This follows up commit 04ff4930eef733fc0305bb6a6b38f3ed9f204c60

5 years agoerp5: fix ZEO servers with multiple storages due to wrong reuse of mutable
Julien Muchembled [Mon, 2 Sep 2013 18:24:35 +0000 (20:24 +0200)]
erp5: fix ZEO servers with multiple storages due to wrong reuse of mutable

5 years agoMerge branch 'master' into erp5-cluster
Julien Muchembled [Fri, 30 Aug 2013 09:30:29 +0000 (11:30 +0200)]
Merge branch 'master' into erp5-cluster

5 years agodcron recipe: do not use @foo syntax because it requires to give an ID
Julien Muchembled [Wed, 28 Aug 2013 16:00:32 +0000 (18:00 +0200)]
dcron recipe: do not use @foo syntax because it requires to give an ID

5 years agoOnly keep the latest status in the rss. slapos-0.182
Romain Courteaud [Tue, 27 Aug 2013 08:45:11 +0000 (10:45 +0200)]
Only keep the latest status in the rss.

5 years agoDo not fail if the ssh key already exists. slapos-0.181
Romain Courteaud [Mon, 26 Aug 2013 16:58:08 +0000 (18:58 +0200)]
Do not fail if the ssh key already exists.

5 years agoFreeze buildout version.
Romain Courteaud [Mon, 26 Aug 2013 16:50:45 +0000 (18:50 +0200)]
Freeze buildout version.

5 years agoDo not allow buildout to delete ssh private key. slapos-0.180
Romain Courteaud [Mon, 26 Aug 2013 15:26:12 +0000 (17:26 +0200)]
Do not allow buildout to delete ssh private key.

It prevents data loss while upgrading partition.

5 years agoActivate gzip.
Romain Courteaud [Mon, 26 Aug 2013 14:32:53 +0000 (16:32 +0200)]
Activate gzip.

5 years agoProfile tmp environnment for nginx.
Romain Courteaud [Mon, 26 Aug 2013 14:27:52 +0000 (16:27 +0200)]
Profile tmp environnment for nginx.

5 years agoFix shell equality syntax.
Romain Courteaud [Mon, 26 Aug 2013 14:01:53 +0000 (16:01 +0200)]
Fix shell equality syntax.

5 years agoerp5: Document zodb-computer-guid parameter.
Vincent Pelletier [Thu, 22 Aug 2013 19:30:16 +0000 (21:30 +0200)]
erp5: Document zodb-computer-guid parameter.

5 years agoMerge branch 'kvm'
Cédric de Saint Martin [Thu, 22 Aug 2013 11:44:15 +0000 (13:44 +0200)]
Merge branch 'kvm'

5 years agoKVM SR: Allow to run standalone resiliency script without testrunner.
Cédric de Saint Martin [Thu, 22 Aug 2013 09:38:08 +0000 (11:38 +0200)]
KVM SR: Allow to run standalone resiliency script without testrunner.

5 years agoKVM SR: stop export/import if previous step failed.
Cédric de Saint Martin [Tue, 20 Aug 2013 07:45:12 +0000 (07:45 +0000)]
KVM SR: stop export/import if previous step failed.

5 years agoResiliency: allow takeover to retry renaming until it works.
Cédric de Saint Martin [Tue, 20 Aug 2013 14:13:00 +0000 (14:13 +0000)]
Resiliency: allow takeover to retry renaming until it works.

5 years agoresiliency stack: pin old s.r.template.
Cédric de Saint Martin [Mon, 19 Aug 2013 12:05:26 +0000 (12:05 +0000)]
resiliency stack: pin old s.r.template.

Because new s.r.templare requires new Jinja2.

5 years agoSlapOS Stack: update buildout and h.r.download versions to use.
Cédric de Saint Martin [Mon, 19 Aug 2013 11:35:29 +0000 (11:35 +0000)]
SlapOS Stack: update buildout and h.r.download versions to use.

5 years agoKVM component: use h.r.download to download debian image.
Cédric de Saint Martin [Mon, 19 Aug 2013 11:32:49 +0000 (11:32 +0000)]
KVM component: use h.r.download to download debian image.

5 years agoKVM SR: scalability testnode integration.
Cédric de Saint Martin [Wed, 14 Aug 2013 14:32:22 +0000 (14:32 +0000)]
KVM SR: scalability testnode integration.

5 years agoerp5: make deadlock debugger password global and configurable
Julien Muchembled [Fri, 16 Aug 2013 11:55:58 +0000 (13:55 +0200)]
erp5: make deadlock debugger password global and configurable

Before, a random password was generated for each group of zopes.

5 years agoAdd faketime.
Yusei Tahara [Fri, 16 Aug 2013 06:06:22 +0000 (15:06 +0900)]
Add faketime.

5 years agoerp5.zeo: replace %(name)s with the export id in instanciation parameters
Julien Muchembled [Wed, 14 Aug 2013 15:03:12 +0000 (17:03 +0200)]
erp5.zeo: replace %(name)s with the export id in instanciation parameters

5 years agoAdvertise development of new version
Cédric de Saint Martin [Mon, 12 Aug 2013 14:24:49 +0000 (16:24 +0200)]
Advertise development of new version

5 years agoRelease slapos.cookbook-0.81. slapos.cookbook-0.81
Cédric de Saint Martin [Mon, 12 Aug 2013 14:24:10 +0000 (16:24 +0200)]
Release slapos.cookbook-0.81.

5 years agoMerge branch 'kvm'
Cédric de Saint Martin [Mon, 12 Aug 2013 14:22:35 +0000 (16:22 +0200)]
Merge branch 'kvm'

5 years agoerp5: typo
Julien Muchembled [Mon, 12 Aug 2013 13:26:42 +0000 (15:26 +0200)]
erp5: typo

5 years agoResiliency: fix takeover script.
Cédric de Saint Martin [Mon, 12 Aug 2013 11:36:07 +0000 (11:36 +0000)]
Resiliency: fix takeover script.

5 years agoKVM SR: Change number of backup to 2.
Cédric de Saint Martin [Mon, 12 Aug 2013 11:35:01 +0000 (11:35 +0000)]
KVM SR: Change number of backup to 2.

5 years agoKVM SR: setup small backup periodicity for resiliency test.
Cédric de Saint Martin [Mon, 12 Aug 2013 07:50:33 +0000 (07:50 +0000)]
KVM SR: setup small backup periodicity for resiliency test.

5 years agoResiliency: Add backup-periodicity parameter support.
Cédric de Saint Martin [Mon, 12 Aug 2013 07:49:53 +0000 (07:49 +0000)]
Resiliency: Add backup-periodicity parameter support.

5 years agoResiliency: allow takeover script to be configurable.
Cédric de Saint Martin [Fri, 9 Aug 2013 12:38:43 +0000 (12:38 +0000)]
Resiliency: allow takeover script to be configurable.

Add a way to takeover remotely.

5 years agoSimplify resiliency workflow.
Cédric de Saint Martin [Fri, 9 Aug 2013 11:55:04 +0000 (11:55 +0000)]
Simplify resiliency workflow.

Why having wrappers of wrappers of wrappers, when we can have simple, readable code?

5 years agoKVM SR: add resiliency test structure.
Cédric de Saint Martin [Fri, 9 Aug 2013 11:53:48 +0000 (11:53 +0000)]
KVM SR: add resiliency test structure.

5 years agoProvide RSS feeds about the backup status. slapos-0.179
Romain Courteaud [Fri, 9 Aug 2013 14:50:02 +0000 (16:50 +0200)]
Provide RSS feeds about the backup status.

5 years agoCheck component's binary creation.
Romain Courteaud [Fri, 9 Aug 2013 14:48:57 +0000 (16:48 +0200)]
Check component's binary creation.

5 years agoUpgrade nginx to 1.5.3
Romain Courteaud [Fri, 9 Aug 2013 14:47:24 +0000 (16:47 +0200)]
Upgrade nginx to 1.5.3

5 years agoKVM SR: Publish IPv6.
Cédric de Saint Martin [Thu, 8 Aug 2013 13:38:43 +0000 (13:38 +0000)]
KVM SR: Publish IPv6.

Used to access directly to VM.

5 years agoKVM SR: Fix virtual-hard-drive-md5sum parameter.
Cédric de Saint Martin [Thu, 8 Aug 2013 13:36:44 +0000 (13:36 +0000)]
KVM SR: Fix virtual-hard-drive-md5sum parameter.

5 years agoerp5.mariadb: Specify user to log in as using interactive command line.
Vincent Pelletier [Tue, 6 Aug 2013 15:25:49 +0000 (17:25 +0200)]
erp5.mariadb: Specify user to log in as using interactive command line.

5 years agoerp5: Use a saner default for (undocumented) haproxy check path.
Vincent Pelletier [Tue, 6 Aug 2013 15:19:56 +0000 (17:19 +0200)]
erp5: Use a saner default for (undocumented) haproxy check path.

Keep it undocumented, as haproxy config in its current state cannot be
sufficient to get properly configured haproxy/apache processes. It needs
a significant rework before it makes sense to document it.

5 years agoerp5.mariadb: make long_query_time configurable
Julien Muchembled [Wed, 7 Aug 2013 14:57:23 +0000 (16:57 +0200)]
erp5.mariadb: make long_query_time configurable

5 years agoerp5.zeo: make backup periodicity configurable
Julien Muchembled [Wed, 7 Aug 2013 13:43:35 +0000 (15:43 +0200)]
erp5.zeo: make backup periodicity configurable

5 years agoerp5.zeo: rename instance parameter section for backups
Julien Muchembled [Wed, 7 Aug 2013 13:42:57 +0000 (15:42 +0200)]
erp5.zeo: rename instance parameter section for backups

5 years agoMerge remote-tracking branch 'origin/master' into erp5-cluster
Julien Muchembled [Thu, 8 Aug 2013 13:00:49 +0000 (15:00 +0200)]
Merge remote-tracking branch 'origin/master' into erp5-cluster

5 years agodcron recipe: accept systemd calendar spec
Julien Muchembled [Wed, 7 Aug 2013 11:53:48 +0000 (13:53 +0200)]
dcron recipe: accept systemd calendar spec

This format must always be used in parameters to request instances.

See also http://www.freedesktop.org/software/systemd/man/systemd.timer.html
for online manpage.

5 years agoSpeed up execution by removing not needed update command.
Romain Courteaud [Thu, 8 Aug 2013 12:41:27 +0000 (14:41 +0200)]
Speed up execution by removing not needed update command.

5 years agoUse slapos.cookbook:readline recipe to get the ssh public key.
Romain Courteaud [Thu, 8 Aug 2013 12:39:29 +0000 (14:39 +0200)]
Use slapos.cookbook:readline recipe to get the ssh public key.

5 years agoAdvertise development of new version.
Cédric de Saint Martin [Thu, 8 Aug 2013 12:29:06 +0000 (14:29 +0200)]
Advertise development of new version.

5 years agoRelease slapos.cookbook-. slapos.cookbook-0.80
Cédric de Saint Martin [Thu, 8 Aug 2013 12:28:52 +0000 (14:28 +0200)]
Release slapos.cookbook-.

5 years agoAdd a simple readline recipe.
Romain Courteaud [Thu, 8 Aug 2013 12:27:57 +0000 (14:27 +0200)]
Add a simple readline recipe.

5 years agoKVM SR: fix tunnel generation.
Cédric de Saint Martin [Thu, 8 Aug 2013 08:44:33 +0000 (08:44 +0000)]
KVM SR: fix tunnel generation.

Was tunnelling to the wrong port.

5 years agoMerge branch 'kvm'
Cédric de Saint Martin [Thu, 8 Aug 2013 08:30:43 +0000 (10:30 +0200)]
Merge branch 'kvm'

5 years agoKVM SR: pin newer eggs versions.
Cédric de Saint Martin [Thu, 8 Aug 2013 08:30:14 +0000 (10:30 +0200)]
KVM SR: pin newer eggs versions.

5 years agoRelease slapos.cookbook-0.79. slapos.cookbook-0.79
Cédric de Saint Martin [Thu, 8 Aug 2013 08:28:25 +0000 (10:28 +0200)]
Release slapos.cookbook-0.79.

5 years agoMerge branch 'kvm'
Cédric de Saint Martin [Thu, 8 Aug 2013 08:24:33 +0000 (10:24 +0200)]
Merge branch 'kvm'

5 years agoKVM SR: Remove brain overhead of having a dict created from another dict.
Cédric de Saint Martin [Wed, 7 Aug 2013 15:50:39 +0000 (17:50 +0200)]
KVM SR: Remove brain overhead of having a dict created from another dict.

First move to a clean KVM wrapper. And must faster maintenance/feature adding.

5 years agoKVM SR: Factor runner templates.
Cédric de Saint Martin [Wed, 7 Aug 2013 15:32:42 +0000 (17:32 +0200)]
KVM SR: Factor runner templates.

Doing fast&dirty code is nice, but only if you don't maintain the code yourself.

5 years agoKVM SR: add virtual-hard-drive-url support.
Cédric de Saint Martin [Wed, 7 Aug 2013 12:07:35 +0000 (14:07 +0200)]
KVM SR: add virtual-hard-drive-url support.

5 years agoerp5: buildout:extends does not work when given at command line
Julien Muchembled [Wed, 7 Aug 2013 09:51:56 +0000 (11:51 +0200)]
erp5: buildout:extends does not work when given at command line

5 years agoUse newer slapos.recipe.template for inline templates
Julien Muchembled [Tue, 6 Aug 2013 14:00:19 +0000 (16:00 +0200)]
Use newer slapos.recipe.template for inline templates

5 years agoMerge remote-tracking branch 'origin/master' into erp5-cluster
Julien Muchembled [Wed, 7 Aug 2013 16:32:49 +0000 (18:32 +0200)]
Merge remote-tracking branch 'origin/master' into erp5-cluster

Conflicts:
stack/erp5/instance-tidstorage.cfg.in

5 years agoFix regression in GenericBaseRecipe.generatePassword
Julien Muchembled [Wed, 7 Aug 2013 16:27:12 +0000 (18:27 +0200)]
Fix regression in GenericBaseRecipe.generatePassword

5 years agoKVM SR: Add support for NAT based networking (User Mode Network).
Cédric de Saint Martin [Wed, 7 Aug 2013 07:37:35 +0000 (07:37 +0000)]
KVM SR: Add support for NAT based networking (User Mode Network).

Note: Duplicates code, and heavy use of recipes.

5 years agoslaprunner: fix md5sum and download problem slapos-0.175
Cédric Le Ninivin [Tue, 6 Aug 2013 15:25:51 +0000 (17:25 +0200)]
slaprunner: fix md5sum and download problem

5 years agoslaprunner: update md5
Cédric Le Ninivin [Tue, 6 Aug 2013 14:42:24 +0000 (16:42 +0200)]
slaprunner: update md5

5 years agoslaprunner: remove offline mode for instance.cfg
Cédric Le Ninivin [Tue, 6 Aug 2013 14:35:39 +0000 (16:35 +0200)]
slaprunner: remove offline mode for instance.cfg

5 years agoslaprunner: prepare release
Cédric Le Ninivin [Tue, 6 Aug 2013 13:25:32 +0000 (15:25 +0200)]
slaprunner: prepare release

5 years agoChangelog for 0.78.5, release bump slapos.cookbook-0.78.5
Cédric Le Ninivin [Tue, 6 Aug 2013 13:09:03 +0000 (15:09 +0200)]
Changelog for 0.78.5, release bump

5 years agoMerge branch 'master' into slaprunner
Cédric Le Ninivin [Tue, 6 Aug 2013 13:02:52 +0000 (15:02 +0200)]
Merge branch 'master' into slaprunner

5 years agoslaprunner: update md5sum
Cédric Le Ninivin [Tue, 6 Aug 2013 12:53:47 +0000 (14:53 +0200)]
slaprunner: update md5sum

5 years agoslaprunner: add promise on cloud9 frontend
Cédric Le Ninivin [Tue, 6 Aug 2013 11:33:04 +0000 (13:33 +0200)]
slaprunner: add promise on cloud9 frontend

5 years agocheck-url: Add check-secure parameter to return success in case of code 401
Cédric Le Ninivin [Tue, 6 Aug 2013 11:16:20 +0000 (13:16 +0200)]
check-url: Add check-secure parameter to return success in case of code 401

5 years agoerp5: Fix missing CA directories.
Vincent Pelletier [Fri, 26 Jul 2013 09:23:40 +0000 (11:23 +0200)]
erp5: Fix missing CA directories.

Also, rename test CA directories so it's obvious they are designated for
tests.

5 years agoerp5: Explicitly reference certificate-authority.
Vincent Pelletier [Fri, 26 Jul 2013 09:14:16 +0000 (11:14 +0200)]
erp5: Explicitly reference certificate-authority.

Otherwise it's never evaluated, and in turn binary-link is not when unit
tests are disabled.
Also, follow surrounding coding style.

5 years agoerp5: Do not install a test runner when there are no test databases.
Vincent Pelletier [Tue, 23 Jul 2013 13:50:00 +0000 (15:50 +0200)]
erp5: Do not install a test runner when there are no test databases.

5 years agoerp5.zeo: Drop unrealistic pattern from parameter schema.
Vincent Pelletier [Tue, 23 Jul 2013 13:01:21 +0000 (15:01 +0200)]
erp5.zeo: Drop unrealistic pattern from parameter schema.

5 years agoerp5.mariadb: Fix typo in instance parameter documentation.
Vincent Pelletier [Tue, 23 Jul 2013 12:55:40 +0000 (14:55 +0200)]
erp5.mariadb: Fix typo in instance parameter documentation.

5 years agoModified so that longrequest logger values are converted into string during zope...
Mame Coumba Sall [Mon, 22 Jul 2013 14:10:10 +0000 (14:10 +0000)]
Modified so that longrequest logger values are converted into string during zope instanciation

5 years agoresilient-stack: update README for sla magic
Cédric Le Ninivin [Tue, 6 Aug 2013 09:37:01 +0000 (11:37 +0200)]
resilient-stack: update README for sla magic

5 years agoReview generate.password recipe, dropping pwgen.*
Julien Muchembled [Mon, 5 Aug 2013 14:05:14 +0000 (16:05 +0200)]
Review generate.password recipe, dropping pwgen.*

5 years agoslaprunner: resilient template render during instanciation
Cédric Le Ninivin [Tue, 6 Aug 2013 09:18:40 +0000 (11:18 +0200)]
slaprunner: resilient template render during instanciation

5 years agoresilient-stack : add -sla-%s-foo parameter magic
Cédric Le Ninivin [Tue, 6 Aug 2013 08:59:24 +0000 (10:59 +0200)]
resilient-stack : add -sla-%s-foo parameter magic

You can provide sla parameters to each request you make.
Parameters are analysed that way.
 * If it starts with "-sla-" it is not transmitted to requested instance and is used to do the request as sla.
 * -sla-foo-bar=example (foo being a magic key) will be use for each request considering "foo" as a key to use and the sla parameter is "bar". So for each group using the "foo" key, sla parameter "bar" is used with value "example"
About magic keys:
We can find 2 kinds of magic keys:
 * id : example, in "-sla-2-foo" 2 is the magic key and the parameter will be used for each request with id 2 (in case of kvm: kvm2 and PBS 2)
 * nameid : example, in "-sla-kvm2-foo", foo will be used for kvm2 request. Name for pbs is "pbs" -> "-sla-pbs2-foo".
IMPORTANT NOTE: in case the same foo parameter is asked for the group, the nameid key prevail

5 years agoChangelog for 0.78.4, release bump slapos.cookbook-0.78.4
Cédric Le Ninivin [Tue, 6 Aug 2013 08:19:18 +0000 (10:19 +0200)]
Changelog for 0.78.4, release bump

5 years agoCHANGE: update CHANGES.txt for slaprunner
Cédric Le Ninivin [Mon, 5 Aug 2013 17:31:42 +0000 (19:31 +0200)]
CHANGE: update CHANGES.txt for slaprunner

5 years agoMerge branch 'master' into slaprunner
Cédric Le Ninivin [Mon, 5 Aug 2013 17:24:26 +0000 (19:24 +0200)]
Merge branch 'master' into slaprunner

5 years agoMerge branch 'kvm'
Cédric de Saint Martin [Fri, 2 Aug 2013 09:28:51 +0000 (11:28 +0200)]
Merge branch 'kvm'

Conflicts:
stack/resilient/buildout.cfg

5 years agoKVM SR: Update schema to 04-draft.
Cédric de Saint Martin [Wed, 31 Jul 2013 15:05:00 +0000 (17:05 +0200)]
KVM SR: Update schema to 04-draft.

5 years agoKVM SR: remove 'password' output parameter from schema, as it disappeared.
Cédric de Saint Martin [Wed, 31 Jul 2013 13:28:39 +0000 (15:28 +0200)]
KVM SR: remove 'password' output parameter from schema, as it disappeared.