Bug 1418299

Summary: [RFE] add detailed message to events when creating pool from template with cinder disk crashes because of maxium volumes exceeded
Product: [oVirt] ovirt-engine Reporter: Lucie Leistnerova <lleistne>
Component: Frontend.WebAdminAssignee: bugs <bugs>
Status: CLOSED WONTFIX QA Contact: Lukas Svaty <lsvaty>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0.3CC: bugs, lleistne, michal.skrivanek, mtessun
Target Milestone: ovirt-4.4.0Keywords: FutureFeature
Target Release: ---Flags: mtessun: ovirt-4.4?
mtessun: planning_ack+
rule-engine: devel_ack?
rule-engine: testing_ack?
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: 2018-11-14 11:25:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine_log none

Description Lucie Leistnerova 2017-02-01 13:52:18 UTC
Created attachment 1246652 [details]
engine_log

Description of problem:
The process of creating VMs stops when I create pool from template with cinder disk and try to remove it when the VMs are still creating.

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


How reproducible: always


Steps to Reproduce:
1. create template with cinder disk
2. create pool with more than 10 VMs from the template
3. try to remove the pool when the VMs are still creating, confirm it

Actual results: popup dialog shows with error and VMs stops to create


Expected results: error is shown and VMs continue to create until number in the pool is reached

Comment 1 Lucie Leistnerova 2017-02-01 13:53:00 UTC
Version-Release number of selected component (if applicable):
ovirt-engine-webadmin-portal-4.1.0.3-0.1.el7.noarch

Comment 2 Lucie Leistnerova 2017-02-01 15:29:27 UTC
I tested cinder pool on other engine and the problem is not in removing the pool. Vms stop to create because cinder service can no longer create disks.

When I create only one disk then engine says

Cannot add Virtual Disk. Maximum number of volumes allowed (10) exceeded - could not create Cinder disks on Storage Domain tlv_cinder.

So it should say the same when creating VMs in pool.
In events is only 
Not all VMs where successfully created in VM Pool __pool??.
Failed to create VM Pool __pool?? (User: admin@internal-authz).

Comment 4 Yaniv Kaul 2017-06-06 21:59:00 UTC
(In reply to Lucie Leistnerova from comment #2)
> I tested cinder pool on other engine and the problem is not in removing the
> pool. Vms stop to create because cinder service can no longer create disks.
> 
> When I create only one disk then engine says
> 
> Cannot add Virtual Disk. Maximum number of volumes allowed (10) exceeded -

Where did we get such a low (10) number?

Comment 7 Ryan Barry 2018-11-14 11:25:00 UTC
This will not make it in a reasonable time. Please re-open if you still feel this should be fixed