Previously, when a non-administrator created a virtual machine in a virtual machine pool ownership was automatically granted. This caused the virtual machine to be designated as occupied and prevented other users from taking it. Now, the ownership of virtual machines in a virtual machine pool is not granted automatically.
Description of problem:
When a user which do not have the system permission "Manipulate Permissions" creates a pool. All the pool VMs get this user as UserVmManager.
Version-Release number of selected component (if applicable):
RHEV-M 3.5.6
How reproducible:
100%
Steps to Reproduce:
Create user with the following permissions:
CREATE_VM
EDIT_VM_PROPERTIES
VM_BASIC_OPERATIONS
CHANGE_VM_CD
MIGRATE_VM
CONNECT_TO_VM
IMPORT_EXPORT_VM
CONFIGURE_VM_NETWORK
CONFIGURE_VM_STORAGE
MOVE_VM
MANIPULATE_VM_SNAPSHOTS
RECONNECT_TO_VM
CHANGE_VM_CUSTOM_PROPERTIES
CREATE_INSTANCE
CREATE_TEMPLATE
EDIT_TEMPLATE_PROPERTIES
COPY_TEMPLATE
CONFIGURE_TEMPLATE_NETWORK
CREATE_VM_POOL
EDIT_VM_POOL_CONFIGURATION
DELETE_VM_POOL
VM_POOL_BASIC_OPERATIONS
LOGIN
TAG_MANAGEMENT
BOOKMARK_MANAGEMENT
EVENT_NOTIFICATION_MANAGEMENT
ATTACH_DISK_PROFILE
Create pool with this user.
Actual results:
All pool VM has the user as UserVmManager assigned
Expected results:
There are no permissions assigned to the pool VMs
regression introduced by bug 1232419. Such change doesn't make sense for pools where the pool creator should not own the VMs (it's a edge case when the pool creator does not actually have MANIPULATE_PERMISSIONS role)
Comment 10sefi litmanovich
2016-01-28 13:50:31 UTC
Verified with rhevm-3.6.3-0.1.el6.noarch according to description.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHEA-2016-0376.html
Description of problem: When a user which do not have the system permission "Manipulate Permissions" creates a pool. All the pool VMs get this user as UserVmManager. Version-Release number of selected component (if applicable): RHEV-M 3.5.6 How reproducible: 100% Steps to Reproduce: Create user with the following permissions: CREATE_VM EDIT_VM_PROPERTIES VM_BASIC_OPERATIONS CHANGE_VM_CD MIGRATE_VM CONNECT_TO_VM IMPORT_EXPORT_VM CONFIGURE_VM_NETWORK CONFIGURE_VM_STORAGE MOVE_VM MANIPULATE_VM_SNAPSHOTS RECONNECT_TO_VM CHANGE_VM_CUSTOM_PROPERTIES CREATE_INSTANCE CREATE_TEMPLATE EDIT_TEMPLATE_PROPERTIES COPY_TEMPLATE CONFIGURE_TEMPLATE_NETWORK CREATE_VM_POOL EDIT_VM_POOL_CONFIGURATION DELETE_VM_POOL VM_POOL_BASIC_OPERATIONS LOGIN TAG_MANAGEMENT BOOKMARK_MANAGEMENT EVENT_NOTIFICATION_MANAGEMENT ATTACH_DISK_PROFILE Create pool with this user. Actual results: All pool VM has the user as UserVmManager assigned Expected results: There are no permissions assigned to the pool VMs