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

Bug 1343332

Summary: [Network] When all mac range is allocated after engine restart got 404 - Not Found
Product: [oVirt] ovirt-engine Reporter: Kobi Hakimi <khakimi>
Component: BLL.NetworkAssignee: Martin Mucha <mmucha>
Status: CLOSED CURRENTRELEASE QA Contact: Meni Yakove <myakove>
Severity: high Docs Contact:
Priority: urgent    
Version: 4.0.0CC: bugs, danken, gklein
Target Milestone: ovirt-4.0.1Keywords: AutomationBlocker, Regression
Target Release: 4.0.1.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: blocker+
rule-engine: planning_ack+
danken: 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: 2016-07-19 06:24:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
server.log
none
engine.log none

Description Kobi Hakimi 2016-06-07 07:32:30 UTC
Created attachment 1165518 [details]
server.log

Description of problem:
[Network] When all mac range is allocated after engine restart got 404 - Not Found

Version-Release number of selected component (if applicable):
 Red Hat Enterprise Virtualization Manager Version: 4.0.0.2-0.1.el7ev 

How reproducible:
100%

Steps to Reproduce:
1. Create small mac pool with one mac(without any other mac pools):
   for example: from: 00:1A:4A:16:81:E9 to: 00:1A:4A:16:81:E9 (without duplicate)
2. Create VM with one nic:
3. Restart the engine.

Actual results:
When you refresh the engine GUI you will get:
404 - Not Found

Expected results:
Keep working with zero mac to allocate.

Additional info:
see attached engine.log and server.log

Comment 1 Kobi Hakimi 2016-06-07 07:34:58 UTC
Created attachment 1165519 [details]
engine.log

mmoucka start to investigate it

Comment 2 Kobi Hakimi 2016-06-07 08:15:27 UTC
workaround:
1. To increase the mac range in DB like: 
engine=# update mac_pool_ranges set to_mac='00:1A:4A:16:81:EA' where mac_pool_id='0000000d-000d-000d-000d-0000000003c3';
UPDATE 1

2. restart to engine.
# systemctl restart ovirt-engine

Comment 3 Meni Yakove 2016-07-04 07:40:48 UTC
rhevm-4.0.2-0.2.rc1.el7ev.noarch

Comment 4 Sandro Bonazzola 2016-07-19 06:24:54 UTC
Since the problem described in this bug report should be
resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a
resolution of CURRENT RELEASE.

For information on the release, and how to update to this release, follow the link below.

If the solution does not work for you, open a new bug report.

http://www.ovirt.org/release/4.0.1/