Summary: ocfs2 from the update repo doesn't work at all Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: firstname.lastname@example.org ReportedBy: email@example.com QAContact: firstname.lastname@example.org Found By: --- Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
I installed ocfs2 with all dependencies via "zypper in ocfs2-tools-o2cb ocfs2console". The packages are taken from the update-oss repository. Then I created a 2 TB file system - the output ended with "mkfs.ocfs2 successful". Then I created a cluster.conf manually. To check my work, I tried:
o2cb list-clusters o2cb: Unknown code ____ 251 while loading cluster configuration file '/etc/ocfs2/cluster.conf'
ocfs2console Traceback (most recent call last): File "/usr/sbin/ocfs2console", line 33, in <module> from ocfs2interface.console import main File "/usr/lib64/python2.7/site-packages/ocfs2interface/console.py", line 26, in <module> from mount import mount, unmount File "/usr/lib64/python2.7/site-packages/ocfs2interface/mount.py", line 20, in <module> import ocfs2 ImportError: /usr/lib64/python2.7/site-packages/ocfs2interface/ocfs2module.so: undefined symbol: io_queue_release
OK, so I removed my cluster.conf and used the commands:
o2cb add-cluster OCFS2WERNAS o2cb add-node --ip 192.168.2.55 OCFS2WERNAS klops o2cb add-node --ip 192.168.2.77 OCFS2WERNAS sieben o2cb add-node --ip 192.168.2.44 OCFS2WERNAS thinkt51 o2cb list-nodes OCFS2WERNAS node: number = 0 name = klops ip_address = 192.168.2.55 ip_port = 7777 cluster = OCFS2WERNAS
And really, cluster.conf only holds one node. Adding the nodes with their respective --number does not help. Manually editing the cluster.conf does not bring any of those in the output of "o2cb list-nodes OCFS2WERNAS" - still one node. Changing "heartbeat_mode" from local to global does not make any change in the behaviour either. Running "rco2cb configure" and repeating all steps afterwards (with o2cb running) does not help either. On contrast, all manual changes to the nodes in cluster.conf are lost again, the changes of "heartbeat_mode" remains.
And since ocfs2console does not start, I have no means to add any nodes. How can I set up a working OCFS2 cluster with at least 3 nodes? It was easy using all this on SLES 11 (with HA extension)...
Steps to Reproduce: see details Actual Results: only one node is added to the cluster.conf, and only one node is recognized by o2cb.
Expected Results: I expeted to find all the nodes that I want in the cluster.conf
This has been mentioned in Bug 822190 four weeks ago, but the bug is still "new".