Bug 1328921
| Summary: | Importing HE with VNC device attached creates corrupted VM in the database | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Roman Mohr <roman> |
| Component: | BLL.HostedEngine | Assignee: | Roman Mohr <rmohr> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | sefi litmanovich <slitmano> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.6.5.1 | CC: | alukiano, bugs, mavital, mgoldboi, rgolan, rmohr, slitmano, stirabos |
| Target Milestone: | ovirt-3.6.7 | Flags: | rule-engine:
ovirt-3.6.z+
mgoldboi: planning_ack+ rgolan: devel_ack+ mavital: testing_ack+ |
| Target Release: | 3.6.7.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
The graphics device was not imported when the hosted engine VM was imported into the engine. Furhter the VM display type of the imported VM was always set to qxl.
Consequence:
Because of the, when trying to manipulate the hosted engine VM through the REST API the validation failed. When manipulating it through the GUI by accident the validation passed.
Fix:
Import the right graphics device and set the right display type. Further update the VM definition for already imported hosted engine VMs to represent a valid VM.
Result:
Manipulation works through REST and GUI.
It is also important to not that only after the first OVF flush after the engine upgrade on an already imported hosted engine VM, the hosted engine agent on the host will get the correct display values.
Further he-agent needs to up to date to start the VM with the right parameters when reading the vm configuration from the OVF store. More in bug https://bugzilla.redhat.com/show_bug.cgi?id=1339305 about that.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-04 12:29:19 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1339305, 1339306 | ||
| Bug Blocks: | 1326810 | ||
|
Description
Roman Mohr
2016-04-20 15:21:15 UTC
Moving back to post since there will be another 3.6.7 build I can catch. Verified according to description with: HOST: vdsm-4.17.31-0.el7ev.noarch ovirt-hosted-engine-ha-1.3.5.7-1.el7ev.noarch ovirt-hosted-engine-setup-1.3.7.2-1.el7ev.noarch ENGINE: rhevm-3.6.7.3-0.1.el6.noarch after vm import to engine edit vm shows VNC/cirrus, so does vdsm and vm.conf. |