From Fedora Project Wiki

No edit summary
Line 6: Line 6:
* Quantum Server
* Quantum Server
* Quantum Plugins
* Quantum Plugins
The packaging can be found at:
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-quantum openstack-quantum] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-quantum&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]


== Quantum Server ==
== Quantum Server ==


=== '''Installation''' ===
=== '''Installation''' ===
The packaging can be found at:
* [https://admin.fedoraproject.org/pkgdb/acls/name/openstack-quantum openstack-quantum] [https://bugzilla.redhat.com/buglist.cgi?component=openstack-quantum&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=MODIFIED&bug_status=POST (bugs)]
The Quantum service is installed as follows:
The Quantum service is installed as follows:


Line 61: Line 62:


== Troubleshooting ==
== Troubleshooting ==
=== '''Quantum Server''' ===
* ''/etc/quantum/plugins.ini'' contains the specific plugin module. Check that this matches the intended plugin
* ''/etc/quantum/quantum.conf'' contains information relevant to the server. Check that the server is running and that the ''bind_port'' is indeed up.
=== '''Quantum Plugin''' ===
* ''/etc/quantum/plugins.ini'' contains the specific plugin module. Check that this matches the intended plugin
* ''/etc/quantum/quantum.conf'' contains the specific plugin module. Check that this matches the intended plugin
=== '''OpenStack''' ===
* It may be useful to look for errors in ''/var/log/nova/network.log'' and ''/var/log/nova/nova-dhcpbridge.log''
* Common configuration: ''/etc/nova/nova.conf'' contains the relevant quantum configuration.
    network_manager=nova.network.quantum.manager.QuantumManager
    quantum_connection_host=localhost
    quantum_connection_port=9696
    quantum_use_dhcp=True
* Cisco
    scheduler_driver=quantum.plugins.cisco.nova.quantum_port_aware_scheduler.QuantumPortAwareScheduler
    libvirt_vif_driver=quantum.plugins.cisco.nova.vifdirect.Libvirt802dot1QbhDriver
    libvirt_vif_type=802.1Qbh
* Linux Bridge:
    libvirt_vif_type=ethernet
    libvirt_vif_driver nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
    linuxnet_interface_driver=nova.network.linux_net.QuantumLinuxBridgeInterfaceDriver
* Open vSwitch:
    libvirt_vif_type=ethernet
    libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
    linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver


== Useful Quantum Links ==
== Useful Quantum Links ==

Revision as of 12:13, 18 March 2012

Quantum

The Quantum project provides "network connectivity as a service". This page tracks Fedora Cloud SIG's effort to maintain Quantum in Fedora.

This page will address the installation and configuration of the following:

  • Quantum Server
  • Quantum Plugins

The packaging can be found at:

Quantum Server

Installation

The Quantum service is installed as follows:

 #> sudo yum install openstack-quantum

Configuration

The Quantum service requires the installation and configuration of a database. This can be achieved by running the following:

 #> sudo quantum-server-setup

This will ensure that Quantum database is installed, started and configured. In addition to this the user will be requested to supply the relevant plugin. The plugins are discussed below.

OpenStack

Please note that the script quantum-server-setup will update the nova configuration file.

Quantum Plugins

The plugin is responsible for the dynamic configuration of the switches. The following plugins are supported:

  • Cisco
 #> sudo yum install openstack-quantum-cisco
  • Linux Bridge
 #> sudo yum install openstack-quantum-linuxbridge
 #> sudo yum install openstack-quantum-nicira
 #> sudo yum install openstack-quantum-openvswitch
 #> sudo yum install openstack-quantum-ryu

The plugin needs to be installed on all of the nodes.

Configuration

The Quatum plugin must be configured so that it can interface with the Quantum server. This can be achieved by running the following:

 #> sudo quantum-node-setup

This will ensure that Quantum plugin is installed, started and configured.

OpenStack

Please note that the script quantum-node-setup will update the nova configuration file.

Troubleshooting

Quantum Server

  • /etc/quantum/plugins.ini contains the specific plugin module. Check that this matches the intended plugin
  • /etc/quantum/quantum.conf contains information relevant to the server. Check that the server is running and that the bind_port is indeed up.

Quantum Plugin

  • /etc/quantum/plugins.ini contains the specific plugin module. Check that this matches the intended plugin
  • /etc/quantum/quantum.conf contains the specific plugin module. Check that this matches the intended plugin

OpenStack

  • It may be useful to look for errors in /var/log/nova/network.log and /var/log/nova/nova-dhcpbridge.log
  • Common configuration: /etc/nova/nova.conf contains the relevant quantum configuration.
   network_manager=nova.network.quantum.manager.QuantumManager
   quantum_connection_host=localhost
   quantum_connection_port=9696
   quantum_use_dhcp=True
  • Cisco
   scheduler_driver=quantum.plugins.cisco.nova.quantum_port_aware_scheduler.QuantumPortAwareScheduler
   libvirt_vif_driver=quantum.plugins.cisco.nova.vifdirect.Libvirt802dot1QbhDriver
   libvirt_vif_type=802.1Qbh
  • Linux Bridge:
   libvirt_vif_type=ethernet
   libvirt_vif_driver nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver
   linuxnet_interface_driver=nova.network.linux_net.QuantumLinuxBridgeInterfaceDriver
  • Open vSwitch:
   libvirt_vif_type=ethernet
   libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
   linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver

Useful Quantum Links