Revision history [back]

Here is the description of an older implementation: https://ask.openstack.org/en/question/4497/where-is-the-metadata-stored/. This must be at the Grizzly timeframe.

I am fairly certain that metadata (and user data scripts are just a form of metadata) is still stored somewhere in the Nova darabase, probably the DB specific to the instance’s cell. nova-api provides access to the metadata, and the metadata server is the middle-man between the instance and nova-api.

Here is the description of an older implementation: https://ask.openstack.org/en/question/4497/where-is-the-metadata-stored/. This must be at the Grizzly timeframe.

I am fairly certain that metadata (and user data scripts are just a form of metadata) is still stored somewhere in the Nova darabase, probably the DB specific to the instance’s cell. nova-api provides access to the metadata, and the metadata server is the middle-man between the instance and nova-api.

I don’t have a cloud that I could check right now, but it looks like the code for creating the netadata table is here: https://git.openstack.org/cgit/openstack/nova/tree/nova/db/sqlalchemy/models.py#n1004. Userdata seems to be right in the Instance table: https://git.openstack.org/cgit/openstack/nova/tree/nova/db/sqlalchemy/models.py#n200.