Fixes#42
Merged
alvarolopez merged 5 commits intoIFCA-Advanced-Computing:masterfrom May 24, 2017
alvarolopez:fixes
Merged
Conversation
Instead of requesting the whole list of servers, use pagination so that we can iter over a large number of servers without reaching any limit. Close #35
Change f082711 introduce a "extract_to" parameter, and an additional check to not report machines that fall outside that interval. However, this prevents long running VMs to be published. The accounting system expects absolute durations (for wall and CPU) from the start of the record to its end or to the reporting date if it has not ended, that is: wall = (end or report time) - start time However, we were doing it simply wrong. Moreover, we were reporting wall time as the CPU time, and this is not true. From an IaaS perspective, CPU time (or vCPU time) should be (wall * cpus) as a CPU allocated is a CPU being used.
Do not use dry_run, extract_to and extract_from but rather dry-run, extract-to and extract-from.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.