Hi, Trying to bring up vm on sr-iov enabled openstack getting this error on compute node as shown below
from (pid=9551) _get_guest_xml /opt/stack/nova/nova/virt/libvirt/driver.py:4195 2015-08-17 21:15:40.957 DEBUG nova.virt.libvirt.vif [req-8d3ac9c1-d33d-4bd4-b4ab-5eda2e1c400f demo demo] vif_type=hw_veb instance=Instance(access_ip_v4=None,access_ip_v6=None,architecture=None,auto_disk_config=False,availability_zone=None,cell_name=None,cleaned=False,config_drive='',created_at=2015-08-17T15:45:32Z,default_ephemeral_device=None,default_swap_device='/dev/vdb',deleted=False,deleted_at=None,disable_terminate=False,display_description='vm1',display_name='vm1',ephemeral_gb=0,ephemeral_key_uuid=None,fault=<?>,flavor=Flavor(8),host='Compute1',hostname='vm1',id=18,image_ref='ef29abd3-f52c-4591-b608-c3ed948fb49b',info_cache=InstanceInfoCache,instance_type_id=8,kernel_id='',key_data=None,key_name=None,launch_index=0,launched_at=None,launched_on='Compute1',locked=False,locked_by=None,memory_mb=2048,metadata={},new_flavor=None,node='Compute1',numa_topology=None,old_flavor=None,os_type=None,pci_devices=PciDeviceList,pci_requests=InstancePCIRequests,power_state=0,progress=0,project_id='c3aa578e594f44f7a79cb075ac7688ab',ramdisk_id='',reservation_id='r-0u6rbpou',root_device_name='/dev/vda',root_gb=10,scheduled_at=None,security_groups=SecurityGroupList,shutdown_terminate=False,system_metadata={image_base_image_ref='ef29abd3-f52c-4591-b608-c3ed948fb49b',image_container_format='bare',image_disk_format='qcow2',image_min_disk='10',image_min_ram='0',network_allocated='True'},tags=<?>,task_state='spawning',terminated_at=None,updated_at=2015-08-17T15:45:34Z,user_data=None,user_id='9dd44e8f987548b2a304b3f12b812381',uuid=480128a7-7640-4ddb-9bd1-bdc0018e7f6e,vcpu_model=VirtCPUModel,vcpus=2,vm_mode=None,vm_state='building') vif=VIF({'profile': {u'pci_slot': u'0000:81:02.7', u'physical_network': u'default', u'pci_vendor_info': u'8086:154c'}, 'ovs_interfaceid': None, 'preserve_on_delete': True, 'network': Network({'bridge': None, 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': 'fixed', 'floating_ips': [], 'address': u'192.168.1.11'})], 'version': 4, 'meta': {'dhcp_server': u'192.168.1.2'}, 'dns': [], 'routes': [], 'cidr': u'192.168.1.0/24', 'gateway': IP({'meta': {}, 'version': 4, 'type': 'gateway', 'address': u'192.168.1.1'})})], 'meta': {'injected': False, 'tenant_id': u'c3aa578e594f44f7a79cb075ac7688ab', 'physical_network': u'default'}, 'id': u'e82ec190-e36d-4157-ae9c-e4e4948735e2', 'label': u'mgmt-net'}), 'devname': u'tap3b0a1ae4-4e', 'vnic_type': u'direct', 'qbh_params': None, 'meta': {}, 'details': {u'port_filter': False, u'vlan': u'1009'}, 'address': u'fa:16:3e:eb:38:da', 'active': True, 'type': u'hw_veb', 'id': u'3b0a1ae4-4eb5-4911-a9a7-109217188067', 'qbg_params': None}) from (pid=9551) plug /opt/stack/nova/nova/virt/libvirt/vif.py:597 2015-08-17 21:15:40.961 ERROR nova.virt.libvirt.driver [req-8d3ac9c1-d33d-4bd4-b4ab-5eda2e1c400f demo demo] Error defining a domain with XML: <domain type="qemu"> <uuid>480128a7-7640-4ddb-9bd1-bdc0018e7f6e</uuid> <name>instance-00000012</name> <memory>2097152</memory> <vcpu>2</vcpu> <metadata> <nova:instance xmlns:nova="http://openstack.org/xmlns/libvirt/nova/1.0"> <nova:package version="2015.1.2"/> <nova:name>vm1</nova:name> <nova:creationTime>2015-08-17 15:45:40</nova:creationTime> <nova:flavor name="m1.new"> <nova:memory>2048</nova:memory> <nova:disk>10</nova:disk> <nova:swap>200</nova:swap> <nova:ephemeral>0</nova:ephemeral> <nova:vcpus>2</nova:vcpus> </nova:flavor> <nova:owner> <nova:user uuid="9dd44e8f987548b2a304b3f12b812381">demo</nova:user> <nova:project uuid="c3aa578e594f44f7a79cb075ac7688ab">demo</nova:project> </nova:owner> <nova:root type="image" uuid="ef29abd3-f52c-4591-b608-c3ed948fb49b"/> </nova:instance> </metadata> <sysinfo type="smbios"> <system> <entry name="manufacturer">OpenStack Foundation</entry> <entry name="product">OpenStack Nova</entry> <entry name="version">2015.1.2</entry> <entry name="serial">94e62060-1011-4750-ac16-88c58d7b40af</entry> <entry name="uuid">480128a7-7640-4ddb-9bd1-bdc0018e7f6e</entry> </system> </sysinfo> <os> <type>hvm</type> <boot dev="hd"/> <smbios mode="sysinfo"/> </os> <features> <acpi/> <apic/> </features> <cputune> <shares>2048</shares> </cputune> <clock offset="utc"/> <cpu mode="host-model" match="exact"> <topology sockets="2" cores="1" threads="1"/> </cpu> <devices> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" cache="none"/> <source file="/opt/stack/data/nova/instances/480128a7-7640-4ddb-9bd1-bdc0018e7f6e/disk"/> <target bus="virtio" dev="vda"/> </disk> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" cache="none"/> <source file="/opt/stack/data/nova/instances/480128a7-7640-4ddb-9bd1-bdc0018e7f6e/disk.swap"/> <target bus="virtio" dev="vdb"/> </disk> <disk type="file" device="cdrom"> <driver name="qemu" type="raw" cache="none"/> <source file="/opt/stack/data/nova/instances/480128a7-7640-4ddb-9bd1-bdc0018e7f6e/disk.config"/> <target bus="ide" dev="hdd"/> </disk> <interface type="hostdev" managed="yes"> <mac address="fa:16:3e:eb:38:da"/> <driver name="qemu"/> <source> <address type="pci" domain="0x0000" bus="0x81" slot="0x02" function="0x7"/> </source> <vlan> <tag id="1009"/> </vlan> </interface> <serial type="file"> <source path="/opt/stack/data/nova/instances/480128a7-7640-4ddb-9bd1-bdc0018e7f6e/console.log"/> </serial> <serial type="pty"/> <graphics type="vnc" autoport="yes" keymap="en-us" listen="0.0.0.0"/> <video> <model type="cirrus"/> </video> <memballoon model="virtio"> <stats period="10"/> </memballoon> </devices> </domain> 2015-08-17 21:15:40.962 ERROR nova.compute.manager [req-8d3ac9c1-d33d-4bd4-b4ab-5eda2e1c400f demo demo] [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] Instance failed to spawn 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] Traceback (most recent call last): 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/opt/stack/nova/nova/compute/manager.py", line 2465, in _build_resources 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] yield resources 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/opt/stack/nova/nova/compute/manager.py", line 2337, in _build_and_run_instance 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] block_device_info=block_device_info) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 2388, in spawn 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] block_device_info=block_device_info) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4406, in _create_domain_and_network 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] power_on=power_on) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4337, in _create_domain 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] LOG.error(err) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 85, in __exit__ 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] six.reraise(self.type_, self.value, self.tb) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 4321, in _create_domain 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] domain = self._conn.defineXML(xml) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 183, in doit 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] result = proxy_call(self._autowrap, f, *args, **kwargs) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 141, in proxy_call 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] rv = execute(f, *args, **kwargs) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 122, in execute 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] six.reraise(c, e, tb) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/usr/lib/python2.7/site-packages/eventlet/tpool.py", line 80, in tworker 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] rv = meth(*args, **kwargs) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3445, in defineXML 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] if ret is None:raise libvirtError('virDomainDefineXML() failed', conn=self) 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] libvirtError: unsupported configuration: Unknown PCI device <driver name='qemu'/> has been specified 2015-08-17 21:15:40.962 TRACE nova.compute.manager [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] 2015-08-17 21:15:40.963 INFO nova.compute.manager [req-8d3ac9c1-d33d-4bd4-b4ab-5eda2e1c400f demo demo] [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] Terminating instance 2015-08-17 21:15:40.968 INFO nova.virt.libvirt.driver [-] [instance: 480128a7-7640-4ddb-9bd1-bdc0018e7f6e] During wait destroy, instance disappeared. Thanks and Regards, Raghavendrachari kamsali
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack