Bug 1591271
Summary: | Get Internal Server Error while trying to get graphic console, while VM suspending | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | biakymet | ||||
Component: | RestAPI | Assignee: | Ori Liel <oliel> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Matyáš <pmatyas> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.3.0 | CC: | biakymet, bugs, mperina, pstehlik | ||||
Target Milestone: | ovirt-4.2.6 | Flags: | rule-engine:
ovirt-4.2+
|
||||
Target Release: | 4.2.6 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt-engine-4.2.6 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-09-03 15:10:07 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
biakymet
2018-06-14 12:35:34 UTC
The Engine considers the VM not qualified for a console connection because it is suspended and fails the command on purpose. It issues a clear failure message in the log: "Operation Failed: Vm <vm_name> is not running". Seems to me that the fix should be to fail the request gracefully, returning an error with status CONFLICT and displaying the error message. This is in contrast to what's written under "Expected results", which is that the graphics console should be returned. Could you please address this? (In reply to Ori Liel from comment #1) > The Engine considers the VM not qualified for a console connection because > it is suspended and fails the command on purpose. It issues a clear failure > message in the log: "Operation Failed: Vm <vm_name> is not running". > Seems to me that the fix should be to fail the request gracefully, returning an > error with status CONFLICT and displaying the error message. Yes, it would be nice if error would be more clearer then just 500 (Internal Server Error). Verified on ovirt-engine-4.2.6-0.1.el7ev.noarch |