Actions
Bug #11736
closedMigration error on upgrade from clean Katello
Description
On el7, trying to upgrade a recent completely unused nightly to today's nightly;
== CreatePuppetModules: migrating ============================================ -- create_table("katello_puppet_modules") NOTICE: CREATE TABLE will create implicit sequence "katello_puppet_modules_id_seq" for serial column "katello_puppet_modules.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_puppet_modules_pkey" for table "katello_puppet_modules" -> 0.1785s -- add_index(:katello_puppet_modules, :uuid, {:unique=>true}) -> 0.0249s -- create_table("katello_repository_puppet_modules") NOTICE: CREATE TABLE will create implicit sequence "katello_repository_puppet_modules_id_seq" for serial column "katello_repository_puppet_modules.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_repository_puppet_modules_pkey" for table "katello_repository_puppet_modules" -> 0.0500s -- add_index(:katello_repository_puppet_modules, [:puppet_module_id, :repository_id], {:unique=>true, :name=>"index_katello_repository_puppet_module_on_module_id_and_repo_id"}) -> 0.0335s -- add_foreign_key("katello_repository_puppet_modules", "katello_puppet_modules", {:name=>"katello_repository_puppet_modules_puppet_module_id_fk", :column=>"puppet_module_id"}) -> 0.0011s -- add_foreign_key("katello_repository_puppet_modules", "katello_repositories", {:name=>"katello_repository_puppet_modules_repo_id_fk", :column=>"repository_id"}) -> 0.0010s -- create_table("katello_content_view_puppet_environment_puppet_modules") NOTICE: CREATE TABLE will create implicit sequence "katello_content_view_puppet_environment_puppet_modules_id_seq" for serial column "katello_content_view_puppet_environment_puppet_modules.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "katello_content_view_puppet_environment_puppet_modules_pkey" for table "katello_content_view_puppet_environment_puppet_modules" -> 0.0313s -- add_index(:katello_content_view_puppet_environment_puppet_modules, [:puppet_module_id, :content_view_puppet_environment_id], {:unique=>true, :name=>"index_katello_cv_puppet_env_module_on_module_id_and_cvpe_id"}) -> 0.0253s -- add_foreign_key("katello_content_view_puppet_environment_puppet_modules", "katello_puppet_modules", {:name=>"katello_content_view_puppet_env_puppet_modules_puppet_module_id_fk", :column=>"puppet_module_id"}) rake aborted! An error has occurred, this and all later migrations canceled: Input string is longer than NAMEDATALEN-1 (63)
Actions