Bug 1167668
Summary: | [hosted-engine] [iSCSI support] The device that is being used by the engine's VM for the VM disk, and is listed as a direct LUN in the engine, is allowed to be removed from the setup | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> | ||||
Component: | ovirt-hosted-engine-setup | Assignee: | Tal Nisan <tnisan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.5.0 | CC: | acanan, amureini, ecohen, gklein, iheim, lsurette, sbonazzo, scohen, tnisan | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.5.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | org.ovirt.engine-root-3.5.0-25 | Doc Type: | Bug Fix | ||||
Doc Text: |
Cause:
Manipulating the LUN disk which contains the hosted engine may cause harm to the hosted engine and crash it.
Consequence:
HE may crash.
Fix:
Blocking the manipulation of the disk containing HE.
Result:
The LUN disk with the name "hosted_engine" cannot be moved, deleted or modified in any fashion.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | Type: | Bug | |||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1164308, 1164311 | ||||||
Attachments: |
|
Description
Elad
2014-11-25 09:27:31 UTC
Sandro, how is the engine supposed to know which Direct LUN is the HE? It has image alias 'hosted_engine' For reference: http://gerrit.ovirt.org/34782 Seems like an easy fix then. Tal, can we bang out a quick-and-dirty patch please? Done, not as dirty as you'd expect :) Btw, I considered doing a frontend patch that will grey out the edit/attach/remove on the HE disk but then I figured it might be confusing to the user since no explanation is given there and it's better in the rare case that someone tries to run an disallowed option to have a reason coming back from the engine (In reply to Tal Nisan from comment #6) > Btw, I considered doing a frontend patch that will grey out the > edit/attach/remove on the HE disk but then I figured it might be confusing > to the user since no explanation is given there and it's better in the rare > case that someone tries to run an disallowed option to have a reason coming > back from the engine Agreed. Einav - can you ack/nack this decision from a UX perspective? (In reply to Allon Mureinik from comment #7) > (In reply to Tal Nisan from comment #6) > > Btw, I considered doing a frontend patch that will grey out the > > edit/attach/remove on the HE disk but then I figured it might be confusing > > to the user since no explanation is given there and it's better in the rare > > case that someone tries to run an disallowed option to have a reason coming > > back from the engine > Agreed. > Einav - can you ack/nack this decision from a UX perspective? ack - this is consistent with various other parts of the GUI. The direct LUN, used for identifying the hosted-engine disk, is not allowed to be removed/attached to VM Remove: 2014-12-16 09:26:08,668 WARN [org.ovirt.engine.core.bll.RemoveDiskCommand] (ajp-/127.0.0.1:8702-4) [43487008] CanDoAction of action RemoveDisk failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_HOSTED_ENGINE_DISK Attach to VM 2014-12-16 09:27:39,630 WARN [org.ovirt.engine.core.bll.AttachDiskToVmCommand] (ajp-/127.0.0.1:8702-8) [47a7337b] CanDoAction of action AttachDiskToVm failed. Reasons:VAR__ACTION__ATTACH_ACTION_TO,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_HOSTED_ENGINE_DISK Veirified using rhev 3.5 vt13.3 rhevm-3.5.0-0.25.el6ev.noarch ovirt-hosted-engine-setup-1.2.1-7.el6ev.noarch RHEV-M 3.5.0 has been released, closing this bug. RHEV-M 3.5.0 has been released, closing this bug. |