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)
Updated by Stephen Benjamin almost 11 years ago
- Related to Feature #7889: Move Puppet Modules from Elasticsearch to Database added
Updated by The Foreman Bot almost 11 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5465 added
- Pull request deleted (
)
Updated by Eric Helms almost 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|b2134a6a3fb4dd80adcdf6148be64a3d8198fcca.
Updated by Eric Helms almost 11 years ago
- Translation missing: en.field_release set to 70
- Triaged changed from No to Yes
Actions