glance/glance/db/sqlalchemy/migrate_repo/versions
Travis Tripp 33ae05ee86 Change Metadefs OS::Nova::Instance to OS::Nova::Server
The metadata definitions in etc/metadefs allow each namespace to be associated
with a resource type in OpenStack. Now that Horizon is supporting adding
metadata to instances (just got in during the mitaka cycle - so unrealeased),
I realized that we used OS::Nova::Instance instead of OS::Nova::Server in
Glance. This doesn’t align with Heat [0] or Searchlight [1].

There are a couple of metadef files that have OS::Nova::Instance that need to
change to OS::Nova::Server. I see also that OS::Nova:Instance is in one of
the db scripts. That script simply adds some initial "resource types" to the
database. [3]. It should be noted that there is no hard dependency on that
resource type to be in the DB script. You can add new resource types at any
time via API or JSON files and they are automatically added.

I'm not sure if the change to the db script needs to be done in a different
patch or not, but that can easily be accommodated.

See bug for additional links.

Change-Id: I196ce1d9a62a61027ccd444b17a30b2c018d9c84
Closes-Bug: 1537903
2016-02-02 15:05:22 -07:00
..
001_add_images_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
002_add_image_properties_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
003_add_disk_format.py Enable hacking H301 and disable H304, H302 2014-02-18 16:05:18 +04:00
003_sqlite_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
003_sqlite_upgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
004_add_checksum.py Enable hacking H301 and disable H304, H302 2014-02-18 16:05:18 +04:00
005_size_big_integer.py Enable hacking H301 and disable H304, H302 2014-02-18 16:05:18 +04:00
006_key_to_name.py Enable hacking H301 and disable H304, H302 2014-02-18 16:05:18 +04:00
006_mysql_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
006_mysql_upgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
006_sqlite_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
006_sqlite_upgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
007_add_owner.py Enable hacking H301 and disable H304, H302 2014-02-18 16:05:18 +04:00
008_add_image_members_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
009_add_mindisk_and_minram.py Enable hacking H301 and disable H304, H302 2014-02-18 16:05:18 +04:00
010_default_update_at.py Remove vim header 2014-01-14 16:03:28 +00:00
011_make_mindisk_and_minram_notnull.py Remove vim header 2014-01-14 16:03:28 +00:00
011_sqlite_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
011_sqlite_upgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
012_id_to_uuid.py Alter models and add migration 2014-11-25 17:17:15 +02:00
013_add_protected.py Remove vim header 2014-01-14 16:03:28 +00:00
013_sqlite_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
014_add_image_tags_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
015_quote_swift_credentials.py Merge "Assert problems in Glance raised by Bandit" 2016-01-19 01:15:29 +00:00
016_add_status_image_member.py Remove vim header 2014-01-14 16:03:28 +00:00
016_sqlite_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
017_quote_encrypted_swift_credentials.py Merge "Assert problems in Glance raised by Bandit" 2016-01-19 01:15:29 +00:00
018_add_image_locations_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
019_migrate_image_locations.py hacking: upgrade to 0.9.x serie 2014-10-06 14:41:03 +02:00
020_drop_images_table_location.py Remove vim header 2014-01-14 16:03:28 +00:00
021_set_engine_mysql_innodb.py Remove vim header 2014-01-14 16:03:28 +00:00
022_image_member_index.py Remove redundant parentheses in conditional statements 2015-02-17 12:35:26 +01:00
023_placeholder.py Remove vim header 2014-01-14 16:03:28 +00:00
024_placeholder.py Remove vim header 2014-01-14 16:03:28 +00:00
025_placeholder.py Remove vim header 2014-01-14 16:03:28 +00:00
026_add_location_storage_information.py Remove vim header 2014-01-14 16:03:28 +00:00
027_checksum_index.py Remove vim header 2014-01-14 16:03:28 +00:00
028_owner_index.py Remove vim header 2014-01-14 16:03:28 +00:00
029_location_meta_data_pickle_to_string.py hacking: upgrade to 0.9.x serie 2014-10-06 14:41:03 +02:00
030_add_tasks_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
031_remove_duplicated_locations.py Fix glance db migration failed on 031 2014-03-05 16:50:53 +08:00
032_add_task_info_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
033_add_location_status.py hacking: upgrade to 0.9.x serie 2014-10-06 14:41:03 +02:00
034_add_virtual_size.py Add a virtual_size attribute to the Image model 2014-02-13 15:13:10 +01:00
035_add_metadef_tables.py Change Metadefs OS::Nova::Instance to OS::Nova::Server 2016-02-02 15:05:22 -07:00
036_rename_metadef_schema_columns.py Metadef schema column name is a reserved word in MySQL 2014-10-08 23:48:41 -07:00
037_add_changes_to_satisfy_models.py Alter models and add migration 2014-11-25 17:17:15 +02:00
037_sqlite_downgrade.sql SQL scripts should not manage transactions 2015-01-13 22:21:00 +00:00
037_sqlite_upgrade.sql Fix duplicate unique constraint in sqlite migration 2015-06-27 05:53:37 +00:00
038_add_metadef_tags_table.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
039_add_changes_to_satisfy_models_metadef.py Fix the db_sync problem in 039 for db2 2015-06-24 07:08:29 +00:00
040_add_changes_to_satisfy_metadefs_tags.py Fix metadef tags migrations 2015-03-24 18:32:13 +03:00
041_add_artifact_tables.py Fix existing migrations to create utf-8 tables for MySQL DB 2015-07-29 22:20:28 -07:00
042_add_changes_to_reinstall_unique_metadef_constraints.py Incorrect permissions on database migration file 2015-09-11 20:30:54 +00:00
043_add_image_created_updated_idx.py Support new v2 API image filters 2015-11-16 15:45:17 -08:00
044_update_metadef_os_nova_server.py Change Metadefs OS::Nova::Instance to OS::Nova::Server 2016-02-02 15:05:22 -07:00
__init__.py hacking: upgrade to 0.9.x serie 2014-10-06 14:41:03 +02:00