← Back to team overview

openstack team mailing list archive

Re: Quantum Integration Part 3

 

On Thu, Apr 26, 2012 at 3:32 AM, Emilien Macchi <emilien.openstack@xxxxxxxxx
> wrote:

> **
> Hi again,
>
>
> After inverstigation, it finally works.
>
>
> I have the network on my instances in using Quantum.
>
>
> The fact was I've follow official OVS documentation, and you should not
> follow this direction :
>
> ovs-vsctl add-port br-int eth1
>

Hi Emilien,

Which mode are you running OVS in?  VLAN or tunneled?  If you are using
VLAN-mode (default) you need to add some physical interface to br-int, so
that VLANs are trunked to the physical network.  Is it possible that eth1
was also the interface you were using for IP communication on the box?
 That definitely won't work with OVS or the linux bridge.  I'll improve the
docs around that to make this more clear.



>
>
> If you see on the logs file of OVS, you can see that the bridge will not
> work properly... that's why my instances did not get the network.
>

Can you ping me with the error messages (can be offlist)?  I still don't
understand what you misconfigured, or how you fixed it.


>
> I've tried "ovs-vsctl del-port br-int eth1", restart all the services and
> now, all is working.
>
>
> I have now a dual-node with : Nova-*, Glance, Quantum (without
> authentification), Keystone, and Horizon (without Quantum UI yet).
>

Great to hear.  As I mentioned in a previous post, Horizon + Quantum isn't
complete.  You won't be able to create networks using Horizon, or boot VMs
while specifying a particular set of vNICs.  If you're interested in
helping this work move forward more quickly, I'm happy to put you in touch
with the right people.

Dan


>
> Next steps : QoS, UI, Isolation testing, and documentation :-)
>
>
>
> I will continue to post about Quantum when I will advance in the project.
>
>
> Best regards
>
>
>
>
> Le mercredi 25 avril 2012 à 10:54 -0700, Dan Wendlandt a écrit :
>
> Hi Emilien,
>
>  On Wed, Apr 25, 2012 at 9:13 AM, Emilien Macchi <
> emilien.openstack@xxxxxxxxx> wrote:
>
>
> For example, Quantum does not work with Keystone : When nova-network send
> an API call to Quantum-server, the token is missing in the HTTP HEADER.
> I've disabled Keystone at this time.
>
>
>
>  That is correct.  In the Quantum Admin Guide, it explains some work that
> was done to support Keystone Authn, but notes that this is all
> experimental, as the Quantum API does not support Authz.  This is because
> the only person that calls Quantum in Essex is Nova itself.  Troy Toman's
> team is working on Quantum Authz for Folsom, so the API can be exposed
> directly to tenants.
>
>
>
>
>
> *- What is working at this time :*
>
>     - Quantum-Server with MySQL
>     - Quantum-Agent (with OVS) on each nova-compute node
>     - OVS bridge with eth1
>     -  nova-network seems working with Quantum
>
> *- What is not working (yet !) :*
>
>     - When I create an instance (from dashboard or with Nova CLI), the
> network is created with Quantum, an private IP is attributed to the
> instance, but when I check the instance log file, the network interface
> doesn't get an IP adress. Here the log :
> http://paste.openstack.org/show/13821
>
>
>
>  Are you able to access the VM via VNC?  If you statically configure the
> IP does it work?  What happens if you run dhcpc manually?
>
>
>
>  I would look in the nova-network logs and see if you see an errors
> related to DHCP.
>
>
>
>
>     - Horizon with Quantum : I can't integrate Quantum in the dashboard
> even with
> http://docs.openstack.org/trunk/openstack-compute/admin/content/build-and-configure-openstack-dashboard.html
>
>
>
>  Essex Horizon does not support Quantum.  Its actually not just a Horizon
> thing, it has to do with how the Nova + Quantum integration works.  Each
> Quantum network has to be associated with appropriate IPAM subnet, meaning
> the existing .  For now, you need to create networks using nova-manage.  If
> you want VMs to get the default set of NICs, you can then boot them with
> Horizon.  If you want to specify what networks vNICs are plugged into, this
> is only supported via the nova boot command with the --nic option.  I'll
> flush this out in more detail in the Quantum Admin Guide.
>
>
>
>  Dan
>
>
>
>
>
>
>
>
>
>  --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Dan Wendlandt
>
>  Nicira, Inc: www.nicira.com
>
>  twitter: danwendlandt
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
>
>   --
> *Emilien Macchi*
> Phone : +33 685 117 748
> Skype : memilien69
> Twitter : EmilienMacchi <https://twitter.com/>
> Website : http://my1.fr
>



-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Wendlandt
Nicira, Inc: www.nicira.com
twitter: danwendlandt
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Follow ups

References