Bug 863139 - UserVmManager/PowerUser can not reassign existing VM to a different cluster within the same DC
Summary: UserVmManager/PowerUser can not reassign existing VM to a different cluster w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3.2.0
Assignee: Oved Ourfali
QA Contact: Ondra Machacek
URL:
Whiteboard: virt
Depends On:
Blocks: 886121 915537
TreeView+ depends on / blocked
 
Reported: 2012-10-04 14:13 UTC by David Jaša
Modified: 2013-06-11 09:23 UTC (History)
11 users (show)

Fixed In Version: sf1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 886121 (view as bug list)
Environment:
Last Closed:
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Jaša 2012-10-04 14:13:01 UTC
Description of problem:
UserVmManager/PowerUser can not reassign existing VM to a different cluster within the same DC. User has to pick the correct one right at VM creation.

Version-Release number of selected component (if applicable):
si19.1 / rhevm-backend-3.1.0-18.el6ev.noarch

How reproducible:
always

Steps to Reproduce:
1. have a DC with two clusters and user with PowerUserRole on whole DC
2. as the user, create a VM in PUP
3. edit the (down, idle) VM, try to change Cluster
  
Actual results:
in step 2: you can choose both clusters - correct
in step 3: only the current cluster is available in drop-down menu

Expected results:
step 2: the same
step 3: user should be able to choose among both clusters

Additional info:
this works fine in 3.0, thus marking as a regression

Comment 2 Oved Ourfali 2012-10-09 07:37:51 UTC
In the Edit existing VM dialog, the UI shows only clusters on which you have EDIT_VM_PROPERTIES action group on.

We changed the PowerUser role to a creator role, thus he no longer has this permission.

It seems reasonable to me to show all clusters with a CREATE_VM permission on the cluster, as by updating a VM cluster you basically create a new VM in this cluster.

Miki - any thoughts on that?

Comment 5 Oved Ourfali 2012-10-22 14:51:52 UTC
Patch posted to gerrit:
http://gerrit.ovirt.org/#/c/8724/

Comment 6 Oved Ourfali 2012-10-22 15:28:42 UTC
Commit: 5627c6402f9b0ab71728f364705a29dce48e6f72

http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=5627c6402f9b0ab71728f364705a29dce48e6f72

Comment 9 Itamar Heim 2013-06-11 08:47:56 UTC
3.2 has been released

Comment 10 Itamar Heim 2013-06-11 08:47:56 UTC
3.2 has been released

Comment 11 Itamar Heim 2013-06-11 08:48:03 UTC
3.2 has been released

Comment 12 Itamar Heim 2013-06-11 08:53:10 UTC
3.2 has been released

Comment 13 Itamar Heim 2013-06-11 09:23:51 UTC
3.2 has been released


Note You need to log in before you can comment on or make changes to this bug.