Bug 1435579
| Summary: | Failed to restart VM vm2-test-w2k12r2-1 on Host <UNKNOWN> | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Jiri Belka <jbelka> |
| Component: | Frontend.WebAdmin | Assignee: | Sharon Gratch <sgratch> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jiri Belka <jbelka> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.1.5 | CC: | bugs, lsvaty, stirabos, tjelinek |
| Target Milestone: | ovirt-4.1.3 | Flags: | tjelinek:
ovirt-4.1?
tjelinek: planning_ack? rule-engine: devel_ack+ lsvaty: testing_ack+ |
| Target Release: | 4.1.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: Validating the number of unmanaged USB controllers for a restarted/rerun VM was done after the VM was already started to run but before a host was scheduled for this VM.
Consequence: In case the validation failed, an error was displayed in audit log with host_name="UNKNOWN" - since no host assigned. I.e.:
Failed to restart VM <vm-name> on Host <UNKNOWN>
Fix:
Add this USB unmanaged controllers validation check to the Validate() phase before the host started to run.
Result:
In case of a validation failure, a popup window will be displayed and a log msg will be added - informing that this VM can't run (without any host information included in the message).
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-07-06 13:14:21 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
Jiri Belka
2017-03-24 09:42:50 UTC
To reproduce this bug: 1. Add at least 2 un-managed USB controllers to an OLD VM <= 3.6, with USB policy set to DISABLED 2. Restart the VM by HA or rerun it - on a new 4.1 engine. Since the USB devices validation of unmanaged USB controllers number failed in runVmCommand->initVM() phase (where there is still no host scheduled to run this VM), then an error is displayed in audit log with host=NULL (=UNKNOWN). ok, ovirt-engine-4.1.3.4-0.1.el7.noarch (i tried to reproduce it based on #2) |