Bug 1115350
| Summary: | Certain OS types can't be set to a new VM via REST. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Ilanit Stein <istein> | ||||
| Component: | ovirt-engine | Assignee: | Martin Betak <mbetak> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Ilanit Stein <istein> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4.0 | CC: | acathrow, gklein, iheim, lpeer, mbetak, michal.skrivanek, ofrenkel, Rhev-m-bugs, yeylon | ||||
| Target Milestone: | --- | Keywords: | AutomationBlocker, Reopened, Triaged | ||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-07-29 09:45:33 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Ilanit Stein
2014-07-02 08:51:54 UTC
Created attachment 914068 [details]
logs
engine.log, do not imply of any problem: 2014-06-22 16:26:12,051 INFO [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp-/127.0.0.1:8702-3) [6c83be47-9064-4542_addVm_create] Lock Acquired to object EngineLock [exclusiveLocks= key: template_vm value: VM_NAME , sharedLocks= ] 2014-06-22 16:26:12,089 INFO [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp-/127.0.0.1:8702-3) [6c83be47-9064-4542_addVm_create] Running command: AddVmFromScratchCommand internal: false. Entities affected : ID: db1bb452-3703-4a22-827b-f70c012bb76c Type: VdsGroups 2014-06-22 16:26:12,220 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp-/127.0.0.1:8702-3) [6c83be47-9064-4542_addVm_create] Correlation ID: 6c83be47-9064-4542_addVm_create, Job ID: a151d116-dbf6-4349-a7d5-b15040e50382, Call Stack: null, Custom Event ID: -1, Message: VM template_vm was created by admin. 2014-06-22 16:26:12,230 INFO [org.ovirt.engine.core.bll.AddVmFromScratchCommand] (ajp-/127.0.0.1:8702-3) [6c83be47-9064-4542_addVm_create] Lock freed to object EngineLock [exclusiveLocks= key: template_vm value: VM_NAME , sharedLocks= ] Ilanit: the VM ends up with "other" as OS in case you enter incorrect value as the <os></os>. In your case os windows_2008r2 is incorrect since we only support the 64 bit version (windows_2008R2x64). You can see this that in webadmin you are only able to create win08r2x64 vms. Martin,
OS windows_2008r2 is chosen from REST os_types list (bellow).
In case it is not supported any more, it should be removed from this list.
<os_types>
<os_type>windows_2008x64</os_type>
<os_type>sles_11_ppc64</os_type>
<os_type>unassigned</os_type>
<os_type>other</os_type>
<os_type>other_linux</os_type>
<os_type>rhel_6_ppc64</os_type>
<os_type>windows_2008r2</os_type>
<os_type>ubuntu_12_04</os_type>
<os_type>windows_2008</os_type>
<os_type>other_ppc64</os_type>
<os_type>windows_7x64</os_type>
<os_type>windows_2003x64</os_type>
<os_type>windows_8x64</os_type>
<os_type>ubuntu_12_10</os_type>
<os_type>windows_7</os_type>
<os_type>rhel_6x64</os_type>
<os_type>rhel_6</os_type>
<os_type>rhel_5</os_type>
<os_type>rhel_4x64</os_type>
<os_type>rhel_4</os_type>
<os_type>rhel_3</os_type>
<os_type>windows_8</os_type>
<os_type>windows_2012x64</os_type>
<os_type>windows_2008R2x64</os_type>
<os_type>windows_xp</os_type>
<os_type>rhel_3x64</os_type>
<os_type>windows_2003</os_type>
<os_type>ubuntu_13_10</os_type>
<os_type>other_linux_ppc64</os_type>
<os_type>rhel_5x64</os_type>
<os_type>sles_11</os_type>
<os_type>ubuntu_13_04</os_type>
<os_type>rhel_7x64</os_type>
</os_types>
Yes You are right. This is already being addressed in #1109546 *** This bug has been marked as a duplicate of bug 1109546 *** great, thanks! |