slapos.git
4 years agoMerge branch 'master' into erp5-cluster
Julien Muchembled [Mon, 8 Dec 2014 17:16:28 +0000 (18:16 +0100)]
Merge branch 'master' into erp5-cluster

4 years agoDo not generate service for TIDStorage if tidstorage-wrapper option is not set
Julien Muchembled [Mon, 8 Dec 2014 17:07:38 +0000 (18:07 +0100)]
Do not generate service for TIDStorage if tidstorage-wrapper option is not set

TIDStorage is used to manage backups but most of time the DB is not splitted
and there's no need to run a TIDStorage daemon.

4 years agodcron: fix conversion from systemd timespecs with steps, and add minutely/yearly...
Julien Muchembled [Thu, 27 Nov 2014 10:20:07 +0000 (11:20 +0100)]
dcron: fix conversion from systemd timespecs with steps, and add minutely/yearly aliases

4 years agoerp5: remove ipv6 hack for ZEO partition
Julien Muchembled [Mon, 24 Nov 2014 18:08:11 +0000 (19:08 +0100)]
erp5: remove ipv6 hack for ZEO partition

We now use a version of ZEO that support ipv6 natively so this is useless.

Although TIDStorage only supports ipv4, it's easier and better to fix TIDStorage
rather than maintaining such hack in SlapOS.

4 years agoerp5: schemas for output parameters of sub-partitions are useless
Julien Muchembled [Mon, 24 Nov 2014 16:29:51 +0000 (17:29 +0100)]
erp5: schemas for output parameters of sub-partitions are useless

4 years agoerp5: fix typo and remove useless line
Julien Muchembled [Mon, 24 Nov 2014 15:30:26 +0000 (16:30 +0100)]
erp5: fix typo and remove useless line

4 years agologrotate: delay compression of rotated files
Julien Muchembled [Mon, 8 Dec 2014 11:18:48 +0000 (12:18 +0100)]
logrotate: delay compression of rotated files

Most of the time, the logging process keeps the log open, accesses it via
a file descriptor and gets notified of log rotation via a signal. Because
logrotate does not wait that the log is close (could it do it with inotify ?),
there can be race conditions between the compression and events that are logged
at the same time.

In the case of NEO, logs are SQLite DB. Rotation is also notified via a signal
and VACUUM is sometimes called to reduce its size.

4 years agoGit: compile with perl to enable git add -p
Jérome Perrin [Mon, 8 Dec 2014 03:10:51 +0000 (04:10 +0100)]
Git: compile with perl to enable git add -p

4 years agoslapos stack: use slapos.core 1.3.5.
Cédric de Saint Martin [Thu, 4 Dec 2014 15:03:00 +0000 (15:03 +0000)]
slapos stack: use slapos.core 1.3.5.

4 years agoslaprunner: update egg versions.
Cédric de Saint Martin [Wed, 3 Dec 2014 09:08:29 +0000 (09:08 +0000)]
slaprunner: update egg versions.

4 years agoerp5testnode: use erp5.util 0.4.42.
Cédric de Saint Martin [Tue, 2 Dec 2014 10:47:23 +0000 (10:47 +0000)]
erp5testnode: use erp5.util 0.4.42.

4 years agokvm: use old octopus to store disk image for resiliency test.
Cédric de Saint Martin [Mon, 1 Dec 2014 14:30:19 +0000 (14:30 +0000)]
kvm: use old octopus to store disk image for resiliency test.

4 years agoslaprunner: development.cfg: disable specific slapos.* versions.
Cédric de Saint Martin [Fri, 28 Nov 2014 16:00:18 +0000 (16:00 +0000)]
slaprunner: development.cfg: disable specific slapos.* versions.

Otherwise, stable eggs may be used.

4 years agoRevert "slaprunner: move runTestSuite to runStandaloneTestSuite."
Cédric de Saint Martin [Fri, 28 Nov 2014 12:41:51 +0000 (12:41 +0000)]
Revert "slaprunner: move runTestSuite to runStandaloneTestSuite."

This reverts commit 9a3dcc60e6bacf68c682df8a60d0ffb9a4167adc.

Conflicts:

software/slaprunner/common.cfg

