Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1215039

Summary: [HC] - API schema for StorageDomainType is missing glusterfs type
Product: [oVirt] vdsm Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Denis Chaplygin <dchaplyg>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: low Docs Contact:
Priority: low    
Version: ---CC: ahino, amureini, bazulay, bugs, dchaplyg, lbopf, lsurette, mgoldboi, nsoffer, rbalakri, sasundar, sbonazzo, srevivo, tnisan, ykaul, ylavi
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
ylavi: planning_ack+
rule-engine: devel_ack+
ratamir: testing_ack+
Target Release: 4.19.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-12 13:16:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1036731, 1173669    

Description Sandro Bonazzola 2015-04-24 07:42:58 UTC
##
# @StorageDomainType:
#
# An enumeration of Storage Domain types.
#
# @UNKNOWN:   The type is not known
#
# @NFS:       The Storage Domain uses Network File System based storage
#
# @FCP:       The Storage Domain uses FibreChannel based storage
#
# @ISCSI:     The Storage Domain uses iSCSI based storage
#
# @LOCALFS:   The Storage Domain uses storage on the local file system
#
# @CIFS:      The Storage Domain uses CIFS/SMB based storage
#
# @SHAREDFS:  The Storage Domain uses storage from a Linux VFS file system
#
# Since: 4.10.0
# XXX: Need to specify explicit int values for the enum
##
{'enum': 'StorageDomainType',
 'data': ['UNKNOWN', 'NFS', 'FCP', 'ISCSI', 'LOCALFS', 'CIFS', 'SHAREDFS']}

This is missing GLUSTERFS which is referenced in the code with an int constant of value 7, so it should be enumerated after SHAREDFS.

Comment 1 Allon Mureinik 2015-04-26 16:40:42 UTC
Fred, as you're the QA contact, please work with Nir on this issue.

Comment 2 Red Hat Bugzilla Rules Engine 2015-10-19 11:00:46 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Sandro Bonazzola 2015-10-26 12:28:37 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 4 Yaniv Lavi 2015-10-29 09:13:51 UTC
Sandro, what is the impact of this issue on HE on gluster?

Comment 5 Sandro Bonazzola 2015-10-29 09:34:07 UTC
(In reply to Yaniv Dary from comment #4)
> Sandro, what is the impact of this issue on HE on gluster?

If I've understood correctly, this API schema affects JSON-RPC only. Hosted Engine is using XML-RPC since no JSON-RPC client is available so 3.6 shouldn't be affected by this.

Comment 6 Sandro Bonazzola 2016-05-02 09:47:30 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 7 Yaniv Lavi 2016-05-23 13:12:32 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 8 Raz Tamir 2017-01-27 14:10:59 UTC
Hi Sandro,
Where can I find the info you mentioned in the description?

Comment 9 Tal Nisan 2017-01-30 10:52:50 UTC
Patch was not backported to 4.1 on time and did not make it to beta

Comment 10 Sandro Bonazzola 2017-01-30 17:19:46 UTC
It was in ./vdsm/rpc/vdsmapi-schema.json but the file doesn't exist anymore on master branch since 2 years passed before fixing this issue.
You can still see that file in 3.6 branch.