Public bug reported:

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
Enablingcorosync-qdevice...
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_size:263168
Nov 22 16:10:33 debug   shm size:1048589; real_size:1052672; 
rb->word_size:263168
Nov 22 16:10:33 debug   shm size:1048589; real_size:1052672; 
rb->word_size:263168
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_net_instance
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
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_size:263168
Nov 22 16:11:31 debug   shm size:1048589; real_size:1052672; 
rb->word_size:263168
Nov 22 16:11:31 debug   shm size:1048589; real_size:1052672; 
rb->word_size:263168
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_net_instance
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

** Affects: corosync (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1733889

Title:
  wrong datatype key in cmap - corosync-qdevice don't start

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/corosync/+bug/1733889/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to