-
Notifications
You must be signed in to change notification settings - Fork 94
Open
Description
As the title, here is the current situation. In the error condition when ssh is unreachable, sbd metadata is changed but not for sysconfig. It's a bit "surprising" impression about the discrepancy at the first place.
-
The error message only mention "systemctl is-enabled sbd.service", that is nothing user oriented information. Maybe add a WARNING after the ERROR, to provide information users do care, something like,
WARNING: sbd sysconfig has no change, and can mismatch to the sbd disk metadata due to the above ERROR.
adm@tw-1:~> sudo crm sbd conf watchdog-timeout=120
...
ERROR: sbd.configure: Failed to run command systemctl is-enabled 'sbd.service' on adm@tw-1: adm@tw-1: Permission denied (publickey,password,keyboard-interactive). Environment variable SSH_AUTH_SOCK does no
t exist. Please check whether ssh-agent is available and consider using "sudo --preserve-env=SSH_AUTH_SOCK".
adm@tw-1:~> sudo -E crm sbd configure show sysconfig grep DELAY
Timeout (msgwait) : 120
SBD_DELAY_START=71
adm@tw-1:~> sudo -E crm sbd conf watchdog-timeout=120
adm@tw-1:~> sudo -E crm sbd configure show|grep -e DELAY -e msgwait
Timeout (msgwait) : 240
SBD_DELAY_START=281
- Furthermore, if any node is unreachable, it is not safe (or, perhaps better not allow) to change any sbd static configuration. That says, only
crm sbd configure show
andcrm sbd status
are doable in such case.
Metadata
Metadata
Assignees
Labels
No labels