Description of problem: When listing virtual systems on 'rhn/systems/VirtualList.do', state of a system is always 'unknown', no matter whether the system is running or not. Possible values should be: rhnschema=# select name from rhnvirtualinstancestate; name --------- Unknown Running Stopped Crashed Paused (5 rows) Version-Release number of selected component (if applicable): Satellite 5.x, Spacewalk How reproducible: Always Steps to Reproduce: 1. Register some virtual systems to Satellite 2. Go to '$FQDN/rhn/systems/VirtualList.do' 3. Check system state Actual results: Always 'unknown', independent on real state Expected results: Reflect real status (running or not) Additional info: This bug was found during verification of #1356106. Until then, the servername was shown instead state, so the behavior was hidden.
I've tried different scenarios and came up with following - It is not a bug, as the status is correctly displayed when the virtual system has its hypervisor registered to same Satellite. Steps to (not)reproduce: 1) Create a kickstart profile for virtual system 2) Schedule kickstart of virtual system on some server 3) Wait for it to finish, check status in UI. Result: Status is set correctly.