Red Hat Bugzilla – Bug 852082
running VM in pool does not disappear after permissions has been taken from user
Last modified: 2013-03-07 20:50:44 EST
Description of problem:
Attached VM in pool in running state does not dissapear when the permissions from wpf has been removed... VM stays in the current running state in both userportal and wpf when trying to shut down the VM from UserPortal (without permissions) or from wpf rhevm.log shows:
2012-08-27 16:27:53,042 SEVERE [org.ovirt.engine.core.common.action.ShutdownVmParameters] (http-0.0.0.0-8443-1) Instantiating ShutdownVmParameters via custom serializer.
2012-08-27 16:27:53,079 INFO [org.ovirt.engine.core.bll.ShutdownVmCommand] (http-0.0.0.0-8443-1) Running command: ShutdownVmCommand internal: false. Entities affected : ID: 64cc3efc-bc49-4e96-b948-1995c8a62843 Type: VM
2012-08-27 16:27:53,094 INFO [org.ovirt.engine.core.bll.ShutdownVmCommand] (http-0.0.0.0-8443-1) VmHandler.cs:ShutdownVmCommand:Perform: entered (Desktop test-1).
2012-08-27 16:27:53,095 INFO [org.ovirt.engine.core.bll.ShutdownVmCommand] (http-0.0.0.0-8443-1) VmHandler.cs:ShutdownVmCommand:Perform: Cannot shutdown Desktop test-1, status is not up. Stopping instead.
2012-08-27 16:27:53,100 INFO [org.ovirt.engine.core.bll.StopVmCommand] (http-0.0.0.0-8443-1) Running command: StopVmCommand internal: true. Entities affected : ID: 64cc3efc-bc49-4e96-b948-1995c8a62843 Type: VM
2012-08-27 16:27:53,103 INFO [org.ovirt.engine.core.vdsbroker.DestroyVmVDSCommand] (http-0.0.0.0-8443-1) START, DestroyVmVDSCommand(vdsId = 82110ef4-f03b-11e1-a053-001a4a013f07, vmId=64cc3efc-bc49-4e96-b948-1995c8a62843, force=false, secondsToWait=0, gracefully=false), log id: 2f74ecc8
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. log to wpf with Admin and to userportal with User
2. in wpf create pool and add user permissions for User
3. when Vm appears in user portal run the VM
4. while the Vm is running remove user permissions in wpf for User
5. try to shutdown VM from userportal
6. try to shutdown VM from wpf
VM stays in Virtual Machines tab in user portal in running state
Vm should disappear after next refresh
VM in user portal disappears after few minutes and in wpf its state is set Down
duplicate of bug 850741?