4 years agoslaprunner: follow slapos.toolbox runner entry point location change.
Cédric de Saint Martin [Wed, 26 Nov 2014 11:39:29 +0000 (11:39 +0000)]
slaprunner: follow slapos.toolbox runner entry point location change.

4 years agokvm: update development.cfg to use all needed eggs from git.
Cédric de Saint Martin [Mon, 1 Dec 2014 09:07:51 +0000 (10:07 +0100)]
kvm: update development.cfg to use all needed eggs from git.

4 years agoversion up : dash 0.5.8.
Kazuhiko Shiozaki [Fri, 28 Nov 2014 08:40:42 +0000 (09:40 +0100)]
version up : dash 0.5.8.

4 years agoversion up : rsync 3.1.1.
Kazuhiko Shiozaki [Fri, 28 Nov 2014 08:29:37 +0000 (09:29 +0100)]
version up : rsync 3.1.1.

4 years agoversion up : nginx 1.7.6.
Kazuhiko Shiozaki [Fri, 28 Nov 2014 08:29:31 +0000 (09:29 +0100)]
version up : nginx 1.7.6.

4 years agoversion up : libtool 2.4.3.
Kazuhiko Shiozaki [Fri, 28 Nov 2014 08:29:21 +0000 (09:29 +0100)]
version up : libtool 2.4.3.

4 years agoversion up : grep 2.21.
Kazuhiko Shiozaki [Fri, 28 Nov 2014 08:29:16 +0000 (09:29 +0100)]
version up : grep 2.21.

4 years agoversion up eggs.
Kazuhiko Shiozaki [Fri, 28 Nov 2014 08:27:39 +0000 (09:27 +0100)]
version up eggs.

4 years agocleanup versions.
Kazuhiko Shiozaki [Thu, 27 Nov 2014 20:51:15 +0000 (21:51 +0100)]
cleanup versions.

4 years agoversion up eggs.
Kazuhiko Shiozaki [Thu, 27 Nov 2014 16:38:22 +0000 (17:38 +0100)]
version up eggs.

4 years agoversion up : MariaDB 10.0.15.
Kazuhiko Shiozaki [Tue, 25 Nov 2014 21:50:34 +0000 (22:50 +0100)]
version up : MariaDB 10.0.15.

4 years agoversion up : perl 5.20.1.
Kazuhiko Shiozaki [Tue, 25 Nov 2014 21:50:21 +0000 (22:50 +0100)]
version up : perl 5.20.1.

4 years agoversion up : w3-validator 1.3.
Kazuhiko Shiozaki [Tue, 25 Nov 2014 21:50:08 +0000 (22:50 +0100)]
version up : w3-validator 1.3.

4 years agospeclify mode=640 in template-jinja2-base.
Kazuhiko Shiozaki [Tue, 25 Nov 2014 13:14:34 +0000 (14:14 +0100)]
speclify mode=640 in template-jinja2-base.

4 years agofix post-make-hook script for perl.
Kazuhiko Shiozaki [Tue, 25 Nov 2014 12:54:13 +0000 (13:54 +0100)]
fix post-make-hook script for perl.

4 years agoversion up : gnome core libraries 3.14.2.
Kazuhiko Shiozaki [Tue, 25 Nov 2014 08:42:19 +0000 (09:42 +0100)]
version up : gnome core libraries 3.14.2.

4 years agoversion up eggs.
Kazuhiko Shiozaki [Fri, 21 Nov 2014 09:14:47 +0000 (10:14 +0100)]
version up eggs.

4 years agoversion up : dbus 1.8.10.
Kazuhiko Shiozaki [Fri, 21 Nov 2014 09:09:25 +0000 (10:09 +0100)]
version up : dbus 1.8.10.

4 years agoerp5testnode: Develop cookbook is not required anymore slapos-0.249.1
Rafael Monnerat [Thu, 27 Nov 2014 12:25:53 +0000 (12:25 +0000)]
erp5testnode: Develop cookbook is not required anymore

  The branch erp5testnode should not be a dependency for install a release.

4 years agoslapos stack: use new slapos.core 1.3.4 egg. slapos-0.249
Cédric de Saint Martin [Wed, 26 Nov 2014 13:34:50 +0000 (14:34 +0100)]
slapos stack: use new slapos.core 1.3.4 egg.

