Bug 902659

Summary: oVirt incompatible recipes are incorrectly reported in the Graphite metrics as "dynamic_virt_possible"
Product: [Retired] Beaker Reporter: Nick Coghlan <ncoghlan>
Component: schedulerAssignee: beaker-dev-list
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.11CC: asaha, dcallagh, mishin, qwan, rglasz, rmancy
Target Milestone: 0.11   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Measurements
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 907307 (view as bug list) Environment:
Last Closed: 2013-02-13 03:37:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 907307    

Description Nick Coghlan 2013-01-22 07:49:19 UTC
Recipes with "hostRequires" conditions that cannot be met by the oVirt Engine integration incorrectly report "RecipeVirtStatus.possible" from recipe.check_virtualizability().

The current call to needpropertyxml.vm_params [1] should be moved from provision_virt_recipe in beakerd to a new try/catch block in check_virtualizability that changes the result to "RecipeVirtStatus.precluded" when NotVirtualizable is thrown.

[1] http://git.beaker-project.org/cgit/beaker/tree/Server/bkr/server/tools/beakerd.py#n494

Comment 2 Nick Coghlan 2013-02-04 07:48:57 UTC
On Gerrit: http://gerrit.beaker-project.org/#/c/1684

Comment 5 Min Shin 2013-02-13 03:41:51 UTC
Beaker 0.11.3 hot fix has been released.