OpenStack Basic Install

1. OpenStack Basic Install
Table of Contents
Introduction .................................................................................................................... 1 Architecture .................................................................................................................... 2 Requirements .................................................................................................................. 2 Controller Node .............................................................................................................. 3 Introduction ............................................................................................................ 3 Common services .................................................................................................... 3 Keystone ................................................................................................................. 5 Glance ..................................................................................................................... 7 Nova ....................................................................................................................... 8 Cinder ................................................................................................................... 10 Quantum ............................................................................................................... 10 Dashboard (Horizon) ............................................................................................. 11 Network Node .............................................................................................................. 11 Introduction .......................................................................................................... 11 Common services ................................................................................................... 12 Network Services ................................................................................................... 13 Virtual Networking ................................................................................................ 15 Compute Node .............................................................................................................. 15 Introduction .......................................................................................................... 15 Common services ................................................................................................... 16 Hypervisor ............................................................................................................. 17 Nova ..................................................................................................................... 18 Quantum ............................................................................................................... 19 Create your first VM ..................................................................................................... 20 Conclusion ..................................................................................................................... 20

Introduction
This document helps anyone who wants to deploy OpenStack Folsom for development purposes with Ubuntu 12.04 LTS (using the Ubuntu Cloud Archive). We are going to install a three-node setup with one controller, one network and one compute node. Of course, you can setup as many computes nodes as you want. This document is a good start for beginners in OpenStack who want to install a testing infrastructure.

1

OpenStack Basic Install

Architecture

A standard Quantum setup has up to four distinct physical data center networks: • Management network. Used for internal communication between OpenStack components. The IP addresses on this network should be reachable only within the data center.  • Data network. Used for VM data communication within the cloud deployment. The IP addressing requirements of this network depend on the Quantum plugin in use.  • External network. Used to provide VMs with Internet access in some deployment scenarios. The IP addresses on this network should be reachable by anyone on the Internet.  • API network. Exposes all OpenStack APIs, including the Quantum API, to tenants. The IP addresses on this network should be reachable by anyone on the Internet. This may be the same network as the external network, as it is possible to create a quantum subnet for the external network that uses IP allocation ranges to use only less than the full range of IP addresses in an IP block.

Requirements
You need at least three machines (virtual or physical) with Ubuntu 12.04 (LTS) installed.

2

0.168.10. Architecture and node information controller Hostname Services folsom-controller MySQL.7.10.7/24 192. we are going to use the Ubuntu Cloud Archive for Folsom : apt-get install ubuntu-cloud-keyring 3 .7.1/24 2 network folsom-network compute folsom-compute Quantum-L3-agent.3/24 10.04 LTS has OpenStack Essex by default. novaQuantum-DHCP-agent. Quantum 2 7. RabbitMQ. Quantum Agent with Quantum Agent with Open.2/24 2 Minimum number of disks External + API network Management network Data network Total number of NIC Controller Node Introduction The Controller node will provide : • Databases (with MySQL) • Queues (with RabbitMQ) • Keystone • Glance • Nova (without nova-compute) • Cinder • Quantum Server (with Open-vSwitch plugin) • Dashboard (with Horizon) Common services Operating System 1.168. Keystone. Glance.2/24 10. Since Ubuntu 12.OpenStack Basic Install Table 1. Nova. Install Ubuntu with this parameters : • Time zone : UTC • Hostname : folsom-controller • Packages : OpenSSH-Server After OS Installation.10. reboot the server. 2. api.1.10.168.0.8/24 192. Cinder.0.1/24 3 1 192.Open-vSwitch vSwitch 1 7.7. nova-compute.7. KVM.

canonical.8 # API + Public Network auto eth1 iface eth1 inet static address 7.168.8.conf.d/cloud-archive.127.0.OpenStack Basic Install Edit /etc/apt/sources.7.conf : net.254 dns-nameservers 8.ubuntu.0.1 netmask 255.ipv4.7 netmask 255.255. 4.0 fudge 127.com/ubuntu precise-updates/folsom main Upgrade the system (and reboot if you need) : apt-get update && apt-get upgrade 3.0 • Edit /etc/sysctl.list : deb http://ubuntu-cloud.0 gateway 192.168.0 stratum 10 • Restart the service : service ntp restart MySQL Database Service 1.7.archive.conf file : server ntp.com iburst server 127.255. Configure the network : • Edit /etc/network/interfaces file : # Management Network auto eth0 iface eth0 inet static address 192. folsom-network and folsomcompute hostnames with correct IP.ipv4.1. restart network service : service networking restart • Edit the /etc/hosts file and add folsom-controller.rp_filter = 0 net. Install Configure NTP : • Install the package : apt-get install -y ntp • Configure /etc/ntp.8.conf.list.1.255.255. Install the packages : 4 .rp_filter = 0 Then.127.default.all.

2' \ IDENTIFIED BY 'password'.cnf 3. GRANT ALL PRIVILEGES ON glance. GRANT ALL PRIVILEGES ON nova.* TO 'quantum'@'192. Create Databases.2' \ IDENTIFIED BY 'password'.0. Rights : mysql -u root -ppassword <<EOF CREATE DATABASE nova.0.* TO 'glance'@'localhost' \ IDENTIFIED BY 'password'.* TO 'nova'@'localhost' \ IDENTIFIED BY 'password'.* TO 'nova'@'192.3' \ IDENTIFIED BY 'password'. GRANT ALL PRIVILEGES ON nova.* TO 'nova'@'192.168.0.0.168.168. CREATE DATABASE quantum.0/g' /etc/mysql/my.* TO 'quantum'@'localhost' \ IDENTIFIED BY 'password'. Change the default password : rabbitmqctl change_password guest password Keystone 1.0.* TO 'cinder'@'localhost' \ IDENTIFIED BY 'password'. GRANT ALL PRIVILEGES ON cinder. Install the packages : apt-get install rabbitmq-server 2. Restart the service : service mysql restart 4. Install the packages : apt-get install keystone python-keystone python-keystoneclient 2.0.0. GRANT ALL PRIVILEGES ON nova.0.168.168. GRANT ALL PRIVILEGES ON quantum.1' \ IDENTIFIED BY 'password'.* TO 'quantum'@'192. Users. Edit /etc/keystone/keystone.OpenStack Basic Install apt-get install mysql-server python-mysqldb 2. CREATE DATABASE keystone.conf : 5 . GRANT ALL PRIVILEGES ON keystone.0.* TO 'nova'@'192. FLUSH PRIVILEGES. GRANT ALL PRIVILEGES ON nova. GRANT ALL PRIVILEGES ON quantum.* TO 'keystone'@'localhost' \ IDENTIFIED BY 'password'. CREATE DATABASE cinder. GRANT ALL PRIVILEGES ON quantum.1/0. Allow connection from the network : sed -i 's/127. EOF RabbitMQ Messaging Service 1.3' \ IDENTIFIED BY 'password'. CREATE DATABASE glance.

sh If an IP address of the management network on the controller node is different from this example.identity.0 public_port = 5000 admin_port = 35357 compute_port = 8774 verbose = True debug = True log_file = keystone.Identity [catalog] driver = keystone.conf [sql] connection = mysql://keystone:password@localhost:3306/keystone idle_timeout = 200 [identity] driver = keystone. Restart Keystone and create the tables in the database : service keystone restart keystone-manage db_sync 4. please use the following: ..catalog.Catalog (.) 3.backends./keystone-endpoints.0/" SERVICE_ENDPOINT="http://localhost:35357/v2./keystone-endpoints.OpenStack Basic Install [DEFAULT] admin_token = password bind_host = 0. Load environment variables : • Create novarc file : export export export export export export OS_TENANT_NAME=admin OS_USERNAME=admin OS_PASSWORD=password OS_AUTH_URL="http://localhost:5000/v2. services) : .0" SERVICE_TOKEN=password • Export the variables : source novarc echo "source novarc">>./keystone-data..0.log log_dir = /var/log/keystone log_config = /etc/keystone/logging. tenants.0. Download the data script and fill Keystone database with data (users.sh -K <ip address of the management network> 6 . Download the endpoint script and create the endpoints (for projects) : .bashrc 5.backends.sh 6.sql.sql.

modify : notifier_strategy = rabbit rabbit_password = password • Restart Glance services : service glance-api restart && service glance-registry restart • Create Glance tables into the database : glance-manage db_sync • Download and import Ubuntu 12.04/release/ ubuntu-12.com/releases/12.OpenStack Basic Install Glance 1. 7 .img \ --is-public true --disk-format qcow2 --container-format bare --name "Ubuntu" • Check if the image has been introduced in the index : glance image-list +--------------------------------------+--------+------------+------------------+-----------+--------+ | ID | Name | Disk Format | Container Format | Size | Status | +--------------------------------------+--------+------------+------------------+-----------+--------+ | 0d2664d3-cda9-4937-95b2-909ecf8ea362 | Ubuntu | qcow2 | bare | 233701376 | active | +--------------------------------------+--------+------------+------------------+-----------+--------+ • You can also install Glance Replicator (new in Folsom).conf. Install the packages : apt-get install glance glance-api glance-registry python-glanceclient glance-common 2.04-server-cloudimg-amd64-disk1.ubuntu.conf files and modify : sql_connection = mysql://glance:password@localhost/glance admin_tenant_name = service admin_user = glance admin_password = password For glance-api. Configure Glance : • Edit /etc/glance/glance-api.conf and /etc/glance/glance-registry.04 LTS UEC Image : glance image-create \ --location http://uec-images. More informations about it here.

api.ini file and modify : admin_tenant_name = service admin_user = nova admin_password = password Since we are going to use Cinder for volumes.volume.app_factory = nova.urlmap:urlmap_factory /: osvolumeversions /v1: openstack_volume_api_v1 ============================================================ ============================================================ [composite:openstack_volume_api_v1] use = call:nova.simple.factory ============================================================ • Edit /etc/nova/nova.api.168.SimpleScheduler 8 . Install the packages : apt-get install nova-api nova-cert nova-common \ nova-scheduler python-nova python-novaclient nova-consoleauth novnc \ nova-novncproxy 2.openstack.app_factory = nova.api.auth:pipeline_factory noauth = faultwrap sizelimit noauth ratelimit osapi_volume_app_v1 keystone = faultwrap sizelimit authtoken keystonecontext ratelimit osapi_volume_app_v1 keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1 ============================================================ ============================================================ [app:osapi_volume_app_v1] paste.factory ============================================================ ============================================================ [pipeline:osvolumeversions] pipeline = faultwrap osvolumeversionapp [app:osvolumeversionapp] paste.openstack.api.OpenStack Basic Install Nova 1.volume:APIRouter.0. we should also delete each part concerning "nova-volume" : ============================================================ [composite:osapi_volume] use = call:nova.versions:Versions. Configure Nova : • Edit /etc/nova/api-paste.conf file and modify : [DEFAULT] # MySQL Connection # sql_connection=mysql://nova:password@192.openstack.1/nova # nova-scheduler # rabbit_password=password scheduler_driver=nova.scheduler.

0 enabled_apis=ec2.0 libvirt_vif_driver=nova.0.1:8773/services/Cloud keystone_ec2_url=http://192.virt.volume.1 vncserver_listen=0.168.0.1 metadata_host=192.ini allow_admin_api=true use_deprecated_auth=false ec2_private_dns_show_ip=True dmz_cidr=169.GlanceImageService # novnc # novnc_enable=true novncproxy_base_url=http://7.0 # Misc # logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova root_helper=sudo nova-rootwrap /etc/nova/rootwrap.0.vif.IptablesFirewallDriver # Cinder # volume_api_class=nova.254/32 ec2_dmz_host=192.1:9292 image_service=nova.168.cinder.LinuxOVSInterfaceDriver firewall_driver=nova.1/ ec2_url=http://192.168.firewall.0.1 nova_url=http://192.libvirt.linux_net.168.7:6080/vnc_auto.0.0.osapi_compute.api.0.0/ec2tokens api_paste_config=/etc/nova/api-paste.conf verbose=true • Create Nova tables into the database : nova-manage db sync • Restart Nova services : service nova-api restart service nova-cert restart service nova-consoleauth restart 9 .168.168.API # Glance # glance_api_servers=192.1:5000/v2.168.0.1 ec2_host=192.image.libvirt.0.168.168.0.html vncserver_proxyclient_address=192.metadata # Networking # network_api_class=nova.168.7.network.LibvirtHybridOVSBridgeDriver linuxnet_interface_driver=nova.OpenStack Basic Install # nova-api # cc_host=192.169.168.1 auth_strategy=keystone s3_host=192.1:35357/v2.glance.254.0.API quantum_url=http://192.virt.0.network.0.0.1:9696 quantum_auth_strategy=keystone quantum_admin_tenant_name=service quantum_admin_username=quantum quantum_admin_password=password quantum_admin_auth_url=http://192.7.0.1 metadata_listen=0.0.quantumv2.1:8774/v1.168.

OpenStack Basic Install service nova-scheduler restart service nova-novncproxy restart Cinder 1.ini file and modify : admin_tenant_name = service admin_user = cinder admin_password = password • Create the volume (on the second disk) : fdisk /dev/sdb [Create a Linux partition] pvcreate /dev/sdb1 vgcreate cinder-volumes /dev/sdb1 • Create Cinder tables into the database : cinder-manage db sync • Restart the services : service cinder-api restart service cinder-scheduler restart service cinder-volume restart Quantum 1.conf file and modify : 10 .conf file and modify : [DEFAULT] sql_connection = mysql://cinder:password@localhost:3306/cinder rabbit_password = password • Edit /etc/cinder/api-paste. Configure Cinder : • Edit /etc/cinder/cinder. Configure & start the iSCSI services : sed -i 's/false/true/g' /etc/default/iscsitarget service iscsitarget start service open-iscsi start 3. Install the packages : apt-get install -y cinder-api cinder-scheduler cinder-volume iscsitarget \ open-iscsi iscsitarget-dkms python-cinderclient linux-headers-`uname -r` 2. Install the packages : apt-get install quantum-server 2. Configure Quantum services : • Edit /etc/quantum/quantum.

ini file and modify : [DATABASE] sql_connection = mysql://quantum:password@localhost:3306/quantum [OVS] tenant_network_type = gre tunnel_id_ranges = 1:1000 enable_tunneling = True Note It's more handy to choose tunnel mode since you don't have to configure your physical switches for VLANs. Start the services : service quantum-server restart Dashboard (Horizon) Install the packages : apt-get install apache2 libapache2-mod-wsgi openstack-dashboard \ memcached python-memcache OpenStack Dashboard is now available at http://<controller_node>/horizon.ini file and modify : admin_tenant_name = service admin_user = quantum admin_password = password 3. • Edit /etc/quantum/api-paste.OVSQuantumPluginV2 auth_strategy = keystone fake_rabbit = False rabbit_password = password • Edit /etc/quantum/plugins/openvswitch/ovs_quantum_plugin. Network Node Introduction The Network node will provide : • Virtual Bridging (Open-vSwitch + Quantum Agent) with tunneling • DHCP Server (Quantum DHCP Agent) • Virtual Routing (Quantum L3 Agent) 11 .plugins.openvswitch.OpenStack Basic Install core_plugin = \ quantum.ovs_quantum_plugin. We can login with admin / password credentials or demo / password.

1 netmask 255.ipv4. reboot the server.ip_forward=1 net. Configure the network : • Edit /etc/network/interfaces file : # Management Network auto eth0 iface eth0 inet static address 192.168.168.255.0 # Public Bridge auto eth2 iface eth2 inet manual up ifconfig $IFACE 0.0 up up ip link set $IFACE promisc on down ifconfig $IFACE down • Edit /etc/sysctl.0.04 LTS has OpenStack Essex by default.254 dns-nameservers 8.d/cloud-archive. Since Ubuntu 12.archive.255.conf. 2.list : deb http://ubuntu-cloud.8 # Data Network auto eth1 iface eth1 inet static address 10.rp_filter = 0 net. Install Ubuntu with this parameters : • Time zone : UTC • Hostname : folsom-network • Packages : OpenSSH-Server After OS Installation.255.0.canonical.8. we are going to use Cloud Archives for Folsom : apt-get install ubuntu-cloud-keyring Edit /etc/apt/sources.10.default.com/ubuntu precise-updates/folsom main Upgrade the system (and reboot if you need) : apt-get update && apt-get upgrade 3.list.10.conf.0.conf : net.255.ipv4.OpenStack Basic Install Common services Operating System 1.8.rp_filter = 0 12 .all.0.2 netmask 255.0 gateway 192.ipv4.

Create Virtual Bridging : ovs-vsctl add-br br-int ovs-vsctl add-br br-ex ovs-vsctl add-port br-ex eth2 ip link set up br-ex 4. Start Open vSwitch: service openvswitch-switch start 3. Install the packages : apt-get install quantum-plugin-openvswitch-agent \ quantum-dhcp-agent quantum-l3-agent 2.100. if you tie eth0 to a bridge. folsom-network and folsomcompute hostnames with correct IP.51/24). 4.168. such as ovs-vsctl add-br br-eth0 && ovs-vsctl add-port br-eth0 eth0 (where eth0 had an IP address of 192. Install Configure NTP : • Install the package : apt-get install -y ntp • Configure /etc/ntp.0.168. As an example. restart network service : service networking restart • Edit the /etc/hosts file and add folsom-controller. This is described below and also in Common services.OpenStack Basic Install Then. then you need to modify your /etc/network/interfaces as such: auto eth0 iface eth0 inet manual up ifconfig $IFACE up up ip link $IFACE promisc on down ifconfig $IFACE down 13 .conf file : server 192. A crucial step for configuring Open vSwitch and the Linux bridge means you must move your IP address to the bridge interface instead of the physical interface.1 • Restart the service : service ntp restart Network Services Open-vSwitch 1.

ovs_quantum_plugin.ini file and modify : [DATABASE] sql_connection = mysql://quantum:password@192.1 rabbit_password = password • Edit /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.255.plugins.168.8 Quantum Configure Quantum services : • Edit /etc/quantum/l3_agent.100.255.0.1 Note It's more handy to choose tunnel mode since you don't have to configure your physical switches for VLANs. • Edit /etc/quantum/dhcp_agent.0 gateway 192.168.10.ini file and modify : auth_host = 192.0.OVSQuantumPluginV2 auth_strategy = keystone fake_rabbit = False rabbit_host = 192.OpenStack Basic Install auto br-eth0 iface br-eth0 inet static address 192.openvswitch.168.1 admin_tenant_name = service admin_user = quantum admin_password = password • Edit /etc/quantum/quantum.X dns-nameservers 8.10.100.0.1:35357/v2.8.8.1:3306/quantum [OVS] tenant_network_type = gre tunnel_id_ranges = 1:1000 enable_tunneling = True integration_bridge = br-int tunnel_bridge = br-tun local_ip = 10.0.0 admin_tenant_name = service admin_user = quantum admin_password = password metadata_ip = 192.ini file and add : use_namespaces = False Start the services : 14 .168.168.1 use_namespaces = False • Edit /etc/quantum/api-paste.0.168.168.ini file and modify : auth_url = http://192.conf file and modify : core_plugin = \ quantum.51 netmask 255.

4. Edit the script belong your networking (public network. Load environment variables : • Create novarc file : export export export export export export OS_TENANT_NAME=admin OS_USERNAME=admin OS_PASSWORD=password OS_AUTH_URL="http://192.0" SERVICE_TOKEN=password • Export the variables : source novarc echo "source novarc">>. We are using the "Provider Router with Private Networks" use-case.0/" SERVICE_ENDPOINT="http://192.0.ini and paste the ID : gateway_external_network_id = ID • Copy the provider router ID : quantum router-list • Edit /etc/quantum/l3_agent.OpenStack Basic Install service quantum-plugin-openvswitch-agent start service quantum-dhcp-agent restart service quantum-l3-agent restart Virtual Networking Create Virtual Networking 1. Execute the script. floatings IP). L3 Configuration • Copy the external network ID : quantum net-list • Edit /etc/quantum/l3_agent.0.168.1:35357/v2.1:5000/v2. 3.168. Download the Quantum script.bashrc 2.ini and paste the ID : router_id = ID • Restart L3 Agent : service quantum-l3-agent restart Compute Node Introduction The Compute node will provide : 15 .

8.2 netmask 255.conf : net.10.168. restart network service : service networking restart 16 .OpenStack Basic Install • Hypervisor (KVM) • nova-compute • Quantum OVS Agent Common services 1.10.0 gateway 192.8 # Data Network auto eth1 iface eth1 inet static address 10.archive.255.d/cloud-archive. Since Ubuntu 12.all.conf. we are going to use Cloud Archives for Folsom : apt-get install ubuntu-cloud-keyring Edit /etc/apt/sources.list.rp_filter = 0 Then.04 LTS has OpenStack Essex by default.com/ubuntu precise-updates/folsom main Upgrade the system (and reboot if you need) : apt-get update && apt-get upgrade 3.ipv4.255. Install Ubuntu with this parameters : • Time zone : UTC • Hostname : folsom-compute • Packages : OpenSSH-Server After OS Installation.3 netmask 255. Configure the network : • Edit /etc/network/interfaces file : # Management Network auto eth0 iface eth0 inet static address 192.254 dns-nameservers 8. reboot the server .0.255.0 • Edit /etc/sysctl.8.168.ipv4.conf.rp_filter = 0 net.canonical.0.default.list : deb http://ubuntu-cloud.255. 2.

conf file : listen_tls = 0 listen_tcp = 1 auth_tcp = "none" Modify libvirtd_opts variable in /etc/init/libvirt-bin. "/dev/rtc". "/dev/net/tun"] • Disable KVM default virtual bridge to avoid any confusion : virsh net-destroy default virsh net-undefine default • Allow Live Migrations : Edit /etc/libvirt/libvirtd. "/dev/kvm". "/dev/ptmx".conf file and add : cgroup_device_acl = [ "/dev/null".0. "/dev/hpet". Install & Configure NTP : • Install the package : apt-get install -y ntp • Configure /etc/ntp.1 • Restart the service : service ntp restart Hypervisor 1. folsom-network and folsomcompute hostnames with correct IP. "/dev/kqemu". Configure libvirt : • Edit /etc/libvirt/qemu. "/dev/zero".conf file : env libvirtd_opts="-d -l" Edit /etc/default/libvirt-bin file : libvirtd_opts="-d -l" 3. "/dev/full".168.OpenStack Basic Install • Edit the /etc/hosts file and add folsom-controller.conf file : server 192. "/dev/random". Install the packages that we need : apt-get install -y kvm libvirt-bin pm-utils 2. Restart libvirt : service libvirt-bin restart 17 . 4. "/dev/urandom".

LibvirtHybridOVSBridgeDriver libvirt_use_virtio_for_bridges=True • Edit /etc/nova/nova.0.quantumv2.168.0.0.0. Install the packages : apt-get install nova-compute-kvm 2.virt.1:8774/v1.simple.1 auth_strategy=keystone s3_host=192.0.168.network.1:8773/services/Cloud keystone_ec2_url=http://192.libvirt.254.168.169.1 metadata_listen=0.0.conf file and modify : [DEFAULT] libvirt_type=kvm libvirt_ovs_bridge=br-int libvirt_vif_type=ethernet libvirt_vif_driver=nova.0.0.0.168.168.ini allow_admin_api=true use_deprecated_auth=false ec2_private_dns_show_ip=True dmz_cidr=169.0. Configure Nova : • Edit /etc/nova/api-paste.1 nova_url=http://192.1 metadata_host=192.1 ec2_host=192.0.ini file and modify : admin_tenant_name = service admin_user = nova admin_password = password • Edit /etc/nova/nova-compute.1/ ec2_url=http://192.168.168.SimpleScheduler # nova-api # cc_host=192.0.0/ec2tokens api_paste_config=/etc/nova/api-paste.1:5000/v2.168.168.OpenStack Basic Install Nova 1.168.1 rabbit_password=password scheduler_driver=nova.api.1/nova # nova-scheduler # rabbit_host=192.scheduler.254/32 ec2_dmz_host=192.1:9696 quantum_auth_strategy=keystone quantum_admin_tenant_name=service quantum_admin_username=quantum 18 .conf file and modify : [DEFAULT] # MySQL Connection # sql_connection=mysql://nova:password@192.168.API quantum_url=http://192.vif.0.0 enabled_apis=metadata # Networking # network_api_class=nova.

7.glance.OpenStack Basic Install quantum_admin_password=password quantum_admin_auth_url=http://192.IptablesFirewallDriver # Compute # compute_driver=libvirt.virt. Install the packages : apt-get install -y quantum-plugin-openvswitch-agent 2.LinuxOVSInterfaceDriver firewall_driver=nova. Install the packages: apt-get install -y openvswitch-switch 2. Configure Virtual Bridging ovs-vsctl add-br br-int Quantum 1.7:6080/vnc_auto.3 vncserver_listen=0.conf verbose=true • Restart Nova services : service nova-compute restart Quantum Open vSwitch 1.0.conf file and modify : core_plugin = \ 19 .volume.168.0 # Misc # logdir=/var/log/nova state_path=/var/lib/nova lock_path=/var/lock/nova root_helper=sudo nova-rootwrap /etc/nova/rootwrap.168.LibvirtDriver connection_type=libvirt # Cinder # volume_api_class=nova.LibvirtHybridOVSBridgeDriver linuxnet_interface_driver=nova.0.libvirt.0. Edit /etc/quantum/quantum.0.linux_net.7.1:9292 image_service=nova.168.1:35357/v2.vif.image.libvirt.virt.cinder.network.API # Glance # glance_api_servers=192.0 libvirt_vif_driver=nova.firewall. Start Open vSwitch service service openvswitch-switch start 3.GlanceImageService # novnc # novnc_enable=true novncproxy_base_url=http://7.html vncserver_proxyclient_address=192.0.

--device_id <vm-uuid> 6. 20 .ini file and modify : [DATABASE] sql_connection = mysql://quantum:password@192.1 rabbit_password = password 3.0. Create a personal keypair.0. we are going to create a floating-IP attached to the virtual port of our VM and routed to the external network : quantum floatingip-create --port_id <port_id> <ext_net_id> 7. without High Availability (HA) and some services such as those for running OpenStack Object Storage. 4. You can now use OpenStack API or the Dashboard to manage your own IaaS : http://192.168. Conclusion We have built a basic architecture for advanced testing purpose. That's it! You should be able to ping your VM using floating IP.openvswitch. To do that. You can of course add as many compute nodes as you want. Now.2 enable_tunneling = True 4. you need to get the ext_net ID and the port_id of your VM : quantum net-list -.OVSQuantumPluginV2 auth_strategy = keystone fake_rabbit = False rabbit_host = 192. Since Horizon does not manage L3 in Folsom release. In the Dashboard.10. 2.1/horizon with demo / password credentials. Edit the security group "Default" to allow ICMP and SSH. 3.--router:external True quantum port-list -.10.168. This kind of architecture is close to the production. Edit /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.168.OpenStack Basic Install quantum. go to "Instances" and click "Launch Instance" for spawning a new VM. please read the official documentation of each project or write a post to an OpenStack mailing list.0. Start the Agent : service quantum-plugin-openvswitch-agent restart Create your first VM 1.ovs_quantum_plugin.plugins. If you need more specific help. 5.1:3306/quantum [OVS] tenant_network_type = gre tunnel_id_ranges = 1:1000 integration_bridge = br-int tunnel_bridge = br-tun local_ip = 10. we have to configure floating IP from Quantum CLI (using demo tenant).