Hide Forgot
Description of problem: ======================= On listing CG with -d option , it lists the CG name, CG ID, CG Description and CG status . Further as it lists the information of the volume and the snaps of the volumes , CG ID for the individual snaps is displayed as "Does not exist" Version-Release number of selected component (if applicable): ============================================================ glusterfs 3.4.0.snap.dec03.2013git How reproducible: ================ Always Steps to Reproduce: ================== 1.create 2 volumes and start it 2.Create a CG of both the volumes gluster snapshot create volume2 volume3 -n CG1 3.Create another CG of the volumes with description [-d option] gluster snapshot create volume2 volume3 -n CG2 -d "this is the first_CG" 4. List any one CG in detailed description gluster snapshot list -c CG2 -d CG Name : CG2 CG ID : 8a5a80d8-b19a-4038-a87b-5fe35246bf7b CG Description : Does not exist CG Status : Init Volume Name : volume2 Number of snaps taken : 2 Number of snaps available : 254 Snap Name : CG1_volume2_snap Snap Time : 2013-12-10 11:19:55 Snap ID : 2678dcca-0e26-49e4-929e-36115492e23a CG Name : Does not exist CG ID : Does not exist Snap Description : Description not present Snap Status : In-use Snap Name : CG2_volume2_snap Snap Time : 2013-12-10 11:35:52 Snap ID : 5b7e6985-fa07-4d73-b40b-e8c0cae243e7 CG Name : Does not exist CG ID : Does not exist Snap Description : this is the first_CG Snap Status : In-use Volume Name : volume3 Number of snaps taken : 2 Number of snaps available : 254 Snap Name : CG1_volume3_snap Snap Time : 2013-12-10 11:19:56 Snap ID : 977adc92-68ce-4c23-b95f-97baab3591b5 CG Name : Does not exist CG ID : Does not exist Snap Description : Description not present Snap Status : In-use Snap Name : CG2_volume3_snap Snap Time : 2013-12-10 11:35:53 Snap ID : 1a95da30-808f-4448-80c3-0f1eb3a3cf91 CG Name : Does not exist CG ID : Does not exist Snap Description : this is the first_CG Snap Status : In-use Actual results: ============== CG ID for the individual snaps is displayed as "Does not exist" Expected results: ================ CG ID to which the snap relates to can be displayed in the output Additional info:
sosreports : http://rhsqe-repo.lab.eng.blr.redhat.com/bugs_necessary_info/snapshots/1040435/
CG Name and ID was not getting updated during the snapshot create, Hence you could see CG Name and ID Does not exist in the snapshot list output. This issue is fixed.
Version : glusterfs 3.4.0.snap.dec30.2013 ======== CG ID and CG Name is listed while listing CG with -d option [root@snapshot-01 brick7]# gluster snapshot list -c CG1 -d CG Name : CG1 CG ID : d3a2a7e7-cb07-40ed-a028-2450d16d62c4 CG Description : Does not exist CG Status : Init Volume Name : vol1 Number of snaps taken : 2 Number of snaps available : 254 Snap Name : CG1_vol1_snap Snap Time : 2013-12-31 06:08:13 Snap ID : c0c78145-20a5-4036-9b21-e442d6259ad8 CG Name : CG1 CG ID : d3a2a7e7-cb07-40ed-a028-2450d16d62c4 Snap Description : Description not present Snap Status : In-use Snap Name : CG2_vol1_snap Snap Time : 2013-12-31 06:09:12 Snap ID : 50b78f90-a12c-4d99-b807-d24b2d555bf7 CG Name : CG2 CG ID : 772ee2e6-2e0a-4503-aa37-a58e3d074983 Snap Description : this is the first_CG Snap Status : In-use Volume Name : vol2 Number of snaps taken : 2 Number of snaps available : 254 Snap Name : CG1_vol2_snap Snap Time : 2013-12-31 06:08:14 Snap ID : c51de252-1c37-4e3a-b537-f3b39a19eca9 CG Name : CG1 CG ID : d3a2a7e7-cb07-40ed-a028-2450d16d62c4 Snap Description : Description not present Snap Status : In-use Snap Name : CG2_vol2_snap Snap Time : 2013-12-31 06:09:12 Snap ID : ffd861f9-0c08-4964-97e8-012ffc2e7949 CG Name : CG2 CG ID : 772ee2e6-2e0a-4503-aa37-a58e3d074983 Snap Description : this is the first_CG Snap Status : In-use
Marking snapshot BZs to RHS 3.0.
Fixing RHS 3.0 flags.
Setting flags required to add BZs to RHS 3.0 Errata
CG functionality is removed from snapshot code. Therefore moving the bug to close state.