4 years agoKVM resiliency tests: follow changes of slapos.toolbox.
Cédric de Saint Martin [Tue, 25 Nov 2014 16:16:43 +0000 (16:16 +0000)]
KVM resiliency tests: follow changes of slapos.toolbox.

Parameter names are more generic.

4 years agoslaprunner: publish backend url of monitor.
Cédric de Saint Martin [Mon, 24 Nov 2014 15:44:33 +0000 (15:44 +0000)]
slaprunner: publish backend url of monitor.

4 years agoslaprunner: add dedicated buildout profile for erp5testnode.
Cédric de Saint Martin [Mon, 24 Nov 2014 15:10:33 +0000 (15:10 +0000)]
slaprunner: add dedicated buildout profile for erp5testnode.

4 years agoslaprunner: move runTestSuite to runStandaloneTestSuite.
Cédric de Saint Martin [Mon, 24 Nov 2014 13:07:52 +0000 (13:07 +0000)]
slaprunner: move runTestSuite to runStandaloneTestSuite.

It doesn't work yet with erp5testnode and conflicts with resiliency tests.

4 years agoslaprunner: develop slapos.core and slapos.cookbook in development.
Cédric de Saint Martin [Mon, 24 Nov 2014 14:31:19 +0000 (14:31 +0000)]
slaprunner: develop slapos.core and slapos.cookbook in development.

4 years agomonitor: Fix typo slapos-0.248.1
Rafael Monnerat [Tue, 25 Nov 2014 13:09:23 +0000 (14:09 +0100)]
monitor: Fix typo

4 years agomonitor: Implement new features and moniorings slapos-0.248
Rafael Monnerat [Mon, 24 Nov 2014 23:38:07 +0000 (00:38 +0100)]
monitor: Implement new features and moniorings

  * Copy Re6st logs if exist.
  * Include smartmontools, lm-sensors, rrdtools
  * Implement smartmontools logging
  * Implement network benchmark monitoring

4 years agoresilient stack/kvm: add ignore-known-hosts-file parameter.
Cédric de Saint Martin [Fri, 21 Nov 2014 16:03:15 +0000 (16:03 +0000)]
resilient stack/kvm: add ignore-known-hosts-file parameter.

4 years agokvm: test software-release waits for kvm-resilient instance to be ready
Cédric de Saint Martin [Wed, 19 Nov 2014 15:23:06 +0000 (15:23 +0000)]
kvm: test software-release waits for kvm-resilient instance to be ready

i.e returns parameters.

4 years agokvm: publish ipv6 parameter in resilient software type.
Cédric de Saint Martin [Wed, 19 Nov 2014 15:12:41 +0000 (15:12 +0000)]
kvm: publish ipv6 parameter in resilient software type.

4 years agokvm: resiliency test: add wrapper for erp5testnode.
Cédric de Saint Martin [Wed, 12 Nov 2014 14:27:56 +0000 (15:27 +0100)]
kvm: resiliency test: add wrapper for erp5testnode.

4 years agokvm: test: change number of clone to 1.
Cédric de Saint Martin [Thu, 13 Nov 2014 13:02:59 +0000 (14:02 +0100)]
kvm: test: change number of clone to 1.

4 years agokvm: add dedicated erp5testnode software release.
Cédric de Saint Martin [Wed, 12 Nov 2014 12:48:42 +0000 (13:48 +0100)]
kvm: add dedicated erp5testnode software release.

4 years agoMerge branch 'master' into erp5-cluster
Julien Muchembled [Fri, 21 Nov 2014 15:34:26 +0000 (16:34 +0100)]
Merge branch 'master' into erp5-cluster

Conflicts:
stack/erp5/buildout.cfg

4 years agofixup! request: drop redundant 'config' & 'sla' options slapos.cookbook-0.92
Julien Muchembled [Fri, 21 Nov 2014 15:16:38 +0000 (16:16 +0100)]
fixup! request: drop redundant 'config' & 'sla' options

Sorry everyone for this mistake.

4 years ago... and md5sum
Julien Muchembled [Thu, 20 Nov 2014 23:38:53 +0000 (00:38 +0100)]
... and md5sum

4 years agoFix buildout comment
Julien Muchembled [Thu, 20 Nov 2014 17:33:56 +0000 (18:33 +0100)]
Fix buildout comment

