This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
1.9.0 - closer to reality
Bug fixes
- Running the role with python 2.7
- Skipping instances restart when package was updated, but configuration wasn't
- Missing default config for machine with stateboard
- Specifying
cartridge_app_name
other than the TGZ package name - Creating unnamed replicasets with instances without
replicaset_alias
set - Getting control instance:
- Now one not expelled instance should also be alive; it's checked
by creating connection using instances advertise URIs - Control instance should be alive
- If there are some joined instances, but no one of them isn't alive,
getting control instance fails.
- Now one not expelled instance should also be alive; it's checked
set_control_instance
is improved to consider non-joined instance statusedit_topology
step now considers roles dependencies, permanent and hidden roles
and don't perform unnecessary calls if enabled roles list isn't changed
Features
failover_promote
step to promote replicasets leaders- Allowed to skip user and group creation for tgz
- Debug control instance and one not expelled instance
- Timeouts for two-phase commits:
twophase_netbox_call_timeout
twophase_upload_config_timeout
twophase_apply_config_timeout
eval
andeval_on_control_instance
steps to eval code on instances- Step
stop_instance
to stop and disable instance systemd service - Step
start_instance
to start and enable instance systemd service - Step
restart_instance_force
to restart systemd service without any conditions - New
cartridge_failover_params
fields:failover_timeout
fencing_enabled
fencing_timeout
fencing_pause
edit_topology_allow_missed_instances
variable to allow replicasets containing
the instances that are not started yetupload_app_config
step to load the file or directory config
(Cartridge and TDG are supported)
Changes
- Timeout to wait for cluster health after topology editing
renamed fromedit_topology_timeout
toedit_topology_healthy_timeout
cartridge_cluster_cookie
now is required only forconfigure_instance
,
restart_instance
andupload_app_config
steps