Bug 1342818
Summary: | Unmanaged VMs are added without the host they run on | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Arik <ahadas> |
Component: | BLL.Virt | Assignee: | Arik <ahadas> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Artyom <alukiano> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 4.0.0 | CC: | bugs, michal.skrivanek |
Target Milestone: | ovirt-4.0.0-rc | Keywords: | Regression, Triaged |
Target Release: | 4.0.0 | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ michal.skrivanek: devel_ack+ mavital: testing_ack+ |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | latest | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-05 07:50:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Arik
2016-06-05 14:30:34 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone. Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. right right, bot strikes back. alright, forget the regression keyword despite this being a regression. We just do not care about this situation so much as normally there are no external VMs external vms - sure but what about the case of hosted engine? I thought HE is not affected here. Now I don't understand what I was thinking that, alrighty, back with the urgency even though i'm not sure it's so bad, HE is made managed properly right after, so I suppose it gets fixed. either way, backport should be trivial Verified on rhevm-4.0.0.4-0.1.el7ev.noarch 1) Create some vm.conf on host vmId=21a6a951-209c-42c5-b97f-e28ac80e99f6 memSize=4096 display=vnc devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1, type:drive},specParams:{},readonly:true,deviceId:cd509fbb-5f66-4995-aae1-70a4e588f5be,path:,device:cdrom,shared:false,type:disk} devices={device:scsi,model:virtio-scsi,type:controller} devices={device:console,specParams:{},type:console,deviceId:4968b8e7-c1d1-4e05-a868-f080fbf3296b,alias:console0} devices={device:vga,alias:video0,type:video} vmName=test_vm spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir smp=2 cpuType=Opteron_G1 emulatedMachine=rhel6.5.0 2) Start VM via vdsClient vdsClient -s 0 create vm.conf 3) Add host to the engine I can see VM under the engine and I can see that VM has correct host <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <vm href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6" id="21a6a951-209c-42c5-b97f-e28ac80e99f6"> <actions> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/ticket" rel="ticket"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/reboot" rel="reboot"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/undosnapshot" rel="undosnapshot"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/thawfilesystems" rel="thawfilesystems"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/cancelmigration" rel="cancelmigration"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/commitsnapshot" rel="commitsnapshot"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/clone" rel="clone"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/freezefilesystems" rel="freezefilesystems"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/logon" rel="logon"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/maintenance" rel="maintenance"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/reordermacaddresses" rel="reordermacaddresses"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/detach" rel="detach"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/previewsnapshot" rel="previewsnapshot"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/migrate" rel="migrate"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/export" rel="export"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/shutdown" rel="shutdown"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/start" rel="start"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/stop" rel="stop"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/suspend" rel="suspend"/> </actions> <name>external-test_vm</name> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/applications" rel="applications"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/disks" rel="disks"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/nics" rel="nics"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/numanodes" rel="numanodes"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/cdroms" rel="cdroms"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/snapshots" rel="snapshots"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/tags" rel="tags"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/permissions" rel="permissions"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/statistics" rel="statistics"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/reporteddevices" rel="reporteddevices"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/watchdogs" rel="watchdogs"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/sessions" rel="sessions"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/katelloerrata" rel="katelloerrata"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/graphicsconsoles" rel="graphicsconsoles"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/hostdevices" rel="hostdevices"/> <link href="/ovirt-engine/api/vms/21a6a951-209c-42c5-b97f-e28ac80e99f6/diskattachments" rel="diskattachments"/> <bios> <boot_menu> <enabled>false</enabled> </boot_menu> </bios> <console> <enabled>false</enabled> </console> <cpu> <architecture>x86_64</architecture> <topology> <cores>1</cores> <sockets>2</sockets> <threads>1</threads> </topology> </cpu> <cpu_shares>0</cpu_shares> <creation_time>2016-06-21T08:56:57.731-04:00</creation_time> <delete_protected>false</delete_protected> <display> <address>cyan-vdsg.qa.lab.tlv.redhat.com</address> <allow_override>false</allow_override> <copy_paste_enabled>true</copy_paste_enabled> <disconnect_action>LOCK_SCREEN</disconnect_action> <file_transfer_enabled>true</file_transfer_enabled> <monitors>1</monitors> <port>5900</port> <single_qxl_pci>false</single_qxl_pci> <smartcard_enabled>false</smartcard_enabled> <type>vnc</type> </display> <high_availability> <enabled>false</enabled> <priority>0</priority> </high_availability> <initialization> <configuration> <data><?xml version="1.0" encoding="UTF-8"?><ovf:Envelope xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1/" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ovf:version="4.0.0.0"><References></References><Section xsi:type="ovf:NetworkSection_Type"><Info>List of networks</Info><Network ovf:name="Network 1"></Network></Section><Section xsi:type="ovf:DiskSection_Type"><Info>List of Virtual Disks</Info></Section><Content ovf:id="out" xsi:type="ovf:VirtualSystem_Type"><CreationDate>2016/06/21 12:56:57</CreationDate><ExportDate>2016/06/21 13:00:09</ExportDate><DeleteProtected>false</DeleteProtected><SsoMethod>guest_agent</SsoMethod><IsSmartcardEnabled>false</IsSmartcardEnabled><TimeZone>Etc/GMT</TimeZone><default_boot_sequence>0</default_boot_sequence><Generation>1</Generation><ClusterCompatibilityVersion>4.0</ClusterCompatibilityVersion><VmType>0</VmType><MinAllocatedMem>4096</MinAllocatedMem><IsStateless>false</IsStateless><IsRunAndPause>false</IsRunAndPause><AutoStartup>false</AutoStartup><Priority>0</Priority><CreatedByUserId>00000000-0000-0000-0000-000000000000</CreatedByUserId><MigrationSupport>0</MigrationSupport><IsBootMenuEnabled>false</IsBootMenuEnabled><IsSpiceFileTransferEnabled>true</IsSpiceFileTransferEnabled><IsSpiceCopyPasteEnabled>true</IsSpiceCopyPasteEnabled><CustomEmulatedMachine></CustomEmulatedMachine><CustomCpuName></CustomCpuName><PredefinedProperties></PredefinedProperties><UserDefinedProperties></UserDefinedProperties><Name>external-test_vm</Name><TemplateId>00000000-0000-0000-0000-000000000000</TemplateId><TemplateName>Blank</TemplateName><IsInitilized>false</IsInitilized><Origin>4</Origin><DefaultDisplayType>1</DefaultDisplayType><TrustedService>false</TrustedService><OriginalTemplateId>00000000-0000-0000-0000-000000000000</OriginalTemplateId><OriginalTemplateName>Blank</OriginalTemplateName><UseHostCpu>false</UseHostCpu><UseLatestVersion>false</UseLatestVersion><Section ovf:id="21a6a951-209c-42c5-b97f-e28ac80e99f6" ovf:required="false" xsi:type="ovf:OperatingSystemSection_Type"><Info>Guest Operating System</Info><Description>other</Description></Section><Section xsi:type="ovf:VirtualHardwareSection_Type"><Info>2 CPU, 4096 Memory</Info><System><vssd:VirtualSystemType>ENGINE 4.0.0.0</vssd:VirtualSystemType></System><Item><rasd:Caption>2 virtual cpu</rasd:Caption><rasd:Description>Number of virtual CPU</rasd:Description><rasd:InstanceId>1</rasd:InstanceId><rasd:ResourceType>3</rasd:ResourceType><rasd:num_of_sockets>2</rasd:num_of_sockets><rasd:cpu_per_socket>1</rasd:cpu_per_socket><rasd:threads_per_cpu>1</rasd:threads_per_cpu></Item><Item><rasd:Caption>4096 MB of memory</rasd:Caption><rasd:Description>Memory Size</rasd:Description><rasd:InstanceId>2</rasd:InstanceId><rasd:ResourceType>4</rasd:ResourceType><rasd:AllocationUnits>MegaBytes</rasd:AllocationUnits><rasd:VirtualQuantity>4096</rasd:VirtualQuantity></Item><Item><rasd:Caption>USB Controller</rasd:Caption><rasd:InstanceId>3</rasd:InstanceId><rasd:ResourceType>23</rasd:ResourceType><rasd:UsbPolicy>DISABLED</rasd:UsbPolicy></Item></Section></Content></ovf:Envelope></data> <type>ovf</type> </configuration> </initialization> <io> <threads>0</threads> </io> <large_icon href="/ovirt-engine/api/icons/10b44f70-b36e-43a3-9756-b328459d3827" id="10b44f70-b36e-43a3-9756-b328459d3827"/> <memory>4294967296</memory> <memory_policy> <ballooning>true</ballooning> <guaranteed>4294967296</guaranteed> </memory_policy> <migration> <auto_converge>inherit</auto_converge> <compressed>inherit</compressed> </migration> <migration_downtime>-1</migration_downtime> <origin>external</origin> <os> <boot> <devices> <device>hd</device> </devices> </boot> <type>other</type> </os> <small_icon href="/ovirt-engine/api/icons/d3f90288-bd25-47de-b1ba-2f5c4796ad6b" id="d3f90288-bd25-47de-b1ba-2f5c4796ad6b"/> <soundcard_enabled>true</soundcard_enabled> <sso> <methods> <method id="guest_agent"/> </methods> </sso> <start_paused>false</start_paused> <stateless>false</stateless> <time_zone> <name>Etc/GMT</name> </time_zone> <type>desktop</type> <usb> <enabled>false</enabled> </usb> <virtio_scsi> <enabled>true</enabled> </virtio_scsi> <cluster href="/ovirt-engine/api/clusters/70146e4c-9500-4793-994f-3aefdb160e12" id="70146e4c-9500-4793-994f-3aefdb160e12"/> <cpu_profile href="/ovirt-engine/api/cpuprofiles/55991f76-00d5-43b1-9fae-6abaaa3254a5" id="55991f76-00d5-43b1-9fae-6abaaa3254a5"/> <next_run_configuration_exists>false</next_run_configuration_exists> <numa_tune_mode>interleave</numa_tune_mode> <placement_policy> <affinity>migratable</affinity> </placement_policy> <run_once>false</run_once> <status>up</status> <host href="/ovirt-engine/api/hosts/a96de113-0119-4c98-8c77-755fa855dcae" id="a96de113-0119-4c98-8c77-755fa855dcae"/> <template href="/ovirt-engine/api/templates/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"/> </vm> oVirt 4.0.0 has been released, closing current release. |