<html><body>
<p><font size="2" face="sans-serif">Hi tudor,<br>
</font><br>
<font size="2" face="sans-serif">     seems that your vm doesn't have the nic. so suggest you check the log of hypervisor.</font><br>
<br>
<font size="2" face="sans-serif">     which type of hypervisor are you using? qemu? pls make sure upgrade the qemu version into 0.15 just from my experience.</font><br>
<br>
<font size="2" face="sans-serif"> </font><font size="2" face="sans-serif">   </font><font size="3" face="serif"> sudo yum -y install <a href="http://mirror.centos.org/centos/6/os/x86_64/Packages/audiofile-0.2.6-11.1.el6.x86_64.rpm">http://mirror.centos.org/centos/6/os/x86_64/Packages/audiofile-0.2.6-11.1.el6.x86_64.rpm</a><br>
     sudo yum -y install <a href="http://mirror.centos.org/centos/6/os/x86_64/Packages/esound-libs-0.2.41-3.1.el6.x86_64.rpm">http://mirror.centos.org/centos/6/os/x86_64/Packages/esound-libs-0.2.41-3.1.el6.x86_64.rpm</a><br>
     sudo yum -y install <a href="http://pkgs.repoforge.org/qemu/qemu-0.15.0-1.el6.rfx.x86_64.rpm">http://pkgs.repoforge.org/qemu/qemu-0.15.0-1.el6.rfx.x86_64.rpm</a> </font><br>
<br>
<font size="2" face="sans-serif">     <br>
<br>
<br>
Best Regards.<br>
<br>
Zhang Hua(张华) <br>
----------------------------------------------------<br>
Cloud Solutions and OpenStack Development<br>
IBM China System and Technology Lab(CSTL), Beijing<br>
E-Mail: zhhuabj@cn.ibm.com<br>
Tel: 86-10-82452020<br>
Address: Building 28(Ring Building), ZhongGuanCun Software Park, <br>
         No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193<br>
</font><br>
<br>
<img width="16" height="16" src="cid:1__=C7BBF11CDF9AA9C78f9e8a93df938@cn.ibm.com" border="0" alt="Inactive hide details for tudor ---06/19/2013 09:16:48 AM---  Hi,"><font size="2" color="#424282" face="sans-serif">tudor ---06/19/2013 09:16:48 AM---  Hi,</font><br>
<br>
<font size="1" color="#5F5F5F" face="sans-serif">From:      </font><font size="1" face="sans-serif">tudor <tudor@tudorholton.com></font><br>
<font size="1" color="#5F5F5F" face="sans-serif">To:        </font><font size="1" face="sans-serif"><openstack@lists.launchpad.net>, </font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Date:      </font><font size="1" face="sans-serif">06/19/2013 09:16 AM</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Subject:   </font><font size="1" face="sans-serif">[Openstack] ip: SIOCGIFFLAGS: No such device</font><br>
<font size="1" color="#5F5F5F" face="sans-serif">Sent by:   </font><font size="1" face="sans-serif">"Openstack" <openstack-bounces+zhhuabj=cn.ibm.com@lists.launchpad.net></font><br>
<hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br>
<br>
<br>
<font size="3" face="serif">Hi,</font>
<p><font size="3" face="serif">I've asked this question a few times on the IRC channel, and I have an open question on ask.openstack.org but so far noone has managed to answer it successfully.</font>
<p><font size="3" face="serif">I have installed OpenStack Grizzly on Ubuntu 12.04 LTS with Quantum and it is up to date with the Ubuntu OpenStack respository.</font>
<p><font size="3" face="serif">I have a simple problem: the network interface is not being created when an instance starts up.  Horizon seems to think that the interface is correct.  It lists:</font>
<p><font size="3" face="serif">IP Addresses<br>
---------------<br>
Officenet<br>
<br>
However, in the logs of the instance I get:</font>
<p><font size="3" face="serif">ip: SIOCGIFFLAGS: No such device</font>
<p><font size="3" face="serif">...and the only interface that exists inside the instance is lo.</font>
<p><font size="3" face="serif">I don't appear to get any obvious errors in any of the quantum or nova logs.</font>
<p><font size="3" face="serif">I believe that quantum is supposed to create a tap port on the OVS bridge specified by externel_network_bridge (br-eth1), but this is not happening.  The network physical port connected via eth1 has a hardware DHCP server on it, but it doesn't appear to assigning a network device on that bridge, so the DHCP request is not being forwarded.</font>
<p><font size="3" face="serif">I have included my quantum config, l3_agent.ini, and the output of ovs-vsctl as I guess these are the most appropriate.  (Removing commented-out defaults)</font>
<p><font size="3" face="serif">Other than solving my particular problem, I'm also trying to understand the process that occurs here.   What service (nova/quantum/something else?) actually creates the port on the OVS bridge and links it to the instance's virtual network device?</font>
<p><font size="3" face="serif">Thanks for the help,<br>
Tudor.</font>
<p><font size="3" face="serif">Quantum.conf</font>
<p><font size="3" face="serif">=========</font>
<p><font size="3" face="serif">[DEFAULT]<br>
# Show more verbose log output (sets INFO log level output)<br>
verbose = True</font>
<p><font size="3" face="serif"># Show debugging output in logs (sets DEBUG log level output)<br>
debug = True</font>
<p><font size="3" face="serif"># Address to bind the API server<br>
bind_host = 0.0.0.0</font>
<p><font size="3" face="serif"># Port the bind the API server to<br>
bind_port = 9696</font>
<p><font size="3" face="serif"># Quantum plugin provider module</font>
<p><font size="3" face="serif">core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2</font>
<p><font size="3" face="serif"># Paste configuration file<br>
api_paste_config = /etc/quantum/api-paste.ini</font>
<p><font size="3" face="serif"># The strategy to be used for auth.<br>
# Supported values are 'keystone'(default), 'noauth'.<br>
auth_strategy = keystone</font>
<p><font size="3" face="serif"># AMQP exchange to connect to if using RabbitMQ or QPID</font>
<p><font size="3" face="serif">control_exchange = quantum</font>
<p><font size="3" face="serif"># If passed, use a fake RabbitMQ provider<br>
fake_rabbit = False</font>
<p><font size="3" face="serif"># IP address of the RabbitMQ installation<br>
rabbit_host = 10.0.0.1<br>
# Password of the RabbitMQ server<br>
rabbit_password = password</font>
<p><font size="3" face="serif"># ============ Notification System Options =====================</font>
<p><font size="3" face="serif"># Notifications can be sent when network/subnet/port are create, updated or deleted.<br>
# There are four methods of sending notifications, logging (via the<br>
# log_file directive), rpc (via a message queue),<br>
# noop (no notifications sent, the default) or list of them</font>
<p><font size="3" face="serif"># Defined in notifier api<br>
notification_driver = quantum.openstack.common.notifier.list_notifier</font>
<p><font size="3" face="serif"># Defined in list_notifier</font>
<p><font size="3" face="serif">list_notifier_drivers = quantum.openstack.common.notifier.rabbit_notifier</font>
<p><font size="3" face="serif">[QUOTAS]</font>
<p><font size="3" face="serif">L3_agent.ini</font>
<p><font size="3" face="serif">========</font>
<p><font size="3" face="serif">[DEFAULT]</font>
<p><font size="3" face="serif"># OVS</font>
<p><font size="3" face="serif">interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver<br>
# LinuxBridge<br>
#interface_driver = quantum.agent.linux.interface.BridgeInterfaceDriver</font>
<p><font size="3" face="serif"># The Quantum user information for accessing the Quantum API.<br>
auth_url = </font><font size="3" face="serif"><a href="http://10.0.0.1:35357/v2.0">http://10.0.0.1:35357/v2.0</a></font><font size="3" face="serif"><br>
auth_region = RegionOne<br>
admin_tenant_name = service<br>
admin_user = quantum <br>
admin_password = password</font>
<p><font size="3" face="serif"><br>
# Use "sudo quantum-rootwrap /etc/quantum/rootwrap.conf" to use the real<br>
# root filter facility.<br>
# Change to "sudo" to skip the filtering and just run the comand directly<br>
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf</font>
<p><font size="3" face="serif"># Allow overlapping IP (Must have kernel build with CONFIG_NET_NS=y and<br>
# iproute2 package that supports namespaces).<br>
# use_namespaces = True<br>
use_namespaces = False</font>
<p><font size="3" face="serif"># If use_namespaces is set as False then the agent can only configure one router.<br>
# This is done by setting the specific router_id.<br>
# router_id =<br>
router_id = e263323d-ad1d-4930-8739-ebf80cef3f96</font>
<p><font size="3" face="serif"># Each L3 agent can be associated with at most one external network. This<br>
# value should be set to the UUID of that external network. If empty,<br>
# the agent will enforce that only a single external networks exists and<br>
# use that external network id<br>
# gateway_external_net_id =<br>
gateway_external_net_id = e1bbbcb1-e20d-48e5-ae89-823c1a485625</font>
<p><font size="3" face="serif"># Indicates that this L3 agent should also handle routers that do not have</font>
<p><font size="3" face="serif"># an external network gateway configured. This option should be True only<br>
# for a single agent in a Quantum deployment, and may be False for all agents<br>
# if all routers must have an external network gateway<br>
# handle_internal_only_routers = True</font>
<p><font size="3" face="serif"># Name of bridge used for external network traffic. This should be set to<br>
# empty value for the linux bridge<br>
# external_network_bridge = br-ex<br>
external_network_bridge = br-eth1</font>
<p><font size="3" face="serif"># IP address used by Nova metadata server<br>
# metadata_ip =<br>
metadata_ip = 10.0.0.1</font>
<p><font size="3" face="serif"># TCP Port used by Nova metadata server<br>
# metadata_port = 8775</font>
<p><font size="3" face="serif"># The time in seconds between state poll requests<br>
# polling_interval = 3</font>
<p><font size="3" face="serif"> </font>
<p><font size="3" face="serif">ovs-vsctl show</font>
<p><font size="3" face="serif">=========</font>
<p><font size="3" face="serif"># ovs-vsctl show<br>
e1bbbcb1-e20d-48e5-ae89-823c1a485625<br>
Bridge "br-eth1"<br>
Port "phy-br-eth1"<br>
Interface "phy-br-eth1"<br>
Port "eth1"<br>
Interface "eth1"<br>
Port "br-eth1"<br>
Interface "br-eth1"<br>
type: internal<br>
Bridge br-tun<br>
Port patch-int<br>
Interface patch-int<br>
type: patch<br>
options: {peer=patch-tun}<br>
Port br-tun<br>
Interface br-tun<br>
type: internal<br>
Bridge "br-eth0"<br>
Port "phy-br-eth0"<br>
Interface "phy-br-eth0"<br>
Port "eth0"<br>
Interface "eth0"<br>
Port "br-eth0"<br>
Interface "br-eth0"<br>
type: internal<br>
ovs_version: "1.4.0+build0"</font>
<p><font size="3" face="serif"> </font>
<p><font size="3" face="serif"> </font><tt><font size="2">_______________________________________________<br>
Mailing list: </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
Post to     : openstack@lists.launchpad.net<br>
Unsubscribe : </font></tt><tt><font size="2"><a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></font></tt><tt><font size="2"><br>
More help   : </font></tt><tt><font size="2"><a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></font></tt><tt><font size="2"><br>
</font></tt>
<p></body></html>