Bug 1613371 - Error message when attempting to change the MAC address pool is non descriptive.
Summary: Error message when attempting to change the MAC address pool is non descriptive.
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.1.9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ovirt-4.2.7
: ---
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-07 12:44 UTC by Dana Lane
Modified: 2019-04-28 09:44 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-4.2.7.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-15 14:38:16 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Engine and server logs (1.82 MB, text/plain)
2018-08-07 19:16 UTC, Dana Lane
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 94288 0 master MERGED core: Improve reporting of the runtime exceptions 2018-09-13 12:30:23 UTC
oVirt gerrit 94327 0 ovirt-engine-4.2 MERGED core: Improve reporting of the runtime exceptions 2018-09-20 07:41:41 UTC

Description Dana Lane 2018-08-07 12:44:43 UTC
When attempting to change the mac address pool, if you select a range that is invalid, the only error that is reported is "Internal Error" with no additional description. This also puts the pool in a state where any and all attempts to make any changes, even back to the default values, results in the same "Internal Error"

How reproducible:
Edit the default mac address pool and change the first field to an 01 in both the start and end value fields. 
Select Ok

Actual results:
"Internal Error"

Comment 1 Dan Kenigsberg 2018-08-07 18:42:50 UTC
Please include your engine.log and the complete traceback.

Comment 3 Dana Lane 2018-08-07 19:16:35 UTC
Created attachment 1474081 [details]
Engine and server logs

Engine and server logs, in tar format

Comment 5 RHV bug bot 2018-09-21 11:45:50 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.2.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.2.z': '?'}', ]

For more info please contact: rhv-devops

Comment 6 Michael Burman 2018-10-02 07:15:04 UTC
Ales Hi,

I'm trying to test this report on ovirt-engine-4.2.7.2-0.0.master.20180926072101.git7001334.el7.noarch
same result om master of course.
I'm followed by the reporter's step and i get - 
"Error while executing action UpdateMacPool: Error Initializing MAC Pool"
Is this is the fix? is this message more descriptive than before? i'm not sure..
If yes, i think this error message still not descriptive enough IMHO

Comment 7 Ales Musil 2018-10-02 07:26:38 UTC
Hi Michael, 

from my point of view this is a lot better than just throwing "Internal Error" or "Internal Engine Error" at user. Also the patch didn't changed any messages itself, instead it changed the way that engine propagates errors to users, if there is any. So the message you are getting is correct.

Comment 8 Michael Burman 2018-10-02 07:35:29 UTC
(In reply to Ales Musil from comment #7)
> Hi Michael, 
> 
> from my point of view this is a lot better than just throwing "Internal
> Error" or "Internal Engine Error" at user. Also the patch didn't changed any
> messages itself, instead it changed the way that engine propagates errors to
> users, if there is any. So the message you are getting is correct.

OK, i see, but still, this error message still doesn't say anything meaning full.
We need to indicate the reason for failing, no?
I'm not sure I'm OK with this fix. 

Dana, does "Error while executing action UpdateMacPool: Error Initializing MAC Pool" descriptive enough for you?

Comment 9 Dana Lane 2018-10-02 11:57:52 UTC
Yes, that's plenty descriptive.

Comment 10 Michael Burman 2018-10-03 05:26:50 UTC
OK, if you both fine with this error message than i'm fine as well.
Although personally this is not descriptive enough.

Verified upstream on - 4.2.7.2-0.0.master.20180926072101.git7001334.el7

The new error message for the described scenario will be now - 
"Error while executing action UpdateMacPool: Error Initializing MAC Pool"

Comment 11 RHV bug bot 2018-10-04 12:06:56 UTC
WARN: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.2.z': '?'}', ]

For more info please contact: rhv-devops: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Found non-acked flags: '{'rhevm-4.2.z': '?'}', ]

For more info please contact: rhv-devops


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