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

Bug 1408583

Summary: Snapshot deletion of powered off VM failed(in 200 Vms topology)
Product: [oVirt] vdsm Reporter: eberman
Component: GeneralAssignee: Ala Hino <ahino>
Status: CLOSED NOTABUG QA Contact: Raz Tamir <ratamir>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 4.18.9CC: bugs, eberman, gklein
Target Milestone: ovirt-4.1.0-betaKeywords: Regression
Target Release: ---Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-25 16:17:39 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: 1246114    
Attachments:
Description Flags
vdsm log
none
engine log none

Description eberman 2016-12-25 12:01:54 UTC
Description of problem:
Snapshot deletion of powered off VMs takes longer.
200 Vms(all are powerdoff state ) 
1 SD
1 DC
1 cluster
1 host


Version-Release number of selected component (if applicable):
Version vdsm:
vdsm-4.18.999-970.git0fba247.el7.centos.x86_64

engine:

oVirt Engine Version: 4.2.0-0.0.master.20161219225535.git893d571.el7.centos


How reproducible:Always


Steps to Reproduce:
1.Create a snapshot of powered off VM
2.Try to delete the snapshot
3.Snapshot will be in locked state for more than 10-15 mins which is huge when compared to live VM snapshot removal which is taking 1-2 mins.

Actual results:

failed at:2016-12-25 12:22:32

operation failed 
2016-12-25 12:22:32,590 ERROR (jsonrpc/2) [Executor] Unhandled exception in Task(callable=<functools.partial object at 0x2357af8>, timeout=None
) (executor:288)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/executor.py", line 286, in _execute_task
    task.callable()
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 508, in _serveRequest
    response = self._handle_request(req, ctx.server_address)
  File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 534, in _handle_request
    method = self._bridge.dispatch(req.method)
  File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 112, in dispatch
    self._schema.get_method(vdsmapi.MethodRep(className, methodName))
  File "/usr/lib/python2.7/site-packages/api/vdsmapi.py", line 165, in get_method
    raise MethodNotFound(rep.id)
MethodNotFound: StoragePool.prepareMerge




Expected results:


Additional info:

Comment 1 eberman 2016-12-25 12:08:09 UTC
Created attachment 1235258 [details]
vdsm log

Comment 2 eberman 2016-12-25 12:09:08 UTC
Created attachment 1235259 [details]
engine log

Comment 3 Red Hat Bugzilla Rules Engine 2016-12-25 15:05:37 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 4 Yaniv Kaul 2016-12-25 15:07:52 UTC
You are testing on an ancient version - this was added ages ago - please try with a MUCH newer version.

Comment 5 eberman 2016-12-25 16:14:19 UTC
confirmed had an issue with yum update, now its on vdsm-4.19.1-2.gitb1aca0e.el7.centos.x86_64
 

and process did finished @ around 200 sec
closing