Bug 1203701

Summary: Deleting all the snapshots by using "Delete All" button says "Error while executing action Delete all volume snapshots: Network error during communication with the Host."
Product: [oVirt] ovirt-engine Reporter: RamaKasturi <knarra>
Component: Frontend.WebAdminAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED DEFERRED QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: low    
Version: ---CC: bugs, danken, gklein, lsurette, lsvaty, mgoldboi, rbalakri, sabose, sankarshan, sgraf, srevivo, ykaul
Target Milestone: ---Keywords: Performance
Target Release: ---Flags: ylavi: planning_ack?
ylavi: devel_ack?
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-22 06:48:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1242373    
Bug Blocks: 1187461, 1240627    

Description RamaKasturi 2015-03-19 13:36:13 UTC
Description of problem:
When user creates 256 snapshots from the CLI and tries to delete all of them by using "Delete All" button it displays an error which says "Operation cancelled : Error while executing action Delete all volume snapshots: Network error during communication with the Host."

An event message gets displayed "Failed to delete all the gluster volume snapshots for the volume vol2." but all the snapshots gets deleted.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150317182251.git9682bc4.el6.noarch

How reproducible:
Always

Steps to Reproduce:
1. Manage a cluster through rhsc.
2. Create a volume.
3. Run the snapshot create command in a loop by executing the command "for i in {1..256}; do gluster snapshot create snap$i vol2;done"
4. Once the snapshots are created and synced in the UI, click on the "Delete All" button in the UI.

Actual results:
A popup appears with title "Operation cancelled : Error while executing action Delete all volume snapshots: Network error during communication with the Host." and event message reads as "Failed to delete all the gluster volume snapshots for the volume vol2." 

All the snapshots in the system gets deleted.


Expected results:
UI should not display Operation cancelled Popups.

Additional info:

Comment 1 RamaKasturi 2015-03-19 13:37:58 UTC
I do not see any error/exceptions in the engine logs.

Comment 2 Stanislav Graf 2015-07-14 11:44:05 UTC
This is happening only with RHEL6 nodes, on RHEL7 nodes this issue is gone.

Comment 3 Shubhendu Tripathi 2015-07-14 11:46:56 UTC
In rhel6 also I remember the snapshots actually get deleted Gluster side, only the engine command fails due to time out.

Comment 4 Red Hat Bugzilla Rules Engine 2015-10-19 10:50:04 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 5 Sandro Bonazzola 2015-11-05 08:22:36 UTC
oVirt 3.6.0 has been released on November 4th, re-targeting to 4.0 since this bug has been marked with severity < high

Comment 6 Red Hat Bugzilla Rules Engine 2015-11-16 14:07:41 UTC
This bug is flagged for 3.6, yet the milestone is for 4.0 version, therefore the milestone has been reset.
Please set the correct milestone or add the flag.

Comment 7 Yaniv Lavi 2015-12-10 08:45:30 UTC
This should be blocked on being able to set different timeout for different commands. Can you add that RFE to block this one?

Comment 8 Sahina Bose 2015-12-10 09:29:21 UTC
This bug is dependent on the ability to set time out values for vdsm calls.

Comment 9 Sahina Bose 2016-04-12 12:39:30 UTC
Moving target to 4.1.0 as dependent on an infra bug

Comment 10 Sahina Bose 2016-12-22 06:48:09 UTC
Revisit when dependent infra bug is fixed