Red Hat Bugzilla – Bug 1464396
Pool VMs console disconnect action revert to "lock screen" instead of "shutdown virtual machine"
Last modified: 2017-11-07 10:04:14 EST
Description of problem:
The vms in a pool should shutdown after console disconnect (recommended configuration). But after creating and using the vms a few times the console disconnect action is changed to "lock screen".
Version-Release number of selected component (if applicable):
varies a bit. Sometimes the change is already after the first initial run. Sometimes the vm needs a few cycles of start-up, console connect, console disconnect, shutdown. But after a while all vms in the pool have "lock screen" as console disconnect action.
Steps to Reproduce:
2.do initial runs vms
3.do few cycles of start-up, connect, disconnect, shutdown
in all vms the console disconnect action reverts to "lock screen" (greyed out)
all vms console disconnect actions should stay "shutdown virtual machine" (greyed out)
The console disconnect action is set to "shutdown virtual machine" in:
- original vm > console options
- template based on the original vm > console options
- Pool based on template > console options
I does not matter if I choose in Pool set-up the template(x) or "latest template"
Found out this happens when the machine is started as "stateless". It does not matter if this is done as an pre-started machine or as a machine started by user in the UserPortal.
This has the unwanted implication these vms are not available anymore in the pool for other users (even if the user logged out) because of "strict user checking". According to  strict user checking is recommended ("Disable strict checking with caution, because you can expose the previous user's session to the new user.")
This actually happens also on normal stateless VMs (not only pooled ones).