Bug 926959
| Summary: | [engine-web-admin-portal] move disk button of stateless vm is not greyed out | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> | ||||
| Component: | ovirt-engine-webadmin-portal | Assignee: | Daniel Erez <derez> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.2.0 | CC: | acanan, acathrow, amureini, derez, dron, ecohen, iheim, jkt, jlibosva, Rhev-m-bugs, scohen, yeylon | ||||
| Target Milestone: | --- | Flags: | scohen:
Triaged+
|
||||
| Target Release: | 3.3.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | is2 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-01-21 22:18:01 UTC | 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: | |||||||
| Attachments: |
|
||||||
Daniel, any problem in graying it out in this state? (In reply to comment #1) > Daniel, any problem in graying it out in this state? On Disks sub-tab (under VMs main-tab), it can be grayed out easily. On Disks main-tab, we currently don't gray out the button (VM bussiness entity is not available). Do we want to prevent it on canDoAction as well? (In reply to comment #2) > (In reply to comment #1) > > Daniel, any problem in graying it out in this state? > > On Disks sub-tab (under VMs main-tab), it can be grayed out easily. On Disks > main-tab, we currently don't gray out the button (VM bussiness entity is not > available). Do we want to prevent it on canDoAction as well? definitely *** Bug 969065 has been marked as a duplicate of this bug. *** * Disks sub-tab (under VMs main-tab): Move button is disabled only when the VM is defined as stateless (on VM creation/update). I.e. when running as stateless using run-once the relevant info (VM -> isStateless flag) is not available; Hence, displaying a canDo error message. * Disks main-tab: The relevant VM b.e. is not available, therefore invoking a canDo error message instead of graying-out the button. move button is now greyed out under the disk sub-tab when trying to move disk of running stateless vm. When trying to move the disk from 'disks' tab, we get: CanDoAction of action LiveMigrateVmDisks failed. Reasons:VAR__ACTION__MOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_VM_RUNNING_STATELESS verified on rhevm3.3 is2 rhevm-3.3.0-0.4.master.el6ev.noarch *** Bug 976672 has been marked as a duplicate of this bug. *** Closing - RHEV 3.3 Released Closing - RHEV 3.3 Released |
Created attachment 715512 [details] vdsm+engine logs Description of problem: 'move' disk button of stateless vm is not greyed out, hence, UI gives an option to do live storage migration of stateless VM. Version-Release number of selected component (if applicable): rhevm-webadmin-portal-3.2.0-10.14.beta1.el6ev.noarch rhevm-backend-3.2.0-10.14.beta1.el6ev.noarc vdsm-4.10.2-11.0.el6ev.x86_64 How reproducible: 100% Steps to Reproduce: in a 2 (or more) storage domains setup: 1. Create stateless VM with disk(s) and run it 2. try to move VM's disk to the other storage domain Actual results: the 'move' button is not greyed out Expected results: 'move' button of stateless VM should be greyed out Additional info: 2013-03-24 15:12:35,184 WARN [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (pool-3-thread-47) [1867e6c0] CanDoAction of action CreateAllSnapshotsFromVm failed. Reasons:VAR__ACTION__CREATE,VAR__TYPE__SNAPSHOT,ACTION_TYPE_FAILED_VM_RUNNING_STATELESS see logs attached