Bug 1285005
Summary: | [RFE] Allow more then one ovsdb-server, ovs-vswitchd pair on a single machine | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | John Schwarz <jschwarz> |
Component: | openvswitch | Assignee: | Open vSwitch development team <ovs-team> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Ofer Blaut <oblaut> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9.0 (Mitaka) | CC: | aconole, aloughla, amuller, apevec, atragler, cascardo, chrisw, fleitner, jschwarz, mleitner, rhos-maint, rkhan, srevivo, sukulkar |
Target Milestone: | --- | Keywords: | FutureFeature, ZStream |
Target Release: | 8.0 (Liberty) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-05-03 17:10:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Schwarz
2015-11-24 16:18:31 UTC
This happens because OVS assumes it owns the datapath for itself, and does not allow other programs to use the datapath, even itself. Thing is, the OVS module allows multiple datapaths. But OVS only uses ovs-system. This would require that every vswitchd or netlink dpif uses a different datapath, maybe ovs-system-uuid? Cascardo. I understand the issue but not the use-case. Why would you need to run multiple OVS in the same host? So, what's the use-case? We'd like to simulate multi-node on a single host for OpenStack Neutron inter-process testing: http://docs.openstack.org/developer/neutron/devref/development.environment.html#fullstack-tests Here's a PoC patch John and I worked on a while ago, that we had to abandon due to this bug: https://review.openstack.org/#/c/234941/ There are other issues with this than just the database. IIRC, there can only be one upcall endpoint - that means forwarding will behave strangely, and it might really mess up all of your inter-connectivity. Additionally, the netlink monitors might collide mid-air and introduce LOTS of additional bugs. There's a lot of work for this, and possibly a redesign of the upcall interface (I haven't looked at that code in a while, so I could remember it incorrectly). Hi, As Aaron said, OVS daemons own the datapath, so it's not possible to run another instance of the daemons. However, the OVS module and the sockets are namespace aware, so it should be possible to run multiple instances of OVS daemons in different namespaces. Does that work for you? I am closing this due to the lack of replies. Feel free to re-open if you have additional information to provide. The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |