slapos.git
6 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.

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

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

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

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

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

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

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

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

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

6 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?

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

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

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

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

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

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

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

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

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

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

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

6 years agoKVM SR: Add internal Debian 7 disk image support.
Cédric de Saint Martin [Wed, 31 Jul 2013 12:06:13 +0000 (14:06 +0200)]
KVM SR: Add internal Debian 7 disk image support.

No need for external NBD by default. No need to wait minutes to boot from installer in VM.

6 years agoKVM SR: Remove useless line in download section.
Cédric de Saint Martin [Wed, 31 Jul 2013 11:39:08 +0000 (13:39 +0200)]
KVM SR: Remove useless line in download section.

6 years agoRemove now useless comment.
Cédric de Saint Martin [Wed, 31 Jul 2013 09:53:17 +0000 (11:53 +0200)]
Remove now useless comment.

It is in slapos 1.0 itself.

6 years agoResiliency stack: fix broken frozen software type.
Cédric de Saint Martin [Wed, 31 Jul 2013 09:30:24 +0000 (09:30 +0000)]
Resiliency stack: fix broken frozen software type.

6 years agoResiliency: don't state remotely that the broken instance is stopped.
Cédric de Saint Martin [Wed, 31 Jul 2013 08:41:12 +0000 (08:41 +0000)]
Resiliency: don't state remotely that the broken instance is stopped.

6 years agoResilient: experimental: Backward compatibility.
Cédric de Saint Martin [Tue, 30 Jul 2013 15:41:56 +0000 (15:41 +0000)]
Resilient: experimental: Backward compatibility.

6 years agoResilient stack: Experimental: dynamically forward instance parmaeters to requested...
Cédric de Saint Martin [Tue, 30 Jul 2013 15:11:15 +0000 (15:11 +0000)]
Resilient stack: Experimental: dynamically forward instance parmaeters to requested export instance.

6 years agoResilient stack: remove unused file.
Cédric de Saint Martin [Tue, 30 Jul 2013 13:07:05 +0000 (13:07 +0000)]
Resilient stack: remove unused file.

6 years agoKVM SR: disable slapmonitor.
Cédric de Saint Martin [Tue, 30 Jul 2013 12:44:17 +0000 (12:44 +0000)]
KVM SR: disable slapmonitor.

Not stable yet.

6 years agoKVM SR: pin egg versions.
Cédric de Saint Martin [Tue, 30 Jul 2013 12:07:19 +0000 (14:07 +0200)]
KVM SR: pin egg versions.

6 years agoKVM SR: add resiliency support
Cédric de Saint Martin [Tue, 30 Jul 2013 11:59:17 +0000 (13:59 +0200)]
KVM SR: add resiliency support

6 years agoKVM SR: Remove explicit "slap-connection" in instance.
Cédric de Saint Martin [Tue, 30 Jul 2013 10:57:19 +0000 (12:57 +0200)]
KVM SR: Remove explicit "slap-connection" in instance.

Bit of cleanup about now useless backward-compatibility.

6 years agoKVM SR: set more logical section name for params publication.
Cédric de Saint Martin [Tue, 30 Jul 2013 10:43:46 +0000 (12:43 +0200)]
KVM SR: set more logical section name for params publication.

6 years agoSlapOS Stack: pin setuptools
Cédric de Saint Martin [Tue, 30 Jul 2013 10:42:58 +0000 (12:42 +0200)]
SlapOS Stack: pin setuptools

So that it doesn't change every day.

6 years agoResilient stack: notifier-url is rather a notifier-host
Cédric de Saint Martin [Tue, 30 Jul 2013 10:42:35 +0000 (12:42 +0200)]
Resilient stack: notifier-url is rather a notifier-host

So we remove the trailing /.

6 years agoResilient stack: explicitely list parts for pbs import/export.
Cédric de Saint Martin [Tue, 30 Jul 2013 10:39:55 +0000 (12:39 +0200)]
Resilient stack: explicitely list parts for pbs import/export.

6 years agoResilient stack: use Jinja2.6
Cédric de Saint Martin [Tue, 30 Jul 2013 10:39:25 +0000 (12:39 +0200)]
Resilient stack: use Jinja2.6

2.7 is not backward compatible and breaks import-list.

6 years agoResilient stack: add missing extends and parts
Cédric de Saint Martin [Tue, 30 Jul 2013 10:38:28 +0000 (12:38 +0200)]
Resilient stack: add missing extends and parts

6 years agoKVM SR: move [template] upper
Cédric de Saint Martin [Tue, 30 Jul 2013 10:38:05 +0000 (12:38 +0200)]
KVM SR: move [template] upper

