<div dir="ltr">Hi Rajshree,<div class="gmail_extra"><br><div class="gmail_quote">On 29 August 2013 13:38, Rajshree Thorat <span dir="ltr"><<a href="mailto:rajshree.thorat@gslab.com" target="_blank">rajshree.thorat@gslab.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi All,<br>
<br>
I have configured Openstack Grizzly to use ESXi 5.1 as hypervisor. Creating/deleting instances from Openstack<br>
works as expected, instances are created in ESXi ( Verified via vSphere Client) and started ok.  The trouble is that<br>
VMs are unable to configure internal IP.  Does quantum have a way to reach vmware api to configure network.<br>
Does quantum plugin for vmware/esx exist?<br></blockquote><div><br></div><div style>According to the docs [1] VMware vSphere should work with OpenStack Networking, i.e. Neutron (formerly Quantum). I have the same problem setting up OpenStack Networking (quantum with the Open vSwitch).</div>
<div style><br></div><div style>I have a Nova Compute node as a vSphere VM, an OpenStack Networking VM as the quantum gateway server and a controller in a different node. Everything works as you described but the network doesn't work (needs an external dhcp server which is less than ideal).</div>
<div style><br></div><div style>In KVM environments where the Nova Compute node has the guest VM in it the same setup works like this:</div><div style><br></div><div style>- VM boots and asks for an IP through DHCP</div><div style>
- The Nova Compute has a GRE tunnel to the OpenStack Networking node where the quantum/open vswitch dhcp agent provides an IP to the VM.</div><div style><br></div><div style>The tenant can set up any private network and it will work fine like described, for example:</div>
<div style><br></div><div style>VM (10.0.0.3) <--> Nova Compute node (192.168.1.20) <--> GRE tunnel <--> (192.168.1.15) OpenStack Networking node <--> dhcp agent (<a href="http://10.0.0.0/24">10.0.0.0/24</a>).</div>
<div style><br></div><div style>In VMware, by default VMs are created to a vSphere Port Group called br-int when using Nova Networking (as per [1]). I configured a standard vSphere vSwitch with the br-int Port Group and didn't connect it any physical interface on purpose (on the physical NICs is where I have the DHCP server and I want to use the quantum dhcp agent).</div>
<div style><br></div><div style>I thought the Nova Compute node could have 2 interfaces, one where the GRE tunnel to the OpenStack Networking node (eth0) is and another one connected to the br-int vSphere Port Group (eth1). This doesn't work because when the VM sends the bootp packet to get a dhcp response it never goes through the GRE tunnel and it won't arrive to the OpenStack Networking node on the other end.</div>
<div style><br></div><div style>I also tried to set a bridge between eth0 and eth1 on the Nova Compute node and configure there the GRE tunnel. This doesn't work either, for some reason the packets do not end up in the other end of the GRE tunnel although I can see them perfectly with tcpdump on the bridge interface.</div>
<div style><br></div><div style>Has anybody successfully configured the VMware driver with OpenStack Networking and the Open vSwitch plug-in or has a better idea how to do this?</div><div><br></div><div>[1] <a href="http://docs.openstack.org/trunk/openstack-compute/admin/content/vmware.html">http://docs.openstack.org/trunk/openstack-compute/admin/content/vmware.html</a></div>
</div></div></div>