[openstack-dev] [nova][database][quotas] reservations table ??

Attila Fazekas afazekas at redhat.com
Fri Apr 10 06:38:45 UTC 2015

Hi All,

I noticed the nova DB has reservations table with an expire field (+24h) and a periodic task
in the scheduler (60 sec) for expire the otherwise not deleted records [2].

Both the table and the observed operations are strange.

What this table and its operations are trying to solve ?
Why does it needed ? 
Why this solution was chosen ?

[1] https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/models.py#L531
[2] https://github.com/openstack/nova/blob/master/nova/db/sqlalchemy/api.py#L3725

Is the uuid in the table referenced by anything? 

More information about the OpenStack-dev mailing list