Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while attaching interface to a ovs bridge and deleting the bridge #542

Open
alinefm opened this issue Apr 24, 2017 · 0 comments
Open

Comments

@alinefm
Copy link
Member

alinefm commented Apr 24, 2017

Error while adding interface to the Ovs bridge.

======
Issue

I could able to create a Ovs bridge without any issue,

1 . Tried adding an interface to that bridge - UI displays an ERROR "The server encountered an unexpected condition which prevented it from fulfilling the request".

but, I can see the interface is been added to the bridge via command line :

[root@c158f2u07os ~]# ovs-vsctl show
40528c79-a4a5-4108-b102-e8393e2e3931
Bridge "Ovsbr00"
Port "Ovsbr00"
Interface "Ovsbr00"
type: internal
Port "enP3p9s0f3"
Interface "enP3p9s0f3"
ovs_version: "2.5.0"
[root@c158f2u07os ~]#

  1. Now I tried Removing the Ovs bridge, again it says "The server encountered an unexpected condition which prevented it from fulfilling the request." and the bridge is seen on the UI.

But If I either refresh the UI page or switch to other tab and come back to network tab - the bridge is not seen!

And again, I still see the bridge with the interface added is seen in command line :
[root@c158f2u07os ~]# ovs-vsctl show
40528c79-a4a5-4108-b102-e8393e2e3931
Bridge "Ovsbr00"
Port "Ovsbr00"
Interface "Ovsbr00"
type: internal
Port "enP3p9s0f3"
Interface "enP3p9s0f3"
ovs_version: "2.5.0"
[root@c158f2u07os ~]#

==================
Steps to recreate

  1. Navigate to 'Host->Network' frame.
  2. Click on 'OVS Bridges->Add Bridge', give a name to the bridge you want to create and click on Add.

you can see the Ovs bridge is created.

  1. Now click on 'Actions->Edit Bridge' against the bridge you have created.
  2. Click on 'Add Interface' and select an interface from the drop down list, save it

UI says "The server encountered an unexpected condition which prevented it from fulfilling the request."

But you can see the interface added via command line using "ovs-vsctl show".

  1. Now you try removing the bridge by clicking 'Actions->Remove Bridge->OK' - UI says "The server encountered an unexpected condition which prevented it from fulfilling the request."

After refreshing the UI page or switch to some other tabs and come back to Network tab, the Ovs bridge created will not be seen.

But again via command line(ovs-vsctl show), we can see the bridge still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant