Bug 890214

Summary: No warning when engine starts with no mac addresses pool
Product: Red Hat Enterprise Virtualization Manager Reporter: Arik <ahadas>
Component: ovirt-engineAssignee: Yair Zaslavsky <yzaslavs>
Status: CLOSED WONTFIX QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: dyasny, iheim, lpeer, masayag, myakove, oourfali, oramraz, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra network
Fixed In Version: sf3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-31 10:33:47 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: 915537    

Description Arik 2012-12-25 19:06:57 UTC
Description of problem:
When we start the engine with no MAC addresses pool in the DB (out-of-date DB), there is no message about it on startup. on debug, we found that an exception is thrown on: DbFacade.getInstance().getVmNetworkInterfaceDao().getAll() call at MacPoolManager, but no one catch it.

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


How reproducible:
100%

Steps to Reproduce:
1. start the engine with no MAC addresses pool in the DB
2.
3.
  
Actual results:
There's no log printing which reflects that the MAC address pool wasn't initialized

Expected results:
Have log message saying that the MAC addresses pool couldn't be initialized

Additional info:

Comment 1 Yair Zaslavsky 2012-12-31 10:31:33 UTC
Suggested patch upstream -

http://gerrit.ovirt.org/#/c/10518/

Comment 4 Moti Asayag 2013-01-31 10:33:47 UTC
Closed since this is unlikely use-case.