Comment 9 for bug 1614038

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
I have to beg all your pardon - nothing has happened since the last updates.
I'm trying to clear a few bugs that seem to expire by being dormant.

On this one the first that I can provide is a trivial reproduction which often
helps to get more general developers to focus on an issue and not feel blocked
on a particular configuration.

# in VM needed for extra modules
$ sudo apt install linux-image-extra-virtual
$ sudo apt install ocfs2-tools
# very very basic config
$ sudo sed -i 's/O2CB_ENABLED=false/O2CB_ENABLED=true/' /etc/default/o2cb
$ sudo sed -i '/localhost/a192.168.122.237 ocfs2node1' /etc/hosts
$ sudo o2cb add-cluster ocfs2
$ sudo o2cb add-node --ip 192.168.122.237 ocfs2 $(hostname)
# should be running on restart now
$ sudo systemctl restart o2cb
$ sudo systemctl status o2cb
$ sudo o2cb cluster-status

That is enough to get all initialized and see that you have
$ cat /sys/kernel/config/cluster/ocfs2/heartbeat/threshold
31