Bug 1343332 - [Network] When all mac range is allocated after engine restart got 404 - Not Found
Summary: [Network] When all mac range is allocated after engine restart got 404 - Not ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.0.1
: 4.0.1.1
Assignee: Martin Mucha
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-07 07:32 UTC by Kobi Hakimi
Modified: 2016-07-19 06:24 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 06:24:54 UTC
oVirt Team: Network
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: blocker+
rule-engine: planning_ack+
danken: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
server.log (419.80 KB, text/plain)
2016-06-07 07:32 UTC, Kobi Hakimi
no flags Details
engine.log (6.35 MB, text/plain)
2016-06-07 07:34 UTC, Kobi Hakimi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 58769 0 master MERGED core: Fix wrong db initialization 2016-06-20 08:50:58 UTC
oVirt gerrit 59527 0 ovirt-engine-4.0 MERGED core: Fix wrong db initialization 2016-06-23 04:17:50 UTC

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/


Note You need to log in before you can comment on or make changes to this bug.