Bug 814242 - CreateVDSCommand does not include all NIC properties
Summary: CreateVDSCommand does not include all NIC properties
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-core
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Roy Golan
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-19 12:54 UTC by Avihai Shoham
Modified: 2012-12-17 07:49 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-17 07:49:11 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Avihai Shoham 2012-04-19 12:54:48 UTC
i ran a new VM and it was not bootable.

looking in vdsm and engine logs , it appear that backend does not send network proerties to vdsm.

below its a engine.log when  i configured VM with 11 NICs and ran it.
as you can see NICs properties are not sent but they are provisioned in postgres


version of backend env - last commit commit 42f41fae81a18608a1a772a9ae285d5508aaaa85



===================engine log===============================================


irt.engine.core.common.businessentities.VM@4e5098d1), log id: 45a4eb3f
2012-04-19 18:29:34,265 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (pool-5-thread-49) [3f67c844] START, CreateVDSCommand(vdsId = 56c64822-82ea-11e1-9592-001a4a169716, vmId=7b4e809c-e78e-4e37-9e35-c2a287221c74, vm=
org.ovirt.engine.core.common.businessentities.VM@4e5098d1), log id: 26b882d5
2012-04-19 18:29:34,334 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (pool-5-thread-49) [3f67c844] org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand memSize=512,kvmEnable=true,smp=1,emulatedMachine=pc,vmTyp
e=kvm,keyboardLayout=en-us,nice=0,display=qxl,smpCoresPerSocket=1,displayNetwork=ovirtmgmt,timeOffset=0,transparentHugePages=true,vmId=7b4e809c-e78e-4e37-9e35-c2a287221c74,devices=[Ljava.util.Map;@28f743ce,acpiEnable=true,vmName=VM1,cpuT
ype=Conroe,custom={device_3376f6bd-04eb-4d99-b474-a68728832947device_b23d039c-ad89-4ce0-8041-b79ed3fcbc70device_50781f72-7874-4d7a-9705-513062baed06device_c67a7dfb-3c24-4d27-95bc-942f62b3ae49=VmId=7b4e809c-e78e-4e37-9e35-c2a287221c74,Dev
iceId=c67a7dfb-3c24-4d27-95bc-942f62b3ae49,Device=unix,Type=channel,BootOrder=0,SpecParams=deviceId=c67a7dfb-3c24-4d27-95bc-942f62b3ae49,Address={port=1, bus=0, controller=0, type=virtio-serial},IsManaged=false,IsPlugged=true,IsReadOnly=
false, device_3376f6bd-04eb-4d99-b474-a68728832947device_b23d039c-ad89-4ce0-8041-b79ed3fcbc70device_50781f72-7874-4d7a-9705-513062baed06device_c67a7dfb-3c24-4d27-95bc-942f62b3ae49device_4145933f-7f2e-4f1f-a789-00b89beec608=VmId=7b4e809c-
e78e-4e37-9e35-c2a287221c74,DeviceId=4145933f-7f2e-4f1f-a789-00b89beec608,Device=spicevmc,Type=channel,BootOrder=0,SpecParams=deviceId=4145933f-7f2e-4f1f-a789-00b89beec608,Address={port=2, bus=0, controller=0, type=virtio-serial},IsManag
ed=false,IsPlugged=true,IsReadOnly=false, device_3376f6bd-04eb-4d99-b474-a68728832947device_b23d039c-ad89-4ce0-8041-b79ed3fcbc70=VmId=7b4e809c-e78e-4e37-9e35-c2a287221c74,DeviceId=b23d039c-ad89-4ce0-8041-b79ed3fcbc70,Device=virtio-serial
,Type=controller,BootOrder=0,SpecParams=deviceId=b23d039c-ad89-4ce0-8041-b79ed3fcbc70,Address={bus=0x00, domain=0x0000, type=pci, slot=0x03, function=0x0},IsManaged=false,IsPlugged=true,IsReadOnly=false, device_3376f6bd-04eb-4d99-b474-a6
8728832947device_b23d039c-ad89-4ce0-8041-b79ed3fcbc70device_50781f72-7874-4d7a-9705-513062baed06=VmId=7b4e809c-e78e-4e37-9e35-c2a287221c74,DeviceId=50781f72-7874-4d7a-9705-513062baed06,Device=usb,Type=controller,BootOrder=0,SpecParams=de
viceId=50781f72-7874-4d7a-9705-513062baed06,Address={bus=0x00, domain=0x0000, type=pci, slot=0x01, function=0x2},IsManaged=false,IsPlugged=true,IsReadOnly=false, device_3376f6bd-04eb-4d99-b474-a68728832947=VmId=7b4e809c-e78e-4e37-9e35-c2
a287221c74,DeviceId=3376f6bd-04eb-4d99-b474-a68728832947,Device=ide,Type=controller,BootOrder=0,SpecParams=deviceId=3376f6bd-04eb-4d99-b474-a68728832947,Address={bus=0x00, domain=0x0000, type=pci, slot=0x01, function=0x1},IsManaged=false
,IsPlugged=true,IsReadOnly=false}


=================postgres==============================================



engine=# select * from vm_interface ; | vm_guid
                  id                  | network_name |               vm_guid                |               vmt_guid               |     mac_addr      | name  | speed | type |         _create_date          | _update_date 
--------------------------------------+--------------+--------------------------------------+--------------------------------------+-------------------+-------+-------+------+-------------------------------+--------------
 626a19f4-eaeb-4e7b-ae3b-bd0ea8cfaeda | ovirtmgmt    |                                      | 9ddeb84e-8558-444b-8f47-f2df191c040a |                   | nic1  |  1000 |    3 | 2012-04-10 13:15:40.205864+03 | 
 07fc1b66-756c-40c1-9778-cfa7f651e31d | ovirtmgmt    |                                      | 534a17b6-39aa-478f-9a19-0bbbac58e463 |                   | nic1  |  1000 |    3 | 2012-04-18 20:32:42.272612+03 | 
 569ef410-eaf4-4d1f-82f8-199a2b53fafc | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:51 | nic1  |  1000 |    3 | 2012-04-19 13:36:26.220982+03 | 
 89fc9b35-841a-47e3-a29a-8f78fde4d35b | ovirtmgmt    | 6ec4acd5-01a6-480d-80ab-e4e733b775db |                                      | 00:1a:4a:16:01:52 | nic1  |  1000 |    3 | 2012-04-19 13:40:05.83483+03  | 
 8ee3f63e-fb45-4240-b65c-570469d5e2cd | ovirtmgmt    | 6a9c344a-8f4f-477f-902d-8a065319d638 |                                      | 00:1a:4a:16:01:53 | nic1  |  1000 |    3 | 2012-04-19 13:50:11.491106+03 | 
 c59c2367-d142-4945-a4e5-fdf01c5486d6 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:54 | nic2  |  1000 |    3 | 2012-04-19 14:26:14.308194+03 | 
 4124bf28-031e-4032-9d43-d8cee9e39c73 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:55 | nic3  |  1000 |    3 | 2012-04-19 14:34:09.376828+03 | 
 0db70ec0-2823-4466-aead-04dbf986a935 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:56 | nic4  |  1000 |    3 | 2012-04-19 14:34:11.578827+03 | 
 98131936-acb2-4e75-bb77-fa7146a52037 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:57 | nic5  |  1000 |    3 | 2012-04-19 14:34:13.746472+03 | 
 3fa4db4b-9a33-433d-be59-0c555dc7ebb0 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:58 | nic6  |  1000 |    3 | 2012-04-19 14:34:15.734104+03 | 
 b0498e94-de75-4c19-9e6d-360ca7d22fb7 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:59 | nic7  |  1000 |    3 | 2012-04-19 14:34:17.839565+03 | 
 fd295252-ef26-4765-90c2-f636e44e6631 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:5b | nic8  |  1000 |    3 | 2012-04-19 14:34:20.061955+03 | 
 68ff3f92-c3d5-466d-87e9-ce6f0e5dc335 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:5c | nic9  |  1000 |    3 | 2012-04-19 14:34:22.10383+03  | 
 ab7d7013-1f7d-4f20-80d0-65a71352808b | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:5d | nic10 |  1000 |    3 | 2012-04-19 14:34:24.934305+03 | 
 c912d315-b91e-48aa-b181-d9f463259c98 | ovirtmgmt    | 7b4e809c-e78e-4e37-9e35-c2a287221c74 |                                      | 00:1a:4a:16:01:5e | nic11 |  1000 |    3 | 2012-04-19 14:34:27.27797+03  | 
 b24fc226-65e7-4d86-bf23-8d4e61f6fef2 | ovirtmgmt    | cdd27baf-05a0-4f38-abd5-5b697bef297d |                                      | 00:1a:4a:16:01:5f | nic1  |  1000 |    3 | 2012-04-19 14:57:33.136535+03 | 





Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Roy Golan 2012-04-19 13:23:34 UTC
http://gerrit.ovirt.org/#change,3715

commit 318eefaadf20606685d68c1a6773646a7d0d3c47

Comment 2 Avihai Shoham 2012-05-06 07:08:14 UTC
fixed
verified on last dev hash commit b27eef27132cd152d58b6503324a9248374864ab


Note You need to log in before you can comment on or make changes to this bug.