Red Hat Bugzilla – Bug 1286565
Warn about non-replica 3 gluster volume instead of failing connection to server
Last modified: 2016-02-18 06:00:27 EST
Description of problem:
In oVirt 3.5, admins were able to create gluster sds with any volume type. However, in 3.6 and because we recommend using replica 3 volumes, we enforced using only replica 3 volumes. Enforcing means not allowing admins to create non-replica 3 volumes (although admins were still able to configure supported replicas).
This enforcement introduced major issue when upgrading deployments using non-replica 3 volumes. Actually, 3.5 deployments using non-replica 3 volumes stopped working when upgraded to 3.6.
We would like to have the following behavior:
1. Allow creating sds with any replica count
2. If replica count is not 3, display an alert to the admin
*** Bug 1287211 has been marked as a duplicate of this bug. ***
We should warn also when connecting to existing gluster storage domain, not only when creating a new gluster storage domain.
The work related to alerts will be tracked in following bug:
Please note doc-text for this bug is provided here: https://bugzilla.redhat.com/1123052
oVirt 3.6.2 RC1 has been released for testing, moving to ON_QA
Please note that log message is presented only when replica count is not supported as defined in "allowed_replica_counts" config value. By default, replica 1 and 3 are supported.
In addition, the log message appears in vdsm log. Look for:
"Unsupported replica count"
"please upgrade volume to replica 3"
(In reply to Ala Hino from comment #6)
> For clarification:
> Please note that log message is presented only when replica count is not
> supported as defined in "allowed_replica_counts" config value. By default,
> replica 1 and 3 are supported.
> In addition, the log message appears in vdsm log. Look for:
> "Unsupported replica count"
> "please upgrade volume to replica 3"
Displaying an alert to the admin is not in the scope if this bug, see bug 1291705
jsonrpc.Executor/4::WARNING::2016-01-05 18:23:25,517::storageServer::350::Storage.StorageServer.MountConnection::(validate) Unsupported replica count (2) for volume u'acanan_replica5', please upgrade volume to replica 3