| Summary: | OVN provider does not change OVN lswitch names after changing OVN network names | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Mor <mkalfon> |
| Component: | BLL.Network | Assignee: | Marcin Mirecki <mmirecki> |
| Status: | CLOSED WONTFIX | QA Contact: | Meni Yakove <myakove> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | future | CC: | bugs, danken, mmirecki, ylavi |
| Target Milestone: | --- | Flags: | sbonazzo:
ovirt-4.2-
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-16 15:16:48 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: | |
|
Description
Mor
2016-11-21 15:11:13 UTC
I understand the debuggability benefit, but frankly, I think that propagating the human-readable name outside of Engine is the bug. Simply because it is hard to maintain in-sync. Marcin, beside its help to debuggability, can we avoid usage of the name in the provider and driver? Quote from OVN User Manual (http://openvswitch.org/support/dist-docs/ovn-nbctl.8.html): "The OVN northbound database schema does not require logical switch names to be unique, but the whole point to the names is to provide an easy way for humans to refer to the switches, making duplicate names unhelpful. Thus, without any options, this command regards it as an error if switch is a duplicate name." Sorry its related(In reply to Mor from comment #2) > Quote from OVN User Manual > (http://openvswitch.org/support/dist-docs/ovn-nbctl.8.html): > "The OVN northbound database schema does not require logical switch names to > be unique, but the whole point to the names is to provide an easy way for > humans to refer to the switches, making duplicate names unhelpful. Thus, > without any options, this command regards it as an error if switch is a > duplicate name." Ignore this please, it's relevant for the duplicate names issue. To be consistant with the neturon API, we have to provide the name of the network, so it has to stay in. We could store the name as an additional property (OVN logical switch 'external-id' table), but don't like the idea. The actual problem lies in the engine, which does not notify the provider that the name was changed. Our expected mode of operation is to modify network names in OVN (via ManageIQ) so that this problem is less important. |