Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1572979

Summary: [ovirt-web-ui] Failed to update OS
Product: [oVirt] ovirt-engine Reporter: Israel Pinto <ipinto>
Component: BLL.InfraAssignee: Martin Perina <mperina>
Status: CLOSED UPSTREAM QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.2.3.2CC: bugs, gshereme, michal.skrivanek
Target Milestone: ---Keywords: Regression
Target Release: ---Flags: ipinto: planning_ack?
ipinto: devel_ack?
ipinto: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-30 04:38:28 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
update OS
none
engine log none

Description Israel Pinto 2018-04-29 12:16:38 UTC
Description of problem:
Login to VM Portal with Admin user.
Update the os type to 'Other OS' (Note: There are 2 Other OS in the list the last one)
Error:
Cannot edit VM. Selected operating system is not supported by the architecture

Version-Release number of selected component (if applicable):
VM Portal version 1.3.6-1
Engine: 4.2.3.3-0.1.el7



How reproducible:
100% 

See attachment

Comment 1 Israel Pinto 2018-04-29 12:17:11 UTC
Created attachment 1428390 [details]
update OS

Comment 2 Israel Pinto 2018-04-29 12:19:04 UTC
Engine log:
2018-04-29 15:13:06,950+03 INFO  [org.ovirt.engine.core.bll.HandleVdsVersionCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-20) [cb1ced9] Running command: HandleVdsVersionCommand internal: true. Entities affected :  ID: 45671acf-abcd-4825-9260-3fd2569c45ea Type: VDS
2018-04-29 15:18:19,991+03 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-23) [97f4d8a6-afaf-4a64-bfe6-544af0553f06] Lock Acquired to object 'EngineLock:{exclusiveLocks='[golden_env_mixed_virtio_0=VM_NAME]', sharedLocks='[1935de38-60af-473f-b21c-f89fde97a75a=VM]'}'
2018-04-29 15:18:19,992+03 WARN  [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-23) [97f4d8a6-afaf-4a64-bfe6-544af0553f06] Validation of action 'UpdateVm' failed for user admin@internal-authz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__VM,ACTION_TYPE_FAILED_ILLEGAL_OS_TYPE_IS_NOT_SUPPORTED_BY_ARCHITECTURE_TYPE
2018-04-29 15:18:19,994+03 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-23) [97f4d8a6-afaf-4a64-bfe6-544af0553f06] Lock freed to object 'EngineLock:{exclusiveLocks='[golden_env_mixed_virtio_0=VM_NAME]', sharedLocks='[1935de38-60af-473f-b21c-f89fde97a75a=VM]'}'
2018-04-29 15:18:20,005+03 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-23) [] Operation Failed: [Cannot edit VM. Selected operating system is not supported by the architecture.]

Comment 3 Israel Pinto 2018-04-29 12:21:25 UTC
Created attachment 1428391 [details]
engine log

Comment 5 Michal Skrivanek 2018-04-30 04:38:28 UTC
https://github.com/oVirt/ovirt-web-ui/issues/512