RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari d632847311 Allow to specify a nic for the VIPs + Fix nic selection when no nic is specified
This review is a merge of:
Revert of Revert "Cleanup old workaround for ipv6 VIPs": Ia41046f148e0593ea773e8409494ce5dcca4b7a2
Fix nic selection when no nic is specified : I14bfaf0060093811cddf0cdd9a130b91a3cd0477
Allow to specify a nic for the VIPs : Iaa2676655d97a66237a3bd6066985f87d3565a4d↲

We do this merge only for ussuri and train because in master and
victoria we landed "Allow to specify a nic for the VIPs" before doing
the revert of the "Cleanup old workaround for ipv6 VIPs".

So this change restores the exact state as we have in master and
victoria with a single review. We do not split the reviews because
if the Ia41046f148e0593ea773e8409494ce5dcca4b7a2 merges without
the other two we will have ipv6 broken.

This review allows the operator to specify a nic to bind to a VIP to.
It does so in two different ways:
1) Via a global 'tripleo::pacemaker::force_nic' hiera key.
For example setting 'tripleo::pacemaker::force_nic: lo'
will make sure all VIPs are added to the 'lo' network interface.

2) The global setting can be overriden via a custom hiera
hash called 'force_vip_nic_overrides' so that we can
override the binding nic for specific VIPs. For example:

  force_vip_nic_overrides:
    redis_vip: vip-test-nic
    ovn_dbs_vip: vip-test-nic

Will make sure that the redis_vip and the ovn_dbs_vip will
be bound to the 'vip-test-nic'.

Tested with:
  tripleo::pacemaker::force_nic: lo
  force_vip_nic_overrides:
    redis_vip: vip-test-nic
    ovn_dbs_vip: vip-test-nic

And correctly got all VIPs running on lo:
1: lo    inet 192.168.24.9/32 scope global lo\       valid_lft forever preferred_lft forever
1: lo    inet 172.23.1.9/32 scope global lo\       valid_lft forever preferred_lft forever

except for redis and ovn_dbs which are on the vip-test-nic:
5: vip-test-nic    inet 172.25.1.7/32 scope global vip-test-nic\       valid_lft forever preferred_lft forever

Note: The interface is intentionally kept in hiera as this change
will only be needed whenever BGP runs on all nodes and advertises the
VIPs across the ASN (i.e. we do not want to make it very exposed just
yet)

Change-Id: I0630ae124dac304614431e67975767206555e9aa
2020-12-20 10:49:59 +01:00
doc Follow the new PTI for document build 2018-02-28 14:42:12 +08:00
files Add certmonger-etcd-refresh.sh script 2020-08-04 10:41:17 -07:00
lib HA: ensure scaling up galera does not cause promotion errors 2020-08-25 07:36:34 +00:00
manifests Allow to specify a nic for the VIPs + Fix nic selection when no nic is specified 2020-12-20 10:49:59 +01:00
releasenotes Allow to specify a nic for the VIPs + Fix nic selection when no nic is specified 2020-12-20 10:49:59 +01:00
spec Merge "Allow overriding share protocols with manila" into stable/ussuri 2020-10-15 01:12:17 +00:00
templates Puppet config options for AMQP1 sensubility transport 2020-10-28 12:57:55 +00:00
zuul.d [ussuri] Migrate to content provider jobs/template 2020-12-07 12:39:08 +00:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:47:08 +08:00
.gitreview Update .gitreview for stable/ussuri 2020-05-26 17:14:00 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07:00
Gemfile Update Gemfile for stable/ussuri 2020-07-17 11:55:16 +09:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
metadata.json Bump metadata for ussuri 12.4.1 release 2020-10-02 10:18:59 +03:00
Puppetfile_extras Change branch name for selinux_core puppet module 2020-09-04 11:08:55 +00:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
README.md Add release note link in README 2018-06-27 22:47:34 +08:00
setup.cfg Force to use markdown to prevent pypi issue 2019-07-01 20:45:00 +02:00
setup.py chmod +x setup.py 2017-10-06 12:28:56 -07:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/ussuri 2020-05-26 17:14:03 +00:00

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing