Releases: linux-system-roles/ha_cluster
Version 1.8.6
[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
[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
Version 1.8.4
[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
[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
[1.8.2] - 2022-11-30
New Features
- none
Bug Fixes
- fix qnetd check mode
Other Changes
- none
Version 1.8.1
[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
[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
Version 1.7.4
[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
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.