summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
Jenkins [Mon, 20 Apr 2015 15:52:15 +0000 (15:52 +0000)]
Merge "Enable access to HAProxy stats page"
Jenkins [Mon, 20 Apr 2015 15:50:57 +0000 (15:50 +0000)]
Merge "Add $::galera_bootstrapped fact"
Jenkins [Mon, 20 Apr 2015 15:43:39 +0000 (15:43 +0000)]
Merge "Do not make RabbitMQ listen on public vip"
Jenkins [Thu, 16 Apr 2015 21:02:56 +0000 (21:02 +0000)]
Merge "Loadbalancer: Add support for Redis"
Yanis Guenane [Thu, 16 Apr 2015 19:16:34 +0000 (21:16 +0200)]
Do not make RabbitMQ listen on public vip
Currently RabbitMQ is listening on both private vip and public vip.
There is no need for RabbitMQ to listen on the public vip, so we remove
it.
Change-Id: I82ea2e1e18b7710ae391ffe4903439a9330b1461
Yanis Guenane [Tue, 7 Apr 2015 10:42:35 +0000 (12:42 +0200)]
Loadbalancer: Add support for Redis
Add support for Redis in the loadbalancer setup.
Redis loadbalancing system is particular as it does not provide
clustering capabilities yet, hence this pattern[1] will be applied.
[1] https://github.com/falsecz/haredis
Change-Id: I80a6c284af9eceb6b669a03c5d93256261523331
Yanis Guenane [Thu, 9 Apr 2015 08:01:24 +0000 (10:01 +0200)]
Enable access to HAProxy stats page
Enable access to the HAProxy stats page. The listen directive is bound
to the controller virtual IP address.
Change-Id: Ie0012da77ffdd9bfa8f06341aca2d70991558a28
Yanis Guenane [Thu, 9 Apr 2015 15:03:52 +0000 (17:03 +0200)]
Add $::galera_bootstrapped fact
This fact let puppet know if the node is part of a Galera cluster
already or not.
Change-Id: I4ff0512a0d15ac4797c8c64ed76c0fd3fc31b45c
Yanis Guenane [Thu, 2 Apr 2015 06:48:31 +0000 (08:48 +0200)]
Rethink the backup option for Galera
Initial logic for the backup option in the HAProxy was wrong and
wouldn't do what expected.
Current logic is implemented as follow
1. User passes an array of Galera IP addresses
2. User passes an array of Galera hostnames
3. User passes a Galera master IP and Galera master hostname
Result :
* Set a backend line with Galera master IP and Galera master hostname
* Remove those data from the two arrays of IP and Hostnames
* Set backend lines for whatever is left on those array with the backup
option on
Change-Id: Idfd72de4fafdce2a9c16945961fee996a98049b7
Yanis Guenane [Wed, 1 Apr 2015 07:31:04 +0000 (09:31 +0200)]
Fix backend line syntax
Currently since only one node was the backend until this commit[1],
servername was deducted from the $::hostname fact. Since commit[1],
several node can be the backend for a service, so we need to provide
their servername also.
The current situation result with HAProxy refusing to start because
current lint look like
server 192.0.2.2:8776 check fall 5 inter 2000 rise 2
when they really should look like
server MYHOSTNAME 192.0.2.2:8776 check fall 5 inter 2000 rise 2
Resulting in error message : 'server' expects <name> and <addr>[:<port>]
as arguments.
[1] https://review.openstack.org/#/c/168044/
Change-Id: I75424cf02f2d24308f33105f67d82a8d411e372d
Yanis Guenane [Tue, 31 Mar 2015 08:35:18 +0000 (10:35 +0200)]
Rename controller_host to controller_hosts
Since we can have many controller_hosts backend in a setup, we use the
plural term to define it.
Change-Id: I2a46c250bc3325eef9c3128cac2ab45c88b1ae75
Yanis Guenane [Thu, 26 Mar 2015 16:19:48 +0000 (17:19 +0100)]
loadbalancer: Enable backup mode for Galera
This commit allows to enable backup mode for non master galera node.
Change-Id: I8b27f470ae171d77c8c8283797ff1502ef44e17f
Jenkins [Wed, 18 Mar 2015 13:17:04 +0000 (13:17 +0000)]
Merge "loadbalancer: drop undef on required params"
Dan Prince [Fri, 13 Mar 2015 20:15:12 +0000 (16:15 -0400)]
loadbalancer: drop undef on required params
This should allow puppet to validate the required params.
Change-Id: I16b6ae1a9fbcb388bfe5a2a95022a2fdffbf0cd1
Gael Chamoulaud [Tue, 17 Mar 2015 09:34:29 +0000 (10:34 +0100)]
spec: updates for rspec-puppet 2.x and rspec 3.x
- This patch aim to update our specs test in order to work with the
rspec-puppet release 2.0.0, in the mean time, we update rspec syntax order
to be prepared for rspec 3.x move.
Change-Id: If67d5d39d7b94785c811a16703cdfe9782df2d24
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Gael Chamoulaud [Tue, 17 Mar 2015 09:21:58 +0000 (10:21 +0100)]
Add Puppet 4.x lint checks
- This changes the puppet-lint requirement to 1.1.x, so that we can use
puppet-lint plugins. Most of these plugins are for 4.x compat, but some just
catch common errors.
Change-Id: I2660b960b6ef696bd5dc8a6965b4a9aa25409b66
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
Dan Prince [Fri, 13 Mar 2015 14:07:47 +0000 (10:07 -0400)]
loadbalancer: document required parameters
Removes the (optional) comment from some of the required
parameters.
Change-Id: I0f2c96e0d77dfdb96d6b246c5f24511773592623
Emilien Macchi [Fri, 6 Feb 2015 18:36:49 +0000 (13:36 -0500)]
First commit on Stackforge: fix lint & Gerrit config
* Fix Gerrit config to be able to contribute at this module.
* Fix lint issues in adding documentation for tripleo::loadbalancer
Change-Id: If4d40962a4e5612410df441e8862e1870ec123c0
Dan Prince [Thu, 5 Feb 2015 02:24:06 +0000 (21:24 -0500)]
Drop package_provider
The Package provider scope needs to be global so this class
won't really help us much. Removing for now.
Emilien Macchi [Wed, 4 Feb 2015 15:27:34 +0000 (10:27 -0500)]
Merge pull request #3 from dprince/norpm
Add norpm package provider and helper class.
Dan Prince [Wed, 4 Feb 2015 15:23:55 +0000 (10:23 -0500)]
Add norpm package provider and helper class.
This patch adds a new norpm package provider that extends the
Puppet provided default RPM package provider and stubs out
all of the package install, update, purging so that no
packages will get installed. This may be useful when
deploying pre-built images where we effectively just
want to use Puppet for configuration (not installation).
Includes a ::tripleo::package_provider class that will assist
in cleanly disabling package installation via hiera.
Dan Prince [Tue, 3 Feb 2015 13:12:12 +0000 (08:12 -0500)]
Merge pull request #2 from enovance/mysql
First implementation of tripleo::database::mysql
Emilien Macchi [Mon, 2 Feb 2015 18:18:35 +0000 (13:18 -0500)]
First implementation of tripleo::database::mysql
Dan Prince [Mon, 2 Feb 2015 18:09:17 +0000 (13:09 -0500)]
Moved loadbalancer.pp to top level.
Emilien Macchi [Mon, 2 Feb 2015 17:59:36 +0000 (12:59 -0500)]
Merge pull request #1 from dprince/loadbalancer
Add tripleo::loadbalancer.
Dan Prince [Mon, 2 Feb 2015 17:47:15 +0000 (12:47 -0500)]
Add tripleo::loadbalancer.
This class configures an HAProxy/keepalived setup for TripleO.
Emilien Macchi [Mon, 2 Feb 2015 16:46:31 +0000 (11:46 -0500)]
README: basic words for now.
Emilien Macchi [Mon, 2 Feb 2015 16:39:21 +0000 (11:39 -0500)]
Add basic structure for a Puppet module
Emilien Macchi [Mon, 2 Feb 2015 15:28:19 +0000 (10:28 -0500)]
Add .gitreview file
We prepare the repo for being hosting by OpenStack infra.
Emilien Macchi [Mon, 2 Feb 2015 15:15:30 +0000 (10:15 -0500)]
Initial commit