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

Bug 871121

Summary: engine: create disk appears to be stuck because GetStoragePoolInfoVDS has TimeoutException
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Barak <bazulay>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 3.1.0CC: dyasny, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul, yzaslavs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-01 15:09:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
logs none

Description Dafna Ron 2012-10-29 16:59:14 UTC
Created attachment 635082 [details]
logs

Description of problem:

my iso and export were deactivated because of storage connectivity issues. 
when I tried to create a new vm+disk the AddDiskCommand is not sent to vdsm until 
GetStoragePoolInfoVDS returns with timeout. 
if you create a disk through the guide me the dialogue will remain open all this time and user will think that the operation is stuck. 

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

si22.1

How reproducible:

100%

Steps to Reproduce:
1. block connectivity to ISO/Export domains 
2. when they are inactive, create a new VM -> new disk
3.
  
Actual results:

it appears that the command is stuck. looking at the log, the AddDiskCommand is not sent to vdsm until we get timeout from GetStoragePoolInfoVDS


Expected results:

if we are not depended in the results of GetStoragePoolInfoVDS we should send the command to the vds


Additional info: full logs

2012-10-29 18:43:44,251 INFO  [org.ovirt.engine.core.bll.AddDiskCommand] (ajp-/127.0.0.1:8702-3) [1f56ba1e] Running command: AddDiskCommand internal: false. Entities affected :  ID: 43acfd24-a7ab-461c-b016-d98014c49ef7 Type: VM,  ID: 1a
8c38e6-c241-4439-bab3-a1e60bf4ac0e Type: Storage

2012-10-29 18:46:05,976 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (QuartzScheduler_Worker-19) [63f93eb5] IrsBroker::Failed::GetStoragePoolInfoVDS due to: TimeoutException: 

2012-10-29 18:46:05,978 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.CreateImageVDSCommand] (ajp-/127.0.0.1:8702-3) [3aaea3fc] -- CreateImageVDSCommand::ExecuteIrsBrokerCommand: calling 'createVolume' with two new parameters: descri
ption and UUID

Comment 2 Ayal Baron 2012-12-25 06:57:50 UTC
Engine serializes calls to vdsm.  This is an infra issue.
Probably a dup

Comment 5 Barak 2013-01-01 15:09:33 UTC

*** This bug has been marked as a duplicate of bug 877736 ***