More logical. Also add comments.

6 years agoqemu component: update conditional sections to buildout2-style.
Cédric de Saint Martin [Tue, 30 Jul 2013 10:37:11 +0000 (12:37 +0200)]
qemu component: update conditional sections to buildout2-style.

s.r.cmmi 0.2.0 switched to buildout2-style, so we follow.
In the meantime, use a fixed target-list if it proper conditional
section is not supported.

6 years agoNettle: requires m4 component.
Cédric de Saint Martin [Tue, 30 Jul 2013 10:35:38 +0000 (12:35 +0200)]
Nettle: requires m4 component.

6 years agoUse slapos.recipe.cmmi new features to detect plaftorm if possible.
Cédric de Saint Martin [Tue, 23 Apr 2013 12:31:58 +0000 (14:31 +0200)]
Use slapos.recipe.cmmi new features to detect plaftorm if possible.

6 years agoAdd pixman in LDFLAGS for runtime.
Cédric de Saint Martin [Tue, 23 Apr 2013 12:31:29 +0000 (14:31 +0200)]
Add pixman in LDFLAGS for runtime.

6 years agoSet new name for kvm section for future uses.
Cédric de Saint Martin [Tue, 23 Apr 2013 12:31:17 +0000 (14:31 +0200)]
Set new name for kvm section for future uses.

6 years agoFix configure options in qemu.
Cédric de Saint Martin [Tue, 23 Apr 2013 10:22:11 +0000 (12:22 +0200)]
Fix configure options in qemu.

6 years agoqmeu: Add missing extends.
Cédric de Saint Martin [Fri, 5 Jul 2013 15:10:59 +0000 (15:10 +0000)]
qmeu: Add missing extends.

6 years agoUpdate Qemu to 1.5.1.
Cédric de Saint Martin [Fri, 5 Jul 2013 14:48:05 +0000 (14:48 +0000)]
Update Qemu to 1.5.1.

6 years agognutls 3.x requires nettle.
Cédric de Saint Martin [Fri, 5 Jul 2013 13:31:29 +0000 (15:31 +0200)]
gnutls 3.x requires nettle.

6 years agoAdd nettle component.
Cédric de Saint Martin [Fri, 5 Jul 2013 13:31:21 +0000 (15:31 +0200)]
Add nettle component.

6 years agoKVM: put password in URL itself.
Cédric de Saint Martin [Thu, 20 Jun 2013 15:22:52 +0000 (17:22 +0200)]
KVM: put password in URL itself.

This is still secure because we use HTTPS, then url is encrypted as well.

6 years agoAdd working monitor for KVM.
Vivien Alger [Fri, 5 Jul 2013 13:19:58 +0000 (15:19 +0200)]
Add working monitor for KVM.

6 years agoUpdated gnutls component
Vivien Alger [Tue, 28 May 2013 16:36:50 +0000 (18:36 +0200)]
Updated gnutls component

6 years agoAdded emacs files to .gitignore
Vivien Alger [Mon, 27 May 2013 08:19:50 +0000 (10:19 +0200)]
Added emacs files to .gitignore

6 years agoMerge branch 'erp5-component' into erp5
Kazuhiko Shiozaki [Fri, 5 Jul 2013 12:38:08 +0000 (14:38 +0200)]
Merge branch 'erp5-component' into erp5

6 years agoMerge branch 'master' into erp5-component
Kazuhiko Shiozaki [Fri, 5 Jul 2013 12:36:49 +0000 (14:36 +0200)]
Merge branch 'master' into erp5-component

6 years agoDon't reset zope password each time.
Cédric de Saint Martin [Thu, 4 Jul 2013 08:12:52 +0000 (10:12 +0200)]
Don't reset zope password each time.

By don't creating the inituser file if it has already been done once.

6 years agoversion up : stunnel 4.56.
Kazuhiko Shiozaki [Wed, 3 Jul 2013 12:16:21 +0000 (14:16 +0200)]
version up : stunnel 4.56.

disable FIPS explicitly, otherwise stunnel fails to start with the following output :

Threading:PTHREAD Sockets:POLL,IPv6 SSL:ENGINE,OCSP,FIPS
Reading configuration from file etc/stunnel.conf
FIPS_mode_set: F06D065: error:0F06D065:common libcrypto routines:FIPS_mode_set:fips mode not supported
Line 5: "[remote]": Failed to initialize SSL

6 years agouse stderr instead of /dev/stdout that may be unaccessible in change user context.
Kazuhiko Shiozaki [Wed, 3 Jul 2013 12:15:18 +0000 (14:15 +0200)]
use stderr instead of /dev/stdout that may be unaccessible in change user context.

6 years agodo not output logs in tmp directory.
Kazuhiko Shiozaki [Wed, 3 Jul 2013 11:11:21 +0000 (13:11 +0200)]
do not output logs in tmp directory.

6 years agoremove needless / from rewrite rule.
Kazuhiko Shiozaki [Wed, 3 Jul 2013 11:00:34 +0000 (13:00 +0200)]
remove needless / from rewrite rule.

6 years agoinstall stunnel in generic_varnish to support https backend.
Kazuhiko Shiozaki [Wed, 3 Jul 2013 08:27:49 +0000 (10:27 +0200)]
install stunnel in generic_varnish to support https backend.

6 years agoMerge branch 'erp5'
Kazuhiko Shiozaki [Tue, 2 Jul 2013 21:06:24 +0000 (23:06 +0200)]
Merge branch 'erp5'

6 years agoMerge branch 'erp5-component' into erp5
Kazuhiko Shiozaki [Tue, 2 Jul 2013 21:04:48 +0000 (23:04 +0200)]
Merge branch 'erp5-component' into erp5

6 years agoadd logrotate entry for web-checker.
Kazuhiko Shiozaki [Tue, 2 Jul 2013 13:44:15 +0000 (15:44 +0200)]
add logrotate entry for web-checker.

6 years agoadd newline at the end of logrotate conf file.
Kazuhiko Shiozaki [Tue, 2 Jul 2013 13:43:54 +0000 (15:43 +0200)]
add newline at the end of logrotate conf file.

6 years agoversion up : gzip 1.6.
Kazuhiko Shiozaki [Tue, 2 Jul 2013 12:13:20 +0000 (14:13 +0200)]
version up : gzip 1.6.

6 years agoversion up : groonga-3.0.5, groonga-normalizer-mysql-1.0.5 and mroonga-3.05.
Kazuhiko Shiozaki [Tue, 2 Jul 2013 10:30:54 +0000 (12:30 +0200)]
version up : groonga-3.0.5, groonga-normalizer-mysql-1.0.5 and mroonga-3.05.

6 years agocleanup varnish configuration.
Kazuhiko Shiozaki [Thu, 27 Jun 2013 15:48:35 +0000 (17:48 +0200)]
cleanup varnish configuration.

6 years agoset default_ttl=0 in varnishd
Kazuhiko Shiozaki [Thu, 27 Jun 2013 12:41:46 +0000 (14:41 +0200)]
set default_ttl=0 in varnishd

so that responses without max-age will not be cached.

6 years agoversion up : curl 7.31.0, including security fixes.
Kazuhiko Shiozaki [Thu, 27 Jun 2013 12:06:22 +0000 (14:06 +0200)]
version up : curl 7.31.0, including security fixes.

6 years agosimplify and improve varnish configuration.
Kazuhiko Shiozaki [Thu, 27 Jun 2013 09:48:13 +0000 (11:48 +0200)]
simplify and improve varnish configuration.

6 years agoAdd pyOpenSSL component
Julien Muchembled [Wed, 26 Jun 2013 16:51:28 +0000 (18:51 +0200)]
Add pyOpenSSL component

6 years agojio: revert "Follow naming convention"
Sebastien Robin [Tue, 25 Jun 2013 09:20:23 +0000 (11:20 +0200)]
jio: revert "Follow naming convention"

This revert e7083872ad. This change must be applied
only when we will have newer version of slapos.cookbook

6 years agoAdd pyOpenSSL component
Julien Muchembled [Wed, 26 Jun 2013 16:51:28 +0000 (18:51 +0200)]
Add pyOpenSSL component

6 years agojio: update md5sum of instance.cfg.in
Sebastien Robin [Tue, 25 Jun 2013 07:40:11 +0000 (09:40 +0200)]
jio: update md5sum of instance.cfg.in

(cherry picked from commit ea3bc60070a8868e7266e504c030524e19a72d51)

6 years agojio: revert "Follow naming convention"
Sebastien Robin [Tue, 25 Jun 2013 09:20:23 +0000 (11:20 +0200)]
jio: revert "Follow naming convention"

This revert e7083872ad. This change must be applied
only when we will have newer version of slapos.cookbook

6 years agojio: update md5sum of instance.cfg.in
Sebastien Robin [Tue, 25 Jun 2013 07:40:11 +0000 (09:40 +0200)]
jio: update md5sum of instance.cfg.in

6 years agoMerge branch 'erp5-component' into erp5
Kazuhiko Shiozaki [Mon, 24 Jun 2013 14:07:59 +0000 (16:07 +0200)]
Merge branch 'erp5-component' into erp5

6 years agofixup! enable haproxy admin socket and install haproxyctl script.
Kazuhiko Shiozaki [Mon, 24 Jun 2013 14:06:48 +0000 (16:06 +0200)]
fixup! enable haproxy admin socket and install haproxyctl script.

6 years agoFollow naming convention.
Vincent Pelletier [Mon, 24 Jun 2013 14:02:06 +0000 (16:02 +0200)]
Follow naming convention.

6 years agoDo not split arguments on SEP.
Vincent Pelletier [Mon, 24 Jun 2013 14:01:49 +0000 (16:01 +0200)]
Do not split arguments on SEP.

6 years agoMerge branch 'erp5-component' into erp5
Kazuhiko Shiozaki [Sat, 22 Jun 2013 06:33:08 +0000 (08:33 +0200)]
Merge branch 'erp5-component' into erp5

6 years agorebuild tesseract if libpng or webp so version has changed.
Kazuhiko Shiozaki [Fri, 21 Jun 2013 23:11:04 +0000 (01:11 +0200)]
rebuild tesseract if libpng or webp so version has changed.

6 years agorebuild libdmtx and librsvg if libpng so version has changed.
Kazuhiko Shiozaki [Fri, 21 Jun 2013 23:10:49 +0000 (01:10 +0200)]
rebuild libdmtx and librsvg if libpng so version has changed.

6 years agofixup! do not fail when generating documentation
Kazuhiko Shiozaki [Fri, 21 Jun 2013 13:10:04 +0000 (15:10 +0200)]
fixup! do not fail when generating documentation

older pod2man does not recognise --errors.
anyway we should just skip make in doc directory.

6 years agoMerge branch 'erp5' into erp5-component
Kazuhiko Shiozaki [Fri, 21 Jun 2013 12:52:57 +0000 (14:52 +0200)]
Merge branch 'erp5' into erp5-component

6 years agoMerge branch 'master' into erp5-component
Kazuhiko Shiozaki [Fri, 21 Jun 2013 12:52:01 +0000 (14:52 +0200)]
Merge branch 'master' into erp5-component

6 years agoversion up : webp 0.3.0 and specify so version.
Kazuhiko Shiozaki [Fri, 21 Jun 2013 12:43:56 +0000 (14:43 +0200)]
version up : webp 0.3.0 and specify so version.

6 years agoversion up : poppler 0.22.5.
Kazuhiko Shiozaki [Fri, 21 Jun 2013 12:19:28 +0000 (14:19 +0200)]
version up : poppler 0.22.5.

6 years agoversion up : FreeType 2.5.0.1.
Kazuhiko Shiozaki [Fri, 21 Jun 2013 12:11:09 +0000 (14:11 +0200)]
version up : FreeType 2.5.0.1.

6 years agoversion up : libpng 1.6.2 and specify so version.
Kazuhiko Shiozaki [Fri, 21 Jun 2013 11:42:29 +0000 (13:42 +0200)]
version up : libpng 1.6.2 and specify so version.

6 years agoRaise UserError instead of Exception.
Vincent Pelletier [Fri, 21 Jun 2013 10:22:28 +0000 (12:22 +0200)]
Raise UserError instead of Exception.

Buildout output is less scary this way.

6 years agoAdd missing copyright & license header.
Vincent Pelletier [Fri, 12 Apr 2013 11:29:24 +0000 (13:29 +0200)]
Add missing copyright & license header.

6 years agoRaise UserError instead of Exception.
Vincent Pelletier [Fri, 21 Jun 2013 10:22:28 +0000 (12:22 +0200)]
Raise UserError instead of Exception.

Buildout output is less scary this way.

6 years agoAdd missing copyright & license header.
Vincent Pelletier [Fri, 12 Apr 2013 11:29:24 +0000 (13:29 +0200)]
Add missing copyright & license header.

6 years agoadd my signature for trusted download of erp5
Aurélien Calonne [Thu, 20 Jun 2013 12:30:18 +0000 (14:30 +0200)]
add my signature for trusted download of erp5

6 years agoslapos stack: Add new explicit dependencies of slapos.core.
Cédric de Saint Martin [Thu, 20 Jun 2013 12:14:39 +0000 (14:14 +0200)]
slapos stack: Add new explicit dependencies of slapos.core.

6 years agodo not fail when generating documentation
Aurélien Calonne [Thu, 20 Jun 2013 09:05:05 +0000 (11:05 +0200)]
do not fail when generating documentation

recent pod2man version does not work with wget documentation and make the whole compilation failed