Skip to content

Comments

Fixes#42

Merged
alvarolopez merged 5 commits intoIFCA-Advanced-Computing:masterfrom
alvarolopez:fixes
May 24, 2017
Merged

Fixes#42
alvarolopez merged 5 commits intoIFCA-Advanced-Computing:masterfrom
alvarolopez:fixes

Conversation

@alvarolopez
Copy link
Member

No description provided.

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.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.5%) to 43.286% when pulling b06f7a4 on alvarolopez:fixes into bb3605b on IFCA:master.

@alvarolopez alvarolopez merged commit 345da26 into IFCA-Advanced-Computing:master May 24, 2017
@alvarolopez alvarolopez deleted the fixes branch May 24, 2017 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants