Bug 1618977
| Summary: | PPC: VM creation with 'other_ppc64' OS fails with bad request - "Cannot add VM. Selected operating system is not supported by the architecture" | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Elad <ebenahar> | ||||
| Component: | BLL.Virt | Assignee: | Michal Skrivanek <michal.skrivanek> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | meital avital <mavital> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.2.6.2 | CC: | bugs, ebenahar | ||||
| Target Milestone: | --- | Keywords: | Automation, AutomationBlocker, Regression | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-08-20 06:57:22 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: | |||||||
| Attachments: |
|
||||||
Which template? A regression from what version? When it was executed sucessfully for the last time? The VM is indeed being created from a template that has 'other os'. This failed all the regression test cases which involve VM creation from a template on PPC. This is marked as a regression, when did this ever pass? “Other” is not a usable type on ppc64le and never was. This used to pass up until the last PPC9 execution. This flow is very basic in our automated tests, it's part of the setup for most of storage related test cases. The VM is being created from a template (not blank). From the attached logs (art_test_runner.log): VM creation request: 2018-08-16 22:08:55,343 - MainThread - vms - DEBUG - CREATE request content is -- url:https://jenkins-vm-14.lab.eng.tlv2.redhat.com/ovirt-engine/api/vms;clone=true body:<vm> <name>source_vm_TestCase6169_1622085442</name> <display> <type>spice</type> </display> <os> <type>rhel_6x64</type> </os> <type>desktop</type> <virtio_scsi> ..... <template href="/ovirt-engine/api/templates/d7f92619-12be-46b1-88f5-7d378c42aa14" id="d7f92619-12be-46b1-88f5-7d378c42aa14"> ..... <version> <version_name>base version</version_name> <version_number>1</version_number> <base_template href="/ovirt-engine/api/templates/d7f92619-12be-46b1-88f5-7d378c42aa14" id="d7f92619-12be-46b1-88f5-7d378c42aa14"/> </version> </template> YEs the template d7f92619-12be-46b1-88f5-7d378c42aa14 is of correct type other_ppc64. However the VM clone request specififes
<os>
<type>rhel_6x64</type>
</os>
which is not a ppc64le OS type
|
Created attachment 1476862 [details] logs Description of problem: An attempt to create a VM via REST API with 'other_ppc64' OS fails on bad request. Version-Release number of selected component (if applicable): rhvm-4.2.6.3-0.1.el7ev.noarch vdsm-4.20.37-1.el7ev.ppc64le How reproducible: Always Steps to Reproduce: On a PPC env: 1. REST API: Create a VM from a template with 'other_ppc64' OS: <os> <boot> <devices> <device>hd</device> </devices> </boot> <type>other_ppc64</type> </os> Actual results: 2018-08-16 22:08:55,795+03 WARN [org.ovirt.engine.core.bll.AddVmFromTemplateCommand] (default task-14) [] Validation of action 'AddVmFromTemplate' failed for user admin@internal-authz. Reasons: VAR__ACTION__ADD,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_OS_TYPE_IS_NOT_SUPPORTED_BY_ARCHITECTURE_TYPE Expected results: Create VM with other_ppc64 should succeed Additional info: logs