Project

General

Profile

Actions

Bug #11736

closed

Migration error on upgrade from clean Katello

Added by Stephen Benjamin over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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)


Related issues 1 (0 open1 closed)

Related to Katello - Feature #7889: Move Puppet Modules from Elasticsearch to DatabaseClosed10/09/2014Actions
Actions #1

Updated by Stephen Benjamin over 9 years ago

  • Related to Feature #7889: Move Puppet Modules from Elasticsearch to Database added
Actions #2

Updated by The Foreman Bot over 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5465 added
  • Pull request deleted ()
Actions #3

Updated by Eric Helms over 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Eric Helms over 9 years ago

  • Translation missing: en.field_release set to 70
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF