[NETVIRT-411] Changing int-bridge-generate-mac flag at runtime doesn't work Created: 08/Jan/17  Updated: 30/Oct/17  Resolved: 03/Apr/17

Status: Resolved
Project: netvirt
Component/s: General
Affects Version/s: Boron
Fix Version/s: None

Type: Bug
Reporter: Vishal Thapar Assignee: Vishal Thapar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log    
External issue ID: 7489

 Description   

Elan Manager provides following flag:

container elan-config {
config true;
leaf int-bridge-gen-mac

{ description "If true, generate a mac, else use the bridge generated mac"; type boolean; default true; }

But changing it at runtime throws many exceptions at runtime and elanmanager ends up in inconsistent state. Currently there is no option to set it at startup time, as with few other config flags.

So there are two issues here:
1. Changing it dynamically at runtime should not cause problems.
2. Should have the option to set it to non-default at startup.



 Comments   
Comment by Vishal Thapar [ 22/Jan/17 ]

master: https://git.opendaylight.org/gerrit/#/c/50774/

Comment by Vishal Thapar [ 22/Jan/17 ]

Karaf log atatched:

It capture service exception when elan-config is changed. Is this exception harmless?

Comment by Vishal Thapar [ 22/Jan/17 ]

Attachment karaf.log has been added with description: karaf log with exceptions

Comment by Vishal Thapar [ 22/Jan/17 ]

Forgot to mention, elanmanager-impl bundle is in failure state after attempting this change:

373 | Failure | 80 | 0.4.0.SNAPSHOT | elanmanager-impl
374 | Active | 80 | 0.4.0.SNAPSHOT | natservice-impl

Generated at Wed Feb 07 20:21:29 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.