cybercom-finland / neutron_vmware_dvswitch Goto Github PK
View Code? Open in Web Editor NEWVMware dvSwitch mech driver for OpenStack Neutron ML2 plugin
License: Apache License 2.0
VMware dvSwitch mech driver for OpenStack Neutron ML2 plugin
License: Apache License 2.0
Hello Team,
i'm integrating opentsack with the esxisting vmware. my step as below:
Now, i want to integrate Neutron with VDs, ( not through NSX plugin). At present, seem neutron not support this .
I read your post and i can see that you have done it.
So, can you inform some information for this ? any procedure or step by step document to do it.
Thanks you very much !
Hi
I am trying to use dvs mechanism driver for an existing vcenter deployment with openstack Kilo. I created a PG in the dvs on Vcenter and can attach an instance but cannot obtain an IP. The server.log file repeats the following...
2015-09-22 21:31:17.693 1545 INFO neutron.wsgi - accepted ('10.180.27.107', 42709)
2015-09-22 21:31:17.723 1545 INFO neutron.wsgi [req-74fc9447-2aa8-410d-97ac-7f64c9c9b1c6 ] 10.180.27.107 - - [22/Sep/2015 21:31:17] "GET /v2.0/routers.json?tenant_id=5ec53c63d9d94e0587646143cfdf6a7b HTTP/1.1" 200 228 0.029996
2015-09-22 21:31:20.883 1545 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] Worker 88684336 found 1 doable tasks
2015-09-22 21:31:20.883 1545 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] Worker 88684336 trying to connect vm dhcpc3a068c5-b314-5d06-9db6-34b4454c9e1d-d6490871-a74c-495c-943a-15d25b51116a to network jc
2015-09-22 21:31:20.883 1545 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] _connect_vm uuid dhcpc3a068c5-b314-5d06-9db6-34b4454c9e1d-d6490871-a74c-495c-943a-15d25b51116a port group jc
2015-09-22 21:31:20.949 1545 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] VM not found yet. Going to retry.
I'm using OpenStack kilo and trying to configure DVS driver but I encountered an error while starting neutron-server
2015-05-06 13:29:34.302 62254 ERROR stevedore.extension [-] Could not load 'dvs': cannot import name log
2015-05-06 13:29:34.302 62254 ERROR stevedore.extension [-] cannot import name log
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension Traceback (most recent call last):
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 162, in _load_plugins
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension verify_requirements,
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 123, in _load_one_plugin
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension verify_requirements,
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 185, in _load_one_plugin
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension plugin = ep.load(require=verify_requirements)
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension entry = __import__(self.module_name, globals(),globals(), ['__name__'])
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/dvs/mechanism_dvs.py", line 31, in <module>
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension from neutron.openstack.common import log as logging
2015-05-06 13:29:34.302 62254 TRACE stevedore.extension ImportError: cannot import name log
This line seems to be problem:
from neutron.openstack.common import log as logging
Changing it to:
from neutron.common import log as logging
does not work ;)
The driver in this repository works with icehouse version of OpenStack and with vSphere version 5.1 with following restrictions
I'm sorry to inform that we are not going to put any more effort to the driver. We have a need for better integration to OpenStack and we are going to focus on a different network technology in the future. The driver has served us well and will for a while, before we finish the migration to the different technology.
As the driver is not merged to Neutron upstream, the users of this driver will be on their own and I suggest that one should consider using Networking-vSphere project (https://wiki.openstack.org/wiki/Neutron/Networking-vSphere) that is more intrusive, but provides better integration.
There is also an another project similar to ours that you can take a look https://blueprints.launchpad.net/neutron/+spec/ml2-dvs-mech-driver. But to my understanding this one is not merged to upstream yet either.
Hi,
Thank you for your work. I have a problem with your plugin.
I use "Icehouse" and Vcenter 5.1.
When do I start a machine, it seeks to "br-int" in a vswitch. After that, the "worker" is launched
2014-10-21 16:53:59.431 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] watchdog started a new worker
2014-10-21 16:54:01.431 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] worker: vsphere keepalive
2014-10-21 16:54:01.641 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] Worker 59435120 found 1 doable tasks
2014-10-21 16:54:01.642 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] Worker 59435120 trying to connect vm 74d2e08e-f12c-423e-824c-7711cf2d822d to network vlan1961
2014-10-21 16:54:01.642 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [-] _connect_vm uuid 74d2e08e-f12c-423e-824c-7711cf2d822d port group vlan1961
2014-10-21 16:54:19.434 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [req-63f0d334-44d7-4d6d-835b-8e6913895658 None] Worker watchdog expired!
2014-10-21 16:54:19.435 3081 INFO neutron.plugins.ml2.drivers.dvs.mechanism_dvs [req-63f0d334-44d7-4d6d-835b-8e6913895658 None] My worker thread is dead!
And the worker can not change the nic's VM. I attach my conf of vcenter.
This is log on neutron-server.log
2015-12-02 23:34:20.595 11488 TRACE neutron driver.obj.initialize()
2015-12-02 23:34:20.595 11488 TRACE neutron File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/dvs/mechanism_dvs.py", line 199, in initialize
2015-12-02 23:34:20.595 11488 TRACE neutron self._init_si()
2015-12-02 23:34:20.595 11488 TRACE neutron File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/dvs/mechanism_dvs.py", line 377, in _init_si
2015-12-02 23:34:20.595 11488 TRACE neutron raise DvsRuntimeError(msg=msg)
2015-12-02 23:34:20.595 11488 TRACE neutron DvsRuntimeError: Could not connect to vsphere server: [Errno 1] _ssl.c:510: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Hey Team, Can you help me to analyse this error ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.