4 years agoversion up : percona-toolkit 2.2.12.
Kazuhiko Shiozaki [Wed, 19 Nov 2014 09:59:41 +0000 (10:59 +0100)]
version up : percona-toolkit 2.2.12.

4 years agoversion up eggs.
Kazuhiko Shiozaki [Wed, 19 Nov 2014 09:27:22 +0000 (10:27 +0100)]
version up eggs.

4 years agoversion up : LibreOffice 4.3.4.1.
Kazuhiko Shiozaki [Wed, 19 Nov 2014 09:27:06 +0000 (10:27 +0100)]
version up : LibreOffice 4.3.4.1.

4 years agoversion up : gnutls 3.2.20.
Kazuhiko Shiozaki [Mon, 17 Nov 2014 10:40:21 +0000 (11:40 +0100)]
version up : gnutls 3.2.20.

4 years agoversion up : firefox 33.1.
Kazuhiko Shiozaki [Fri, 14 Nov 2014 12:15:04 +0000 (13:15 +0100)]
version up : firefox 33.1.

4 years agoMerge branch 'master' into erp5-cluster
Julien Muchembled [Wed, 19 Nov 2014 18:13:00 +0000 (19:13 +0100)]
Merge branch 'master' into erp5-cluster

Conflicts:
software/neoppod/software.cfg
stack/erp5/buildout.cfg
stack/erp5/instance-erp5-cluster.cfg.in
stack/erp5/instance-erp5-single.cfg.in
stack/erp5/instance-zope.cfg.in

4 years agorequest: drop redundant 'config' & 'sla' options slapos.cookbook-0.91
Julien Muchembled [Tue, 18 Nov 2014 16:52:40 +0000 (17:52 +0100)]
request: drop redundant 'config' & 'sla' options

4 years agoslapos stack: use slapos.core 1.3.3.
Cédric de Saint Martin [Tue, 18 Nov 2014 14:30:33 +0000 (15:30 +0100)]
slapos stack: use slapos.core 1.3.3.

4 years agoRevert "slapos stack: use temporarily old version of slapos.core."
Cédric de Saint Martin [Tue, 18 Nov 2014 14:29:45 +0000 (15:29 +0100)]
Revert "slapos stack: use temporarily old version of slapos.core."

This reverts commit f2e57a03840678e86d478930e7ea4cc7b9202bb0.

4 years agoMake ERP5 instantiable with an external NEO storage
Julien Muchembled [Fri, 14 Nov 2014 15:41:57 +0000 (16:41 +0100)]
Make ERP5 instantiable with an external NEO storage

In order not to conflict with a future integration of NEO in ERP5:
- the input schema has a new parameter for external storages.
- zodb-software-type & zodb is used only for internal storages
  and only ZEO is supported.

NEO logging is also enabled for clients.

4 years agoneoppod: stop using deprecated slapos.cookbook:generic.mysql
Julien Muchembled [Thu, 13 Nov 2014 15:14:14 +0000 (16:14 +0100)]
neoppod: stop using deprecated slapos.cookbook:generic.mysql

Contrary to ERP5, there's no mysql-update service:
- this simplifies the SR
- after reading the MySQL documentation, the automatic use of mysql_upgrade
  is quite frightening:
  « You should always back up your current MySQL installation before performing
  an upgrade. »
  « After running mysql_upgrade, stop the server and restart it so that any
  changes made to the system tables take effect. » (which is currently not done
  by the recipe)
- the future of NEO is an embedded DB like libmysqld

4 years agologging: refactoring of crond/logrotate for NEO & ERP5
Julien Muchembled [Mon, 10 Nov 2014 17:46:28 +0000 (18:46 +0100)]
logging: refactoring of crond/logrotate for NEO & ERP5

New 'slapos-kill' from slapos.toolbox is used instead of 'killpidfromfile'
This is required for NEO which does not write any pid file.

4 years agoNew recipe 'switch-softwaretype' deprecating 'softwaretype'
Julien Muchembled [Thu, 6 Nov 2014 18:13:34 +0000 (19:13 +0100)]
New recipe 'switch-softwaretype' deprecating 'softwaretype'

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 %}

4 years agoslapos stack: use temporarily old version of slapos.core.
Cédric de Saint Martin [Tue, 18 Nov 2014 09:18:14 +0000 (10:18 +0100)]
slapos stack: use temporarily old version of slapos.core.

slapos.core 1.3.X introduces regressions.

4 years agoerp5testnode: slapproxy listens to local ipv4.
Cédric de Saint Martin [Wed, 12 Nov 2014 10:35:06 +0000 (11:35 +0100)]
erp5testnode: slapproxy listens to local ipv4.

No need to expose this slapproxy to the outside.

4 years agoslapos stack: use slapos.core 1.3.2.
Cédric de Saint Martin [Fri, 14 Nov 2014 10:57:25 +0000 (11:57 +0100)]
slapos stack: use slapos.core 1.3.2.

4 years agofixup! slapos stack: use slapos.core 1.3.1.
Kazuhiko Shiozaki [Fri, 14 Nov 2014 08:29:36 +0000 (09:29 +0100)]
fixup! slapos stack: use slapos.core 1.3.1.

4 years agoversion up : file 5.20.
Kazuhiko Shiozaki [Wed, 12 Nov 2014 09:49:28 +0000 (10:49 +0100)]
version up : file 5.20.

4 years agoMerge remote-tracking branch 'origin/master' into erp5testnode
Kazuhiko Shiozaki [Fri, 14 Nov 2014 08:28:20 +0000 (09:28 +0100)]
Merge remote-tracking branch 'origin/master' into erp5testnode

4 years agoslapos stack: use slapos.core 1.3.1.
Cédric de Saint Martin [Thu, 13 Nov 2014 15:11:58 +0000 (16:11 +0100)]
slapos stack: use slapos.core 1.3.1.

4 years agoslapos stack: use slapos.core 1.3.0.
Cédric de Saint Martin [Thu, 13 Nov 2014 13:38:26 +0000 (14:38 +0100)]
slapos stack: use slapos.core 1.3.0.

4 years agokvm SR: use same clone amount parameter name than already implemented in slaprunner.
Cédric de Saint Martin [Mon, 10 Nov 2014 15:32:10 +0000 (15:32 +0000)]
kvm SR: use same clone amount parameter name than already implemented in slaprunner.

4 years agoresiliency stack: define different notifier port for importer and exporter.
Cédric de Saint Martin [Mon, 10 Nov 2014 15:29:01 +0000 (15:29 +0000)]
resiliency stack: define different notifier port for importer and exporter.

Allow to run inside of a slapproxy w/ all partitions using same IP.

4 years agoKVM: new parameter: number of resiliency backups.
Cédric de Saint Martin [Mon, 10 Nov 2014 14:56:28 +0000 (14:56 +0000)]
KVM: new parameter: number of resiliency backups.

4 years agoerp5testnode: add slapos.cookbook dependencies.
Cédric de Saint Martin [Wed, 12 Nov 2014 09:40:03 +0000 (10:40 +0100)]
erp5testnode: add slapos.cookbook dependencies.

Explicitely list them, because develop egg doesn't not guarantee respect of dependencies.

4 years agobuild mroonga without keeping mariadb build directory.
Kazuhiko Shiozaki [Mon, 10 Nov 2014 10:09:18 +0000 (11:09 +0100)]
build mroonga without keeping mariadb build directory.

4 years agoversion up : curl 7.39.0.
Kazuhiko Shiozaki [Mon, 10 Nov 2014 08:57:54 +0000 (09:57 +0100)]
version up : curl 7.39.0.

4 years agoversion up eggs.
Kazuhiko Shiozaki [Mon, 3 Nov 2014 09:43:25 +0000 (10:43 +0100)]
version up eggs.

4 years agobuild numpy with gcc-fortran.
Kazuhiko Shiozaki [Sun, 9 Nov 2014 09:09:59 +0000 (10:09 +0100)]
build numpy with gcc-fortran.

4 years agoversion up : gcc 4.9.2.
Kazuhiko Shiozaki [Sun, 9 Nov 2014 08:55:53 +0000 (09:55 +0100)]
version up : gcc 4.9.2.

4 years agoupdate cloudooo revision.
Kazuhiko Shiozaki [Wed, 5 Nov 2014 20:29:28 +0000 (21:29 +0100)]
update cloudooo revision.

