OCF Resource Agent "Filesystem" is still CMAN dependent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ocfs2-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
resource-agents (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Won't Fix
|
Undecided
|
Unassigned | ||
Xenial |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The script /usr/lib/
In the version of the script provided with 14.04, when the filesystem is of type "ocfs2", the script incorrectly checks that the HA_cluster_type is "cman". However is no longer used with 14.04. The script thus fails with the error "<your device>: ocfs2 is not compatible with your environment."
The script should instead have checked to ensure that the HA_cluster_type is set to "corosync".
The following patch needs to be applied to correct the error:
--- Filesystem 2013-12-16 07:41:25.000000000 +0000
+++ Filesystem.new 2015-01-19 19:01:30.181772112 +0000
@@ -338,7 +338,7 @@ ocfs2_init()
# not need this:
OCFS2_SLES10=""
- if [ "X$HA_cluster_type" = "Xcman" ]; then
+ if [ "X$HA_cluster_type" = "Xcorosync" ]; then
return
elif [ "X$HA_cluster_type" != "Xopenais" ]; then
if grep -q "SUSE Linux Enterprise Server 10" /etc/SuSE-release >/dev/null 2>&1 ; then
tags: | added: server-next |
Changed in resource-agents (Ubuntu Trusty): | |
status: | Triaged → Won't Fix |
Changed in resource-agents (Ubuntu Xenial): | |
status: | Incomplete → Won't Fix |
Status changed to 'Confirmed' because the bug affects multiple users.