Age | Commit message (Collapse) | Author | Files | Lines |
|
Adds a class to configure fence devices and a helper function which
helps to select the devices for configuration on appropriate nodes.
Depends on patches outside OpenStack's Gerrit:
https://github.com/redhat-openstack/puppet-pacemaker/pull/50
https://github.com/redhat-openstack/puppet-pacemaker/pull/52
Change-Id: I819fc8c126ec47cd207c59b3dcf92ff699649c5a
|
|
This patch optionally creates new virtual IPs for
the storage, storage_mgmt, and internal_api
networks if ip addresses are provided.
Additionally the HAproxy configuration is updated
to use hiera lookups to obtain virtual IPs for
alternate networks. By default the ctlplane
VIP is still used.
Change-Id: I20483574920a1da689374b0eb1b39b0391c3d243
|
|
This patch updates the loadbalancer class so that it
defaults to trying to use the node IP list for each
respective service. This data is provided via Hiera
directly (all-nodes-config provides it via the Heat
templates).
By default the ctlplane IP address list is still used
if no service node IP list is provided.
Change-Id: I34cbdf8bd525e6ab61859fe8b8c18fe613dabbfe
|
|
This patch removes the public VIP for the nova metadata
and glance registry services.
Change-Id: I0878f7b3eeed6e16c5d30bdf76ebca56eb49d042
|
|
There are two methods included: Setting $service_certificate will
enable SSL for all public endpoints with the same cert file, while
service-specific certificate settings allow using a cert file for
just one service.
Change-Id: I6f87ed2ebbea08ff1a0dff981559c8f4fc8b67cc
|
|
The per-instance limit to 150 can easily be reached for the
database when OpenStack services are running on hosts with many
CPUs. The global maxconn is increased as per astapor. See [1].
1. https://bugzilla.redhat.com/show_bug.cgi?id=1218322
Change-Id: Ia9258372ca4f707929f11097193a91c138069725
|
|
We want to let the caller decide upon having the haproxy
service started and enabled or not on boot.
Change-Id: I24a9fd2245a974120892a8887c8b58647c65cba9
|
|
|
|
|
|
|
|
|
|
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
|
|
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
|
|
Change-Id: I98b9b3dbc48009ce255d964ac580e1a31f279f1e
|
|
Enable access to the HAProxy stats page. The listen directive is bound
to the controller virtual IP address.
Change-Id: Ie0012da77ffdd9bfa8f06341aca2d70991558a28
|
|
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
|
|
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
|
|
Since we can have many controller_hosts backend in a setup, we use the
plural term to define it.
Change-Id: I2a46c250bc3325eef9c3128cac2ab45c88b1ae75
|
|
This commit allows to enable backup mode for non master galera node.
Change-Id: I8b27f470ae171d77c8c8283797ff1502ef44e17f
|
|
|
|
This should allow puppet to validate the required params.
Change-Id: I16b6ae1a9fbcb388bfe5a2a95022a2fdffbf0cd1
|
|
- 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>
|
|
Removes the (optional) comment from some of the required
parameters.
Change-Id: I0f2c96e0d77dfdb96d6b246c5f24511773592623
|
|
* Fix Gerrit config to be able to contribute at this module.
* Fix lint issues in adding documentation for tripleo::loadbalancer
Change-Id: If4d40962a4e5612410df441e8862e1870ec123c0
|
|
The Package provider scope needs to be global so this class
won't really help us much. Removing for now.
|
|
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.
|
|
|
|
|
|
This class configures an HAProxy/keepalived setup for TripleO.
|
|
|