4 years agoadd more libraries for LibreOffice 4.3.3.2.
Kazuhiko Shiozaki [Thu, 6 Nov 2014 09:08:21 +0000 (10:08 +0100)]
add more libraries for LibreOffice 4.3.3.2.

4 years agoversion up : LibreOffice 4.3.3.2.
Kazuhiko Shiozaki [Tue, 4 Nov 2014 21:30:13 +0000 (22:30 +0100)]
version up : LibreOffice 4.3.3.2.

4 years agoversion up : MesaLib 10.3.2 and glu 9.0.0.
Kazuhiko Shiozaki [Thu, 6 Nov 2014 21:41:24 +0000 (22:41 +0100)]
version up : MesaLib 10.3.2 and glu 9.0.0.

4 years agoversion up : ghostscript 9.15.
Kazuhiko Shiozaki [Sat, 8 Nov 2014 20:33:36 +0000 (21:33 +0100)]
version up : ghostscript 9.15.

4 years agoversion up : libpng 1.6.14 and 1.5.19.
Kazuhiko Shiozaki [Fri, 7 Nov 2014 09:42:30 +0000 (10:42 +0100)]
version up : libpng 1.6.14 and 1.5.19.

4 years agoversion up : SQLite 3.8.7.1.
Kazuhiko Shiozaki [Thu, 6 Nov 2014 09:54:03 +0000 (10:54 +0100)]
version up : SQLite 3.8.7.1.

4 years agofixup! Start to test all json schema and files.
Kazuhiko Shiozaki [Wed, 5 Nov 2014 15:15:25 +0000 (16:15 +0100)]
fixup! Start to test all json schema and files.

4 years agoversion up : HAProxy 1.5.8.
Kazuhiko Shiozaki [Wed, 5 Nov 2014 14:24:51 +0000 (15:24 +0100)]
version up : HAProxy 1.5.8.

4 years agoversion up : gettext 0.19.3.
Kazuhiko Shiozaki [Thu, 30 Oct 2014 18:47:21 +0000 (19:47 +0100)]
version up : gettext 0.19.3.

4 years agoversion up : wget 1.16.
Kazuhiko Shiozaki [Thu, 30 Oct 2014 18:47:12 +0000 (19:47 +0100)]
version up : wget 1.16.

4 years agoversion up : groonga 4.0.7 and mroonga 4.07.
Kazuhiko Shiozaki [Wed, 29 Oct 2014 10:14:25 +0000 (11:14 +0100)]
version up : groonga 4.0.7 and mroonga 4.07.

4 years agoapache-frontend: update TODO
Cédric Le Ninivin [Fri, 7 Nov 2014 10:24:59 +0000 (11:24 +0100)]
apache-frontend: update TODO

4 years agolibatlas: use uname -m to detect arch.
Cédric de Saint Martin [Mon, 3 Nov 2014 11:30:09 +0000 (12:30 +0100)]
libatlas: use uname -m to detect arch.

output of uname -p is "unknown" for soem processors, leading to use 32bits on 64bits machine.

4 years agoslapos-testing: add missing eggs.
Cédric de Saint Martin [Mon, 3 Nov 2014 08:32:51 +0000 (09:32 +0100)]
slapos-testing: add missing eggs.

And more importantly: all their dependencies, like jinja2. Tests are failing because dependencies can't be found.

4 years agoFix json schemas.
Cédric de Saint Martin [Thu, 30 Oct 2014 11:16:07 +0000 (12:16 +0100)]
Fix json schemas.

4 years agoRevert "kvm: added back ipv6 parameter"
Marco Mariani [Thu, 30 Oct 2014 09:50:33 +0000 (10:50 +0100)]
Revert "kvm: added back ipv6 parameter"

This reverts commit 01190bdab5e47bb63fce2fc0dd0406bb89e6d196.

4 years agokvm: added back ipv6 parameter
Marco Mariani [Wed, 29 Oct 2014 15:11:56 +0000 (16:11 +0100)]
kvm: added back ipv6 parameter

4 years agofixed pbs test
Marco Mariani [Wed, 29 Oct 2014 09:36:43 +0000 (10:36 +0100)]
fixed pbs test