New Question
1

Open vSwitch Extension is not running on any switch

asked 2016-06-22 16:46:10 +0300

JohnF gravatar image
PS C:\Users\Administrator> ovs-vsctl.exe add-br br-port3
ovs-vsctl:  Error detected while setting up 'br-port3'.  See ovs-vswitchd log for details.

From the ovs-vswitchd log:

2016-06-22T13:27:04.187Z|00030|wmi|WARN|Open vSwitch Extension is not running on any switch
2016-06-22T13:27:04.188Z|00031|wmi|WARN|Could not find HRESULT description for: 0.
2016-06-22T13:27:04.188Z|00032|dpif_netlink|ERR|Could not create wmi internal port with name:br-port3
2016-06-22T13:27:04.188Z|00033|bridge|INFO|bridge br-port3: using datapath ID 00009a9ef2a50240
2016-06-22T13:27:04.188Z|00034|connmgr|INFO|br-port3: added service controller "punix:C:\ProgramData\openvswitch\/br-port3.mgmt"

However, I do have the vSwitch configured with it:

PS C:\Users\Administrator> get-VMSwitchExtension -VMSwitchName vSwitch -Name "Open vSwitch Extension"


Id                  : 583CC151-73EC-4A6A-8B47-578297AD7623
Name                : Open vSwitch Extension
Vendor              : Open vSwitch
Version             : 16.46.56.366
ExtensionType       : Forwarding
ParentExtensionId   :
ParentExtensionName :
SwitchId            : 9224fc44-b9eb-49cf-b1f8-e5a6c57893e7
SwitchName          : vSwitch
Enabled             : True
Running             : True
ComputerName        : WIN-HQHVLTQ4OLK
Key                 :
IsDeleted           : False

So what am I doing incorrectly? I'm following the blog post from https://cloudbase.it/open-vswitch-2-5...

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-06-22 17:02:09 +0300

aserdean gravatar image

updated 2016-07-14 04:18:03 +0300

Please stop the service ovs-vswitchd. Clear the log file and then start the service ovs-vswitchd again.

We have an issue during reboots that is addressed but not published under release yet.

UPDATE:Please try the installer https://cloudbase.it/downloads/openvs... it should fix the problem. We will update the stable installer soon.

Thanks, Alin.

edit flag offensive delete link more

Comments

1

Same issue after restarting the agent

JohnF gravatar imageJohnF ( 2016-06-22 17:06:36 +0300 )edit

I updated my previous answer. Could issue the above and try a reboot?

aserdean gravatar imageaserdean ( 2016-06-22 17:23:19 +0300 )edit

Set-Content : A positional parameter cannot be found that accepts argument 'start/strcustom/6066F867-7CA1-4418-85FD-36E3F9C0600C/VmmsWmiEventProvider'. At line:1 char:1 + sc triggerinfo ovs-vswitchd start/strcustom/6066F867-7CA1-4418-85FD-36E3F9C0600C ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

JohnF gravatar imageJohnF ( 2016-06-22 18:04:04 +0300 )edit

+ CategoryInfo : InvalidArgument: (:) [Set-Content], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand

JohnF gravatar imageJohnF ( 2016-06-22 18:04:15 +0300 )edit

Regular CMD call not from powershell.

aserdean gravatar imageaserdean ( 2016-06-22 18:45:24 +0300 )edit

Still no luck: 2016-06-22T16:47:38.029Z|00086|wmi|WARN|Open vSwitch Extension is not running on any switch

JohnF gravatar imageJohnF ( 2016-06-22 19:48:45 +0300 )edit

Have exactly same problem. PS C:\Users\Administrator.VBN> ovs-vsctl.exe add-br br0 ovs-vsctl.exe : ovs-vsctl: Error detected while setting up 'br0'. See ovs-vswitchd log for details. 2016-06-23T08:36:55.713Z|00078|wmi|WARN|Open vSwitch Extension is not running on any switch Solution did not work

lgastevens gravatar imagelgastevens ( 2016-06-23 11:59:37 +0300 )edit

Any updates to this issue?

JohnF gravatar imageJohnF ( 2016-06-27 18:10:35 +0300 )edit

I am still puzzled why this is not working in your case. Let's start by looking at your config. Can you post somewhere like http://pastebin.com/ the output of the following commands: Get-NetAdapter, ipconfig, systeminfo, Get-VMSwitch *, Get-VMSwitchExtension *, ovs-vsctl show, ovs-dpctl show

aserdean gravatar imageaserdean ( 2016-06-28 13:06:44 +0300 )edit

Hi, I'm not the originator of this question, but I seem to have the same problem.. If it can help, my paste of those commands is here: http://pastebin.com/312gt5Yn

lgastevens gravatar imagelgastevens ( 2016-06-28 15:42:47 +0300 )edit

I think I identified the problem. I am working on a solution and trying to replicate your environment. I will let you know when it is fixed. Thanks a lot for the logs. Alin.

aserdean gravatar imageaserdean ( 2016-06-30 22:09:43 +0300 )edit

Please try out our nightly-build https://cloudbase.it/downloads/openvswitch-hyperv-installer-beta.msi . It should fix the problem. We will modify our stable installer when we stress tested the above installer.

aserdean gravatar imageaserdean ( 2016-07-01 18:19:46 +0300 )edit

Hi. I'm afraid I still get the same problem. See http://pastebin.com/QzKzSFra The beta installer seems however to install an older 2.5.0.1 version of OVS ?

lgastevens gravatar imagelgastevens ( 2016-07-05 16:08:56 +0300 )edit

Hey, The version is not older is actually newer we switched from an unix format to a windows one. Just a quick question did you uninstall the previous installation and afterwards installed the new one?

aserdean gravatar imageaserdean ( 2016-07-07 18:02:14 +0300 )edit

No, I installed on top without uninstalling first. Let me retry again.

lgastevens gravatar imagelgastevens ( 2016-07-07 18:27:12 +0300 )edit

Ok, I uninstalled, deleted the CloudBase folder and re-installed the new beta.msi installer. But I still have the same exact problem...

lgastevens gravatar imagelgastevens ( 2016-07-08 10:50:34 +0300 )edit

Hey lgastevens, thanks for trying it out and providing feedback. I identified the problem: our nightly build server did not integrate all the patches(including the one that fixes the problem) I will send an update when we have the new nightly build installer.

aserdean gravatar imageaserdean ( 2016-07-14 02:32:57 +0300 )edit
1

Again sorry for the inconvenience and thank you for the patience :). Please retry downloading the installer from https://cloudbase.it/downloads/openvswitch-hyperv-installer-beta.msi, it should have the timestamp Jul 14 03:48. The "sc triggerinfo*" part is not needed anymore.

aserdean gravatar imageaserdean ( 2016-07-14 04:17:01 +0300 )edit

Hi. Yes, it is now working and I am able to create my OVS bridge with no errors. Thanks!

lgastevens gravatar imagelgastevens ( 2016-07-21 19:09:14 +0300 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

4 followers

Stats

Asked: 2016-06-22 16:46:10 +0300

Seen: 808 times

Last updated: Jul 14 '16