nova tap interface

asked 2014-06-16 01:05:41 -0500

anonymous user

Anonymous

updated 2014-06-16 01:18:26 -0500

Hi 

I'm not able to get tap interface on my compute node when I'm booting VM on it from controller node.I'm able to see both the hypervisors using the nova hypervisor-list command.

Please help regarding this.


Thanks
edit retag flag offensive close merge delete

Comments

Please, post brctl show; ovs-vsctl show on Compute Node, when your VM is up and running

dbaxps gravatar imagedbaxps ( 2014-06-16 01:11:31 -0500 )edit

Here is the output of ovs-vsctl show on the compute node when VM is running and is not active but is in spawning state...

ced88553-8c1c-41a4-ae48-7e1f4616df17
    Bridge br-int
        Port "qvo9663e67d-72"
            tag: 1
            Interface "qvo9663e67d-72"
        Port br-int
            Interface br-int
                type: internal
    ovs_version: "1.10.2"

I'm not able to get tap interface up on compute node in ifconfig.

Sonia gravatar imageSonia ( 2014-06-16 01:15:52 -0500 )edit

Please , post
/var/log/nova/nova-compute.log on Compute
/var/log/nova/nova-scheduler.log on Controller

dbaxps gravatar imagedbaxps ( 2014-06-16 01:40:29 -0500 )edit

Here are the nova-compute logs on compute node..

    cat screen-n-cpu.2014-06-16-002730.log | grep tapcdac7f56-fa
    2014-06-16 01:51:39.368 23148 DEBUG nova.network.api [-] Updating cache with info: [VIF({'ovs_interfaceid': u'cdac7f56-faef-48a6-8e56-cfc258b4985e', 'network': Network({'bridge': 'br-int', 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'10.0.0.7'})], 'version': 4, 'meta': {'dhcp_server': u'10.0.0.3'}, 'dns': [], 'routes': [], 'cidr': u'10.0.0.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'10.0.0.1'})})], 'meta': {'injected': False, 'tenant_id': u'19dd5fb747ff412282f48ea2f59f0cd0'}, 'id': u'ab85b223-3b54-47c0-8124-057463381413', 'label': u'private'}), 'devname': u'tapcdac7f56-fa', 'qbh_params': None, 'meta': {}, 'address': u'fa:16:3e:4b:1d:9b', 'type': u'ovs', 'id': u'cdac7f56-faef-48a6-8e56-cfc258b4985e', 'qbg_params': None})] update_instance_cache_with_nw_info /opt/stack/nova/nova/network/api.py:72
    2014-06-16 01:51:39.451 23148 DEBUG nova.compute.manager [-] [instance: 7eb70ac8-37bb-42f1-b0a7-ae0e3d3a3331] Instance network_info: |[VIF({'ovs_interfaceid': u'cdac7f56-faef-48a6-8e56-cfc258b4985e', 'network': Network({'bridge': 'br-int', 'subnets': [Subnet ...
(more)
Sonia gravatar imageSonia ( 2014-06-16 01:58:58 -0500 )edit

Please type the command been used by you to launch new instance via nova boot
How you uploaded ( glance ) the image for new VM ?

dbaxps gravatar imagedbaxps ( 2014-06-16 02:37:28 -0500 )edit