If we're not using suspension, set the scheduling threshold to 0.
suspend-rate and resume-rate should only be required when using suspension.
Fixed: Lease-to-XML did not take into account multi-instance resources.
Merged changes from trunk to correctly support ONE_AUTH and the OpenNebula authorization file.
TimeDelta configuration values are specified as an integer (seconds) not in HH:MM:SS format.
Correctly detect the number of CPU instances on the hosts
- Fix call to Lease.create_new- Use Parser instead of ISO for dates
When marshalling the information about a host, include the sum of all the CPU instances (not entirely accurate, but still better than just reporting the first instance)
Remove redundant code that checks for new hosts in simulation
When printing string representation of Capacity, include multiple instances
If lease is in state SUSPENDED_SCHEDULED, don't remove its files when it is cancelled.
Fixed bug in how cp_list is constructed
Suspend/Resume RRs should consume CPU
Dirty kluge to avoid conflicts in loaded and injected leases.
Fixed bug in weird corner case where a lease could be scheduled in such a way that the shutdown, and not the VM, would have to be suspended (which is not possible).
Saner migration scheduling
Additional stats printing functions
haizea-lwf-stats now prints more stats
- Allow a lease in preparing state to be preempted- Multiple minor fixes to preparation scheduler (mostly avoid referring to leases by their ID, and simply store the lease object directly)
Lease in PREPARING state should be able to return to QUEUED state.
Bug in how slowdown is computed
- Another fix to image transfer scheduling for ARs- Added sanity check to make sure image transfers are not scheduled incorrectly.
Extra check
Not sure why this was commented out (maybe a stopgap measure?) but it shouldn't be commented out.
Extra logging
Not entirely sure what's the root of this, but when using image transfers the availability window doesn't seem to get properly cached. This fix seems to shave ~30% off the time it takes to run the simulations that involve image transfers.
Preparation scheduling for AR leases was broken. THere were cases when it would schedule an image transfer that was actually infeasible.
Since preparation scheduling can result in an infeasible lease, preemptions should be done after the preparation has been scheduled.
Fixed wrong handling of attributes in multiconfig files
haizea-convert-data now supports data files with different sets of attributes/metrics (files without a given attribute/metric just report it as an empty string)
- Modified LWF generator so it won't have an empty ramp-up period.- Minor fixes here and there.
Fixed bug when determining the "first start" of a VMRR. Shouldn't include the migration RRs.
Fix bug in availability window optimization
Fixed some bugs in optimization. Added a flag to turn it off (albeit in a kludgy way), because otherwise the slottable unit tests get confused.
More optimizations
A few optimizations (still need to be polished a bit)
Fixed uninitialized variable
Added option to interrupt simulation after a given amount of (simulated) time has passed.
Bug: lease/lease.id confusion
Another error-propagation bug in estimating times.
- In some cases an error was carried over in the estimated migration times that would result in the sanity check failing.- Migration bandwidth was hardcoded; now taken from configuration file.
Minor fixes
Several bug fixes in unit tests. Some of the deadline tests are currently still failing.
- Changed unit tests to use test_* functions instead of Test* classes. Newer py.test is apparently not too happy about test classes having a constructor.- Minor changes.
More small bug fixes
Small bug fixes
Miscellaneous small bug fixes.
Also available in: Atom