Openstack, VCenter, OpenVswitch

Does anyone have experience setting up networking between Openstack and VMware using distributed virtual switches and OpenVswitch?

I’m spinning my wheels at this point and hope someone can help me get over this speed bump.

If anyone has some insight on setting up this kind of networking I’d really appricate any advice or insight and will post further logs and confit details.

Respectfully,

Cotton

What kind of problems are you running into?

Also, how have you got things setup currently?

– zanginator

@zanginator I’ll start with the problem:

When I create an instance in openstack, with or without creating a volume, the virtual machine builds in VMWare, however it times-out because it cannot setup the networking for the VM.

Within the nova-compute.log I see the nova.virt.vmwareapi. driver logs “Port group not created. Retrying again in 2 seconds.”

This loops in the logs until eventually the timeout is hit, and the virtual machine is killed and deleted within vmware.

I am not using NSX and therefore have setup and configured the OVSVAPP setup described here: https://wiki.openstack.org/wiki/Neutron/Networking-vSphere with a bit of guidance from here https://www.suse.com/documentation/suse-openstack-cloud-8/book_operations/data/topic_odg_33x_rt.html.

Basically, my interpretation of the problem is that my openstack instance is unable to create a port group on “VM Port Group” on “Distributed Switch 1.” Therefore, it is unable to create the virtual nic and hand it to the VM and which would connect it to the Distributed switch get it network connectivity.

I’d say your interpretation is about right. The problem is though figuring out what exactly is making it fail.

Before the “Port group not created” log message, do you see a message along the lines of “Waiting for the portgroup (name of group) to be created.”???