RETIRED, Lightweight composition layer for Puppet TripleO
Go to file
Michele Baldessari 8e4c5065a6 Fix nic selection when no nic is specified
This is a way to reinstate change
https://review.opendev.org/c/openstack/puppet-tripleo/+/761833 which was
supposed to remove a workaround for VIP selection on IPv6. Turns out
the workaround is still needed because the resource-agent for IPaddr2
is still problematic with IPv6:
https://bugzilla.redhat.com/show_bug.cgi?id=1902851

With this change we still force a nic when using ipv6 except in the
case a user specifies the nic via the tripleo::pacemaker::force_nic
hiera key.

Tested this and I can correctly bind the VIPs as expected:
    tripleo::pacemaker::force_nic: lo
    force_vip_nic_overrides:
      redis_vip: vlan20
      ovn_dbs_vip: vlan20

[root@controller-2 ~]# grep -ir ovn_dbs_v /etc/puppet/hieradata/
/etc/puppet/hieradata/all_nodes.json:    "ovn_dbs_vip": "172.17.1.107",
/etc/puppet/hieradata/extraconfig.json:        "ovn_dbs_vip": "vlan20",
[root@controller-2 ~]# ip -o a |grep 17.1.107/32
10: vlan20    inet 172.17.1.107/32 brd 172.17.1.255 scope global vlan20\
    valid_lft forever preferred_lft forever

Change-Id: I14bfaf0060093811cddf0cdd9a130b91a3cd0477
(cherry picked from commit c47aa021f0)
2020-12-20 07:53:43 +00:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-03 20:33:05 +02:00
files Add Memcached certificate generation 2020-09-10 13:33:07 +00:00
lib Remove package_manifest 2020-09-22 10:09:27 -04:00
manifests Fix nic selection when no nic is specified 2020-12-20 07:53:43 +00:00
releasenotes Allow to specify a nic for the VIPs 2020-11-12 12:47:17 +00:00
spec Merge "Make nova_metadata use source LB strategy" 2020-10-24 01:16:20 +00:00
templates Puppet config options for AMQP1 sensubility transport 2020-10-21 13:51:25 -04:00
zuul.d Simplify tags in consumer jobs 2020-10-26 12:55:36 -03:00
.gitignore Dissuade .gitignore references to personal tools 2018-10-08 11:47:08 +08:00
.gitreview Update .gitreview for stable/victoria 2020-10-30 15:50:37 +00:00
.sync.yml Initial msync run for all Puppet OpenStack modules 2015-08-18 14:30:54 +02:00
Gemfile Use openstack_spec_helper from zuul checkout 2020-08-30 23:06:53 +02:00
LICENSE Add basic structure for a Puppet module 2015-02-02 11:39:21 -05:00
Puppetfile_extras Add amqp send queue limit for collectd 2020-10-12 14:14:27 +02:00
README.md Add the missing ':' in README 2018-07-28 07:57:53 +00:00
Rakefile Composable HA 2017-01-25 19:32:31 +00:00
bindep.txt Add Puppet package to bindep, for module build 2017-10-27 13:50:15 -07:00
metadata.json Bump metadata to 13.4.0 preparing to create stable/victoria branch 2020-10-28 13:43:43 +02: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/victoria 2020-10-30 15:50:39 +00:00

README.md

Team and repository tags

Team and repository tags

puppet-tripleo

Lightweight composition layer for Puppet TripleO.

Contributing