Description of problem: GlusterFS Storage Domain is missing in ovirt-engine-setup(a.k.a. rhevm-setup) Version-Release number of selected component (if applicable): rhevm-setup-3.3.0-0.38.rc.el6ev.noarch Steps to Reproduce: 1. Execute rhevm-setup command Actual results: Default storage type: (NFS, FC, ISCSI, POSIXFS) [NFS]: Expected results: Default storage type: (NFS, FC, ISCSI, POSIXFS, GLUSTERFS) [NFS]:
Hi, thank you for the report but this is like that by design. Gluster storage domain are available only when you answer Gluster at the question: "Application mode (Both, Virt, Gluster)" If you answer Gluster, the question about "Default storage type: (NFS, FC, ISCSI, POSIXFS) [NFS]:" is not asked at all.
Sorry. Representation of I was bad. I pointed out about Storage Type. I want to re-open this. Domain Type GLUSTERFS:7 is missing in storage type list of ovirt-setup-setup. I propose the following modifications. ***my environment checkout by rhev-3.3.1 [htaira@alien ovirt-engine.git]$ git diff diff --git a/packaging/setup/plugins/ovirt-engine-setup/config/domain_type.py b/packaging/setup/plugins/ovirt-engine-setup/config/domain_ty index cf85dd3..77a65c3 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/config/domain_type.py +++ b/packaging/setup/plugins/ovirt-engine-setup/config/domain_type.py @@ -39,6 +39,7 @@ class Plugin(plugin.PluginBase): 'fc': 2, 'iscsi': 3, 'posixfs': 6, + 'glusterfs': 7, } def __init__(self, context): @@ -92,7 +93,8 @@ class Plugin(plugin.PluginBase): 'NFS', 'FC', 'ISCSI', - 'POSIXFS' + 'POSIXFS', + 'GLUSTERFS' ), caseSensitive=False, default=osetupcons.Defaults.DEFAULT_CONFIG_STORAGE_TYPE,
I'm fine adding that, but it will still be asked only if application mode is virt or both. Will it work also if application mode is virt? Are there other implications in having it set like GLUSTERFS?
> I'm fine adding that, but it will still be asked only if application mode is virt or both. I think so. I changed subject of this Bz.
(In reply to Hajime Taira from comment #2) > Sorry. Representation of I was bad. > I pointed out about Storage Type. I want to re-open this. > > Domain Type GLUSTERFS:7 is missing in storage type list of ovirt-setup-setup. > I propose the following modifications. Patch pushed in gerrit, currently under review.
(In reply to Sandro Bonazzola from comment #3) > I'm fine adding that, but it will still be asked only if application mode is > virt or both. > > Will it work also if application mode is virt? > Are there other implications in having it set like GLUSTERFS? The oVirt setup /consumes/ this storage. Exactly the same way as by choosing iSCSI you're assuming the storage admin has configures the host(s) to use iSCSI with the given details, you should be able to choose GlusterFS and assume you have Gluster storage properly configured.
I think a better approach for 3.4 would be to remove the question altogether, considering these are all shared storage domain types, and 3.4 has 'shared' DC type making this question obsolete.
Re-opening as per comment #7
Now we have only shared/local types so it makes this obsoletes. See https://bugzilla.redhat.com/show_bug.cgi?id=1138249 *** This bug has been marked as a duplicate of bug 1138249 ***