integ/config/puppet-modules
Erickson Silva de Oliveira 919a5ab781 Ensure drbd-cephmon becomes primary
Sometimes BnR doesn't complete because the drbd-cephmon
manifest isn't applied when trying to make it primary.
After testing, it was identified that this is caused
by a race condition.

Therefore, to ensure that drbd-cephmon becomes primary,
as this is an intermittent issue, a script was added
that contains a 'for loop', where up to 10 attempts are
made to execute the drbdadm command with an interval of
100ms between each one.

Additionally, in some tests the target was not executed due
to onlyif, when the state was other than 'inconsistent'.
In this case, since the drbd_make_primary_drbd-cephmon
target is running only when it is an initial setup, the
onlyif attribute ends up being redundant and there is no
need to have it.

Although the 'overwrite-data-of-peer' argument has been
replaced by 'force', they are both the same thing, they
are aliases, as can be seen at:
https://linbit.com/man/v84/?linbitman=drbdsetup.8.html

Test Plan:
PASS: Build puppet-drbd package
PASS: Backup and restore on AIO-DX system

Closes-Bug: 2031542
Depends-On: https://review.opendev.org/c/starlingx/ansible-playbooks/+/900555

Change-Id: I497bb02123fb9e4a48424d8bc36325cfd6268199
Signed-off-by: Erickson Silva de Oliveira <Erickson.SilvadeOliveira@windriver.com>
2023-11-09 20:44:29 +00:00
..
openstack Add puppet-memcached with FQDN support 2023-11-01 15:19:13 -03:00
puppet-boolean-1.0.2/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-boolean-2.0.2/debian meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
puppet-create_resources/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-dnsmasq meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
puppet-drbd-0.3.1/centos Fix ceph-mon resize on AIO-DX 2022-02-17 07:45:13 -05:00
puppet-drbd-0.5.2/debian Ensure drbd-cephmon becomes primary 2023-11-09 20:44:29 +00:00
puppet-etcd-1.12.3/debian tox: fixed warnings 2023-09-06 17:54:55 -03:00
puppet-filemapper/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-firewall-1.8.2/centos Enable puppet-firewall parsing of --random-fully rules 2022-05-10 11:17:08 -04:00
puppet-haproxy-1.5.0/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-hash2stuff Add puppet package hash2stuff 2023-05-09 15:36:30 -03:00
puppet-ldap Update debian packages for pkg-versioning 2023-03-15 14:44:32 +00:00
puppet-lvm/centos puppet-lvm: add support for mpath device 2022-05-23 17:04:06 -03:00
puppet-lvm-1.4.0/debian puppet-lvm: Handle multipath persistent device support 2023-02-13 16:24:39 -03:00
puppet-memcached/debian Add puppet-memcached with FQDN support 2023-11-01 15:19:13 -03:00
puppet-network Replace IPAddress gem with built-in IPAddr class 2023-06-19 12:20:16 -03:00
puppet-nslcd/centos Remove puppet-nslcd package on Debian 2022-09-01 09:54:17 -04:00
puppet-postgresql-4.8.0/centos Make /usr readonly to support OSTree 2022-04-29 11:19:37 -04:00
puppet-puppi meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
puppet-rabbitmq-5.5.0/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-rabbitmq-8.5.0/debian tox: fixed warnings 2023-09-06 17:54:55 -03:00
puppet-staging meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00
puppet-stdlib-4.12.0/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
puppet-zitrlp-strongswan/debian Add puppet package zitrlp-strongswan 2023-10-30 17:06:54 -03:00
puppetlabs-firewall-1.12.0/debian Adjust puppet haproxy and firewall dependencies 2023-06-14 19:59:28 +00:00
puppetlabs-haproxy-2.1.0/debian tox: fixed warnings 2023-09-06 17:54:55 -03:00
puppetlabs-mysql-8.1.0/debian Debian: Fix deps on openstacklib, mysql modules 2022-06-01 18:02:33 -03:00
puppetlabs-postgresql-8.0.0/debian Update integ debian package ver based on git 2023-03-01 18:53:50 +00:00
puppetlabs-stdlib-5.0.0/debian meta_data.yaml: add sha256sum checksum 2022-03-03 14:30:40 +08:00