← Back to team overview

openstack team mailing list archive

Nova Compute API - getting server start/stop times after the fact?


Say it's midnight, and I want to know how many instances a tenant had
running in the past hour or dayŠ

I know the MySQL DB contains "historical" started, changed and stopped times
for each instance/server.

Is there an API call to access that data (I can't find one), or do I need to
go to the DB directly for the info?

As a side note, can anyone explain if/how/when Nova cleans up the instance
table periodically in Folsom?


Follow ups