Red Hat Bugzilla – Bug 1258812
[scale] VmsMonitoring vm not in changed list, skipping devices update.
Last modified: 2016-04-19 21:38:29 EDT
Description of problem:
as part of events benchmark tests, switch events on and off(engine side), engine skip the status that should be updated.
seems like RefresherFactory.VmStatsRefresher() runs just for 'VmStatsEventsSupported' configuration and not for 'EventsSupported':
might be better to use EventsSupported configuration for cross wide events support and not just for vms.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run 109 vms with 1 hyperv
2. stop the engine plus set evetns false by 'INSERT INTO vdc_options (option_name,option_value,version) VALUES ('EventsSupported','false',3.6);' and run the engine
3. stop the vms.
4. stop the engine plus set evetns true 'UPDATE vdc_options set option_value='true' where option_name='EventsSupported' and version = '3.6';' and restart the engine.
5. start the vms again.
engine wont update the vm statuses and dump the following messages:
2015-08-31 15:34:22,545 WARN [org.ovirt.engine.core.vdsbroker.VmsMonitoring] (DefaultQuartzScheduler_Worker-13) [62ba10f0] VM 'd91648fd-09f2-46e3-a6f1-3b9623cae095' not in changed list, skipping devices update
check the EventsSupported configuratoin for cross object type support and not just for vms.
best practice \ workaround, using both 'EventsSupported' and 'VmStatsEventsSupported'