Skip to content

Releases: linux-system-roles/ha_cluster

Version 1.8.6

02 Feb 23:29
cac33cc
Compare
Choose a tag to compare

[1.8.6] - 2023-02-02

New Features

  • none

Bug Fixes

  • Fence agent firewall port is restricted to x86_64 architecture. (#106)

Other Changes

  • none

Version 1.8.5

13 Jan 15:10
159d057
Compare
Choose a tag to compare

[1.8.5] - 2023-01-13

New Features

  • none

Bug Fixes

  • Not request password to be specified when purging cluster (#92)

When running the role with ha_cluster_cluster_present: false to purge
cluster passwords are not required
Add a missing bool mapping
do not set hacluster password when it is empty

Other Changes

  • ansible-lint 6.x fixes (#94)
  • Add check for non-inclusive language (#97)

Version 1.8.4

13 Dec 23:30
2bf1767
Compare
Choose a tag to compare

[1.8.4] - 2022-12-13

New Features

  • none

Bug Fixes

  • Allow enabled SBD on disabled cluster (#81)

Currently the sbd.service will not be enabled if the cluster autostart
is disabled. This is not intended behavior as is will effectively break
the feature. We can simply remove the condition to depend on
ha_cluster_start_on_boot as on a RHEL8 system the sbd.service has a
dependencies (Before/After/PartOf/RequiredBy) to cluster related
services which make sure it is only ever started by the cluster (a
manual start is not possible).

Other Changes

  • none

Version 1.8.3

12 Dec 15:38
Compare
Choose a tag to compare

[1.8.3] - 2022-12-12

New Features

  • none

Bug Fixes

  • command warn is not supported in ansible-core 2.14

If users want to suppress the warning, users will need to configure
ansible.cfg.

  • fix ownership of cib.xml

  • update for upcoming pcs release

The upcoming pcs brings stricter validation for resource
configuration to prevent certain types of misconfiguration.

  • tests: add qnetd cleanup

Other Changes

  • none

Version 1.8.2

30 Nov 16:35
Compare
Choose a tag to compare

[1.8.2] - 2022-11-30

New Features

  • none

Bug Fixes

  • fix qnetd check mode

Other Changes

  • none

Version 1.8.1

15 Nov 02:25
Compare
Choose a tag to compare

[1.8.1] - 2022-11-14

New Features

  • none

Bug Fixes

  • none

Other Changes

  • long heading causes problems with md to adoc conversion

The long heading causes problems with md to adoc conversion. Shorten
the length by using abbreviations.

Version 1.8.0

01 Nov 20:28
Compare
Choose a tag to compare

[1.8.0] - 2022-11-01

New Features

  • Use the firewall role and the selinux role from the ha_cluster role

  • Introduce ha_cluster_manage_firewall to use the firewall role to
    manage the high-availability service and the fence-virt port.
    Default to false - means the firewall role is not used.

  • Introduce ha_cluster_manage_selinux to use the selinux role to
    manage the ports in the high-availability service.
    Assign cluster_port_t to the high-availability service ports.
    Default to false - means the selinux role is not used.

  • Add the test check task tasks/check_firewall_selinux.yml for
    verify the ports status.

Note: This pr changes the ha_cluster role's behavior slightly.
It used to configure firewall without any settings if the firewall
service is enabled. With this change made by this pr, unless
ha_cluster_manage_firewall is set to true, the firewall is not
configured.

  • Use the certificate role to create the cert and the key

  • Introduce a variable ha_cluster_pcsd_certificates to set the certificate_requests.

Note: Get mode of /var/lib/pcsd using the stat module and reset it
in the following file for fixing the issue "risky-file-permissions
File permissions unset or incorrect".

  • add support for configuring qnetd

  • add support for configuring qdevice

  • qdevice and qnetd documentation

Bug Fixes

  • fix decoding variables from an Ansible vault

Workaround Ansible issue ansible/ansible#24425
Before fix, the role was failing with the following message:
object of type 'AnsibleVaultEncryptedUnicode' has no len()

  • add a test for vault-encrypted variables

  • adapt tests with vault-encrypted variables for CI

  • use a real temporary directory for test secrets

The tests were writing generated secrets to the directory tests/tmp
which is shared by all tests when running tests in parallel.
Instead, create a real temporary directory for these secrets for the
tests that use generated secrets.

  • fix checking hacluster password

  • update sbd config file template

  • fix installing qnetd and pcs packages

  • fix auth for qnetd host

Other Changes

  • fix linter issues

  • fix qnetd setup in tests

  • fix typos

[1.7.5] - 2022-09-19

19 Sep 23:08
Compare
Choose a tag to compare

New Features

  • none

Bug Fixes

  • only install and setup fence-virt on x86_64 hosts (#64)

fence-virt is not available for any architecture other than x86_64

Other Changes

  • replace yes, no, default with true, false, d

Use true, false, and d instead of yes, no, and default

  • readme: update SBD example (#61)

Version 1.7.4

21 Jul 01:08
a9868b5
Compare
Choose a tag to compare

[1.7.4] - 2022-07-19

New Features

  • none

Bug Fixes

  • readme: describe limitations of udp transports (#56)

Other Changes

  • make all tests work with gather_facts: false (#52)

Ensure tests work when using ANSIBLE_GATHERING=explicit

  • make min_ansible_version a string in meta/main.yml (#53)

The Ansible developers say that min_ansible_version in meta/main.yml
must be a string value like "2.9", not a float value like 2.9.

  • Add CHANGELOG.md (#54)

use ansible_play_hosts instead of ansible_play_hosts_all

13 Jun 15:30
df0ab77
Compare
Choose a tag to compare

s/ansible_play_hosts_all/ansible_play_hosts/ where applicable (#51)

The ha_cluster role is sometimes included within other roles.
In the scenario when a play is run against multiple hosts, and some of
them fail prior to including the ha_cluster role, the ha_cluster role
must continue only on the active hosts. Otherwise, the ha_cluster role
tries to operate on failed nodes and fails.