wrong datatype key in cmap - corosync-qdevice don't start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
corosync-qdevice (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
root@ores2:~# cat /etc/debian_version
9.1
root@ores2:~# dpkg -la | grep coro
ii corosync 2.4.2-3 amd64 cluster engine daemon and utilities
ii corosync-qdevice 2.4.2-3 amd64 cluster engine quorum device daemon
root@ores2:~# pcs quorum device add model net host=oresq algorithm=lms
Setting up qdevice certificates on nodes...
ores2: Succeeded
ores1: Succeeded
Enablingcorosyn
Error: 192.168.9.58: Enabling corosync-qdevice failed
root@ores2:~# corosync-qdevice -df
Nov 22 16:10:33 debug Initializing votequorum
Nov 22 16:10:33 debug shm size:1048589; real_size:1052672; rb->word_
Nov 22 16:10:33 debug shm size:1048589; real_size:1052672; rb->word_
Nov 22 16:10:33 debug shm size:1048589; real_size:1052672; rb->word_
Nov 22 16:10:33 debug Initializing local socket
Nov 22 16:10:33 debug Registering qdevice models
Nov 22 16:10:33 debug Configuring qdevice
Nov 22 16:10:33 debug Configuring master_wins
Nov 22 16:10:33 debug Getting configuration node list
Nov 22 16:10:33 debug Initializing qdevice model
Nov 22 16:10:33 debug Initializing qdevice_
Nov 22 16:10:33 debug Registering algorithms
Nov 22 16:10:33 debug Initializing NSS
Nov 22 16:10:33 debug Cast vote timer remains stopped.
Nov 22 16:10:33 crit 50:50 split algorithm works only if quorum.device.votes configuration key is set to 1!
Nov 22 16:10:33 error Algorithm init failed
root@ores2:~# corosync-cmapctl | grep quorum.
quorum.device.votes (str) = 1
root@ores2:~# corosync-cmapctl -s quorum.device.votes u32 1
root@ores2:~# corosync-cmapctl | grep quorum.device.votes
quorum.device.votes (u32) = 1
root@ores2:~# corosync-qdevice -df
Nov 22 16:11:31 debug Initializing votequorum
Nov 22 16:11:31 debug shm size:1048589; real_size:1052672; rb->word_
Nov 22 16:11:31 debug shm size:1048589; real_size:1052672; rb->word_
Nov 22 16:11:31 debug shm size:1048589; real_size:1052672; rb->word_
Nov 22 16:11:31 debug Initializing local socket
Nov 22 16:11:31 debug Registering qdevice models
Nov 22 16:11:31 debug Configuring qdevice
Nov 22 16:11:31 debug Configuring master_wins
Nov 22 16:11:31 debug Getting configuration node list
Nov 22 16:11:31 debug Initializing qdevice model
Nov 22 16:11:31 debug Initializing qdevice_
Nov 22 16:11:31 debug Registering algorithms
Nov 22 16:11:31 debug Initializing NSS
Nov 22 16:11:31 debug Cast vote timer remains stopped.
Nov 22 16:11:31 debug Initializing cmap tracking
Nov 22 16:11:31 debug Waiting for ring id
Nov 22 16:11:31 debug Votequorum nodelist notify callback:
Nov 22 16:11:31 debug Ring_id = (1.220)
Nov 22 16:11:31 debug Node list (size = 2):
Nov 22 16:11:31 debug 0 nodeid = 1
Nov 22 16:11:31 debug 1 nodeid = 2
Nov 22 16:11:31 debug Algorithm decided to not send list and result vote is No change
...
now works...
Best regards,
Erik Ilavsky
Changed in corosync (Ubuntu): | |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: ubuntu-ha |
no longer affects: | corosync (Ubuntu) |
Changed in corosync-qdevice (Ubuntu): | |
status: | New → Triaged |
assignee: | nobody → Rafael David Tinoco (rafaeldtinoco) |
Changed in corosync-qdevice (Ubuntu): | |
assignee: | Rafael David Tinoco (rafaeldtinoco) → nobody |
Changed in corosync-qdevice (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in corosync-qdevice (Ubuntu Groovy): | |
status: | Triaged → Fix Released |
Changed in corosync-qdevice (Ubuntu Focal): | |
status: | New → Fix Released |
Note: This needs more time or more corosync experience for a RCA.
@Erik - if in the meantime you found more on this let us know.