Bug 791054

Summary: Gluster Management Console, xml "unmarshalling string" problem of jersey
Product: [Community] GlusterFS Reporter: wangxudong <jinmoold>
Component: glusterdAssignee: Kaushal <kaushal>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: 3.3-betaCC: gluster-bugs, vbellur
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-05 19:17:48 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description wangxudong 2012-02-15 20:41:07 EST
Description of problem:
Gluster Management Console ,execute command "gluster volume set help-xml" ,then the elements is <volumeOptionsDefaults> and <volumeOption> ,but should be <{}option>,<{}options> , so produce some "unmarshalling string" problem


Version-Release number of selected component (if applicable):


How reproducible:
execute command "gluster volume set help-xml"

Steps to Reproduce:
1.install glusterfs-core-3.3beta2-1.x86_64.rpm on linux cluster
2.
3.
  
Actual results:

<volumeOptionsDefaults>
	<volumeOption>
		<defaultValue>16</defaultValue>
		<Description>Maximum number blocks per file for which self-heal
			process would be applied simultaneously.</Description>
		<name>cluster.self-heal-window-size</name>
	</volumeOption>
........
</volumeOptionsDefaults>


Expected results:
<options>
	<option>
		<defaultValue>16</defaultValue>
		<Description>Maximum number blocks per file for which self-heal
			process would be applied simultaneously.</Description>
		<name>cluster.self-heal-window-size</name>
	</option>
........
</options>

Additional info:
Comment 1 Anand Avati 2012-03-05 13:56:48 EST
CHANGE: http://review.gluster.com/2823 (glusterd: Rename nodes in "volume set help-xml" output) merged in master by Vijay Bellur (vijay@gluster.com)
Comment 2 wangxudong 2012-03-05 19:17:48 EST
Thank you very much! We have solved this problem with the same way !