Project

General

Profile

Actions

Bug #36185

closed

Content View import fails with 'Tried to load unspecified class: Sequel::SQL::Blob'

Added by Marcel Kühlhorn over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

When trying to import a Content View version containing a Product / Repository that was configured with a GPG key the import fails.

Action:


Actions::Pulp3::ContentViewVersion::CreateImportHistory

Input:

{"content_view_version_id"=>27,
 "path"=>
  "/var/lib/pulp/imports/b9b5e611-1183-4806-976c-2a7544d83fff/OracleLinux_7/1.0/2023-02-20T15-19-51-01-00/",
 "metadata"=>
  {"organization"=>"ÄTIX",
   "toc"=>"export-4836dfa0-8529-4180-b474-15a063064483-20230220_1419-toc.json",
   "incremental"=>false,
   "gpg_keys"=>
    {"RPM-GPG-KEY-oracle-ol7"=>
      {"name"=>"RPM-GPG-KEY-oracle-ol7",
       "content_type"=>"gpg_key",
       "content"=>
        #<Sequel::SQL::Blob:0x51450 bytes=37 start="-----BEGIN" end="LOCK-----\n"> +
        #<Sequel::SQL::Blob:0x51464 bytes=34 start="Version: G" end="NU/Linux)\n"> +
        #<Sequel::SQL::Blob:0x51478 bytes=1 content="\n"> +
        #<Sequel::SQL::Blob:0x5148c bytes=65 start="mQENBEwtJW" end="IPh3ULqsW\n"> +
        #<Sequel::SQL::Blob:0x514a0 bytes=65 start="G323nmyKbK" end="u+VNn5J5h\n"> +
        #<Sequel::SQL::Blob:0x514b4 bytes=65 start="yvwQSN/FEK" end="oalz+3gv/\n"> +
        #<Sequel::SQL::Blob:0x514c8 bytes=65 start="zz9rAoQczQ" end="Z5v7hh1ht\n"> +
        #<Sequel::SQL::Blob:0x514dc bytes=65 start="3CRAr2+h5b" end="Txe82DkFT\n"> +
        #<Sequel::SQL::Blob:0x514f0 bytes=65 start="uA69C8wLyj" end="PU1MgZ3Jv\n"> +
        #<Sequel::SQL::Blob:0x51504 bytes=65 start="dXAgKE9wZW" end="zLm9yYWNs\n"> +
        #<Sequel::SQL::Blob:0x51518 bytes=65 start="ZS5jb20+iQ" end="FAlNhkUEF\n"> +
        #<Sequel::SQL::Blob:0x5152c bytes=65 start="CSaOl9cACg" end="EbJhi9zZO\n"> +
        #<Sequel::SQL::Blob:0x51540 bytes=65 start="7EO26+wzkj" end="Je0z7C5Yu\n"> +
        #<Sequel::SQL::Blob:0x51554 bytes=65 start="ZLs5W0ryV4" end="twtZ+J+Wn\n"> +
        #<Sequel::SQL::Blob:0x51568 bytes=65 start="/oVgFkh9v1" end="ra9MvpYfS\n"> +
        #<Sequel::SQL::Blob:0x5157c bytes=65 start="ANCnouzbgK" end="0MvuxERr7\n"> +
        #<Sequel::SQL::Blob:0x51590 bytes=53 start="Fsqm1/D2Jf" end="ukLT6/w==\n"> +
        #<Sequel::SQL::Blob:0x515a4 bytes=6 content="=Djed\n"> +
        #<Sequel::SQL::Blob:0x515b8 bytes=34 start="-----END P" end="BLOCK-----">}},
   "content_view"=>
    {"name"=>"OracleLinux 7", "label"=>"OracleLinux_7", "description"=>""},
   "content_view_version"=>{"major"=>1, "minor"=>0, "description"=>""},
   "repositories"=>
    {"Oracle_7_Add-Ons-1827022"=>
      {"name"=>"Oracle 7 Add-Ons",
       "label"=>"Oracle_7_Add-Ons",
       "description"=>nil,
       "arch"=>"noarch",
       "content_type"=>"yum",
       "unprotected"=>true,
       "checksum_type"=>nil,
       "os_versions"=>[],
       "major"=>nil,
       "minor"=>nil,
       "download_policy"=>"immediate",
       "mirroring_policy"=>"mirror_content_only",
       "product"=>{"label"=>"Oracle_7_x64"},
       "gpg_key"=>{"name"=>"RPM-GPG-KEY-oracle-ol7"},
       "content"=>
        {"id"=>"1671117551442",
         "label"=>
          "b9b5e611-1183-4806-976c-2a7544d83fff_Oracle_7_x64_Oracle_7_Add-Ons"},
       "redhat"=>false},
     "Oracle_7-1795600"=>
      {"name"=>"Oracle 7",
       "label"=>"Oracle_7",
       "description"=>nil,
       "arch"=>"noarch",
       "content_type"=>"yum",
       "unprotected"=>true,
       "checksum_type"=>nil,
       "os_versions"=>[],
       "major"=>nil,
       "minor"=>nil,
       "download_policy"=>"immediate",
       "mirroring_policy"=>"mirror_content_only",
       "product"=>{"label"=>"Oracle_7_x64"},
       "gpg_key"=>{"name"=>"RPM-GPG-KEY-oracle-ol7"},
       "content"=>
        {"id"=>"1671117524440",
         "label"=>
          "b9b5e611-1183-4806-976c-2a7544d83fff_Oracle_7_x64_Oracle_7"},
       "redhat"=>false},
     "Oracle_7_Optional-1249033"=>
      {"name"=>"Oracle 7 Optional",
       "label"=>"Oracle_7_Optional",
       "description"=>nil,
       "arch"=>"noarch",
       "content_type"=>"yum",
       "unprotected"=>true,
       "checksum_type"=>nil,
       "os_versions"=>[],
       "major"=>nil,
       "minor"=>nil,
       "download_policy"=>"immediate",
       "mirroring_policy"=>"mirror_content_only",
       "product"=>{"label"=>"Oracle_7_x64"},
       "gpg_key"=>{"name"=>"RPM-GPG-KEY-oracle-ol7"},
       "content"=>
        {"id"=>"1671117073249",
         "label"=>
          "b9b5e611-1183-4806-976c-2a7544d83fff_Oracle_7_x64_Oracle_7_Optional"},
       "redhat"=>false}},
   "products"=>
    {"Oracle_7_x64"=>
      {"name"=>"Oracle 7 x64",
       "label"=>"Oracle_7_x64",
       "description"=>nil,
       "gpg_key"=>{},
       "redhat"=>false}}},
 "content_view_name"=>"OracleLinux 7 1.0",
 "current_request_id"=>"25a4cfa7-78ca-4e67-98e1-fdcf9014b4e4",
 "current_timezone"=>"UTC",
 "current_organization_id"=>1,
 "current_location_id"=>nil,
 "current_user_id"=>4}

Exception:


Psych::DisallowedClass: Tried to load unspecified class: Sequel::SQL::Blob

Backtrace:


/usr/share/ruby/psych/class_loader.rb:97:in `find'
/usr/share/ruby/psych/class_loader.rb:28:in `load'
/usr/share/ruby/psych/visitors/to_ruby.rb:411:in `resolve_class'
/usr/share/ruby/psych/visitors/to_ruby.rb:66:in `deserialize'
/usr/share/ruby/psych/visitors/to_ruby.rb:123:in `visit_Psych_Nodes_Scalar'
/usr/share/ruby/psych/visitors/visitor.rb:16:in `visit'
/usr/share/ruby/psych/visitors/visitor.rb:6:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:32:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:340:in `block in revive_hash'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `each'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `each_slice'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `revive_hash'
/usr/share/ruby/psych/visitors/to_ruby.rb:283:in `visit_Psych_Nodes_Mapping'
/usr/share/ruby/psych/visitors/visitor.rb:16:in `visit'
/usr/share/ruby/psych/visitors/visitor.rb:6:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:32:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:340:in `block in revive_hash'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `each'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `each_slice'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `revive_hash'
/usr/share/ruby/psych/visitors/to_ruby.rb:283:in `visit_Psych_Nodes_Mapping'
/usr/share/ruby/psych/visitors/visitor.rb:16:in `visit'
/usr/share/ruby/psych/visitors/visitor.rb:6:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:32:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:340:in `block in revive_hash'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `each'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `each_slice'
/usr/share/ruby/psych/visitors/to_ruby.rb:338:in `revive_hash'
/usr/share/ruby/psych/visitors/to_ruby.rb:283:in `visit_Psych_Nodes_Mapping'
/usr/share/ruby/psych/visitors/visitor.rb:16:in `visit'
/usr/share/ruby/psych/visitors/visitor.rb:6:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:32:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:313:in `visit_Psych_Nodes_Document'
/usr/share/ruby/psych/visitors/visitor.rb:16:in `visit'
/usr/share/ruby/psych/visitors/visitor.rb:6:in `accept'
/usr/share/ruby/psych/visitors/to_ruby.rb:32:in `accept'
/usr/share/ruby/psych.rb:360:in `safe_load'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/coders/yaml_column.rb:63:in `yaml_load'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/coders/yaml_column.rb:26:in `load'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/type/serialized.rb:22:in `deserialize'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/type/helpers/mutable.rb:8:in `cast'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute.rb:174:in `type_cast'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute.rb:42:in `value'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute.rb:155:in `changed_from_assignment?'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute.rb:59:in `changed?'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:76:in `attribute_changed?'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:46:in `changed?'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:36:in `change_to_attribute'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:29:in `block in changes'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:28:in `each'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:28:in `each_with_object'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/attribute_mutation_tracker.rb:28:in `changes'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/dirty.rb:218:in `changes'
/usr/share/foreman/app/models/concerns/strip_whitespace.rb:9:in `strip_spaces'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:428:in `block in make_lambda'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:200:in `block (2 levels) in halting'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:605:in `block (2 levels) in default_terminator'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:604:in `catch'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:604:in `block in default_terminator'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:201:in `block in halting'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:513:in `block in invoke_before'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:513:in `each'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:513:in `invoke_before'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:134:in `run_callbacks'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/callbacks.rb:825:in `_run_validation_callbacks'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/validations/callbacks.rb:117:in `run_validations!'
/usr/share/gems/gems/activemodel-6.0.6.1/lib/active_model/validations.rb:337:in `valid?'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/validations.rb:68:in `valid?'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/validations.rb:84:in `perform_validations'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/validations.rb:53:in `save!'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/transactions.rb:318:in `block in save!'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/transactions.rb:212:in `transaction'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/transactions.rb:366:in `with_transaction_returning_status'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/transactions.rb:318:in `save!'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/suppressor.rb:48:in `save!'
/usr/share/gems/gems/activerecord-6.0.6.1/lib/active_record/persistence.rb:55:in `create!'
/usr/share/gems/gems/katello-4.5.1/app/lib/actions/pulp3/content_view_version/create_import_history.rb:17:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:582:in `block (3 levels) in execute_run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
/usr/share/gems/gems/activesupport-6.0.6.1/lib/active_support/execution_wrapper.rb:91:in `wrap'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action/progress.rb:31:in `with_progress_calculation'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action/progress.rb:17:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/load_setting_values.rb:20:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_request_id.rb:15:in `block in run'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_request_id.rb:52:in `restore_current_request_id'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_request_id.rb:15:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_timezone.rb:15:in `block in run'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_timezone.rb:44:in `restore_curent_timezone'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_timezone.rb:15:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `block in run'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in `restore_current_taxonomies'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:32:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:27:in `pass'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware.rb:19:in `pass'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_user.rb:54:in `restore_curent_user'
/usr/share/gems/gems/foreman-tasks-6.0.2/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/stack.rb:23:in `call'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/middleware/world.rb:31:in `execute'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:581:in `block (2 levels) in execute_run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:580:in `catch'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:580:in `block in execute_run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:483:in `block in with_error_handling'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:483:in `catch'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:483:in `with_error_handling'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:575:in `execute_run'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/action.rb:296:in `execute'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:18:in `block (2 levels) in execute'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/execution_plan/steps/abstract.rb:167:in `with_meta_calculation'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block in execute'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:32:in `open_action'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `execute'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/director.rb:69:in `execute'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/executors/sidekiq/worker_jobs.rb:11:in `block (2 levels) in perform'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/executors.rb:18:in `run_user_code'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/executors/sidekiq/worker_jobs.rb:9:in `block in perform'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/executors/sidekiq/worker_jobs.rb:25:in `with_telemetry'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/executors/sidekiq/worker_jobs.rb:8:in `perform'
/usr/share/gems/gems/dynflow-1.6.4/lib/dynflow/executors/sidekiq/serialization.rb:27:in `perform'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:192:in `execute_job'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:165:in `block (2 levels) in process'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/middleware/chain.rb:128:in `block in invoke'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/middleware/chain.rb:133:in `invoke'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:164:in `block in process'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:137:in `block (6 levels) in dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/job_retry.rb:109:in `local'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:136:in `block (5 levels) in dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq.rb:37:in `block in <module:Sidekiq>'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:132:in `block (4 levels) in dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:250:in `stats'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:127:in `block (3 levels) in dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/job_logger.rb:8:in `call'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:126:in `block (2 levels) in dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/job_retry.rb:74:in `global'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:125:in `block in dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/logging.rb:48:in `with_context'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/logging.rb:42:in `with_job_hash_context'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:124:in `dispatch'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:163:in `process'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:83:in `process_one'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/processor.rb:71:in `run'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/util.rb:16:in `watchdog'
/usr/share/gems/gems/sidekiq-5.2.10/lib/sidekiq/util.rb:25:in `block in safe_thread'
/usr/share/gems/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

Actions #1

Updated by Samir Jha over 1 year ago

  • Status changed from New to Need more information

Hey Marcel,

Could you provide the metadata.json from the export of the Content view version?

Actions #2

Updated by Evgeni Golov over 1 year ago

I wouldn't expect to see any sequel in those exports?

[root@centos8-stream-katello-nightly ~]# hammer content-export complete library --organization-id 1
[..............................................................................................................................................................................................................................] [100%]
Generated /var/lib/pulp/exports/Default_Organization/Export-Library/1.0/2023-03-16T10-09-22-00-00/metadata.json

[root@centos8-stream-katello-nightly ~]# python3 -m json.tool /var/lib/pulp/exports/Default_Organization/Export-Library/1.0/2023-03-16T10-09-22-00-00/metadata.json 
{
    "organization": "Default Organization",
    "base_path": "/var/lib/pulp/exports",
    "repositories": {
        "lol-1990": {
            "name": "lol",
            "label": "lol",
            "description": null,
            "arch": "noarch",
            "content_type": "yum",
            "unprotected": true,
            "checksum_type": null,
            "os_versions": [],
            "major": null,
            "minor": null,
            "download_policy": "immediate",
            "mirroring_policy": "mirror_content_only",
            "product": {
                "label": "foreman" 
            },
            "gpg_key": {
                "name": "foreman 3.6" 
            },
            "content": {
                "id": "1678961334568",
                "label": "Default_Organization_foreman_lol",
                "url": "/custom/foreman/lol" 
            },
            "redhat": false
        }
    },
    "content_view": {
        "name": "Export-Library",
        "label": "Export-Library",
        "description": null,
        "generated_for": "library_export" 
    },
    "content_view_version": {
        "major": 1,
        "minor": 0,
        "description": "" 
    },
    "incremental": false,
    "format": "importable",
    "products": {
        "foreman": {
            "name": "foreman",
            "label": "foreman",
            "description": null,
            "cp_id": "527975045205",
            "gpg_key": {
                "name": "foreman 3.6" 
            },
            "redhat": false
        }
    },
    "gpg_keys": {
        "foreman 3.6": {
            "name": "foreman 3.6",
            "content_type": "gpg_key",
            "content": "-----BEGIN PGP PUBLIC KEY BLOCK-----\r\n\r\nmQINBGP04EIBEADKOdRSYDPtO13yBxXjBw1b8w6Ul+KzeOK2Z7jRF47YrmqieQhO\r\n0opbHLpXBS45xvXAOsgz/kvxDTKg0F4Fy9Na2euI+nmOhwh+waMgTIx9MCTf+n7H\r\nUiL08JS/iebPGJ5Q74UvPDpFhOie/y7wjV7U8HnW4eQvLd4BbVWRfAIlvq2RagXE\r\noBCxXFrpIwgS3Fnvnn2Yj4rdvjLAlycd69Ktc5FvWWpC1D6NTg7SO317Xhvs7vCS\r\nXtq7yHoD47pTPDKIBsSqWKyxRbtHMmfpJglAV9lRlNbLLTqmjmsTooHeFV8FhVbv\r\n6rdZOh8gPP6OR8SfcY9OCvF6YXldi/ja2v6UyGnYzuGzt2nk2cxpecC2bP/8JUwj\r\neMLlBPvHIzI0rTpwUVhcJ13HBVpJJjOxnIijQYFKFmSpGnTHM96aoN3k5AExR5VF\r\nLdRo68nCqYtqiszEFXyykV1l4wXplUHey38BBQ/G/OYO4v2hD25WoWo5lHY4a7NJ\r\nLPtZdkzA2AFD4XiRJCaq2n/JaRfugOfW+e0kbQmoQ79mfr3EdvqcYjAxeWGoZm08\r\nBU5dXQKjMN1z5oKXRXL5udG9U798CHXZAiFXpAwRherBqvXBGPQSmuj/sGmLzqiL\r\nGi25Q1XOPen1czB5NPTLupvkd5cjmh5/yOqA+EWOAdr+c0i+loQvgFv0MwARAQAB\r\ntD1Gb3JlbWFuIEF1dG9tYXRpYyBTaWduaW5nIEtleSAoMy42KSA8cGFja2FnZXNA\r\ndGhlZm9yZW1hbi5vcmc+iQJXBBMBCABBFiEEoh1W4BBkQV7cj8dZeAOrxf7XfpMF\r\nAmP04EICGy8FCQHhM4AFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQeAOr\r\nxf7XfpPTuQ/+OU71IzaGIYdayVC2v6ykR/GgMcxB8gT1e2nxjxAsi07XzGL+Tfvm\r\nF1OFIUwY9DB9XNeTqRg3BLrPM9ZHe4jFGqaksdGd29cngqzVFNqmhKBgCi6W821M\r\nqh5FvVWYrLnG3U0dLwFQQgIi/kYlsUOs5OBIn7mVQssI9KcsQE+qVWAmRgMrw092\r\njvyo67ZARY7Bk3UFd8KWNV9+jEmGwVLVWhhCGJLqcORqafJ63mkQp6sMnpC3e3E8\r\n3Kst21nBl4x139nRhBKVIBDLtqmITYzyWvsBsu1MR4g8kLEy12OpP6Kj/JEprr69\r\nsANKRz7CYfkfnr/MwS3J1oCQkgNFHszwXJRl3U2RWbXgHsTrOp3AKunVcryVOLcA\r\nMxwx+NtKdvAT68vX+6iAJcylzLolVIyhAhO6Pg1da9+m4Sl8hJ4d1EXnk4Xq40OL\r\ngGgWimBlauoGKnrKrPPw+sq9w/XWfl00/tkzIz9IfLhRSDzRNj5h5y3k26LLzg8y\r\n0CtclbZh+MoO62NbqxvSEu7foslG3VmcALYiGwCsUOB9U/PHdh3SIuDN2kmeN/eD\r\nCtt1a8HpwacyJw4xsJYnJNi12zt7XmKLiyJoSpVNvZHHki3eJHAeLHGcJAcGxrNL\r\nM88fPi1dV61Vt8jGTdpZVML+p+Y/tYJ4nfz/B45Wo5EOTjd2glrhRDw=\r\n=npdk\r\n-----END PGP PUBLIC KEY BLOCK-----" 
        }
    },
    "toc": "export-a8caa762-6100-4a27-ac37-14862c061bbf-20230316_1009-toc.json" 
}
[root@centos8-stream-katello-nightly ~]# hammer content-export complete version --content-view lol --version 1.0 --organization-id 1
[..............................................................................................................................................................................................................................] [100%]
Generated /var/lib/pulp/exports/Default_Organization/lol/1.0/2023-03-16T10-12-55-00-00/metadata.json
[root@centos8-stream-katello-nightly ~]# python3 -m json.tool /var/lib/pulp/exports/Default_Organization/lol/1.0/2023-03-16T10-12-55-00-00/metadata.json
{
    "organization": "Default Organization",
    "base_path": "/var/lib/pulp/exports",
    "repositories": {
        "lol-1990": {
            "name": "lol",
            "label": "lol",
            "description": null,
            "arch": "noarch",
            "content_type": "yum",
            "unprotected": true,
            "checksum_type": null,
            "os_versions": [],
            "major": null,
            "minor": null,
            "download_policy": "immediate",
            "mirroring_policy": "mirror_content_only",
            "product": {
                "label": "foreman" 
            },
            "gpg_key": {
                "name": "foreman 3.6" 
            },
            "content": {
                "id": "1678961334568",
                "label": "Default_Organization_foreman_lol",
                "url": "/custom/foreman/lol" 
            },
            "redhat": false
        }
    },
    "content_view": {
        "name": "lol",
        "label": "lol",
        "description": "",
        "generated_for": "none" 
    },
    "content_view_version": {
        "major": 1,
        "minor": 0,
        "description": "" 
    },
    "incremental": false,
    "format": "importable",
    "products": {
        "foreman": {
            "name": "foreman",
            "label": "foreman",
            "description": null,
            "cp_id": "527975045205",
            "gpg_key": {
                "name": "foreman 3.6" 
            },
            "redhat": false
        }
    },
    "gpg_keys": {
        "foreman 3.6": {
            "name": "foreman 3.6",
            "content_type": "gpg_key",
            "content": "-----BEGIN PGP PUBLIC KEY BLOCK-----\r\n\r\nmQINBGP04EIBEADKOdRSYDPtO13yBxXjBw1b8w6Ul+KzeOK2Z7jRF47YrmqieQhO\r\n0opbHLpXBS45xvXAOsgz/kvxDTKg0F4Fy9Na2euI+nmOhwh+waMgTIx9MCTf+n7H\r\nUiL08JS/iebPGJ5Q74UvPDpFhOie/y7wjV7U8HnW4eQvLd4BbVWRfAIlvq2RagXE\r\noBCxXFrpIwgS3Fnvnn2Yj4rdvjLAlycd69Ktc5FvWWpC1D6NTg7SO317Xhvs7vCS\r\nXtq7yHoD47pTPDKIBsSqWKyxRbtHMmfpJglAV9lRlNbLLTqmjmsTooHeFV8FhVbv\r\n6rdZOh8gPP6OR8SfcY9OCvF6YXldi/ja2v6UyGnYzuGzt2nk2cxpecC2bP/8JUwj\r\neMLlBPvHIzI0rTpwUVhcJ13HBVpJJjOxnIijQYFKFmSpGnTHM96aoN3k5AExR5VF\r\nLdRo68nCqYtqiszEFXyykV1l4wXplUHey38BBQ/G/OYO4v2hD25WoWo5lHY4a7NJ\r\nLPtZdkzA2AFD4XiRJCaq2n/JaRfugOfW+e0kbQmoQ79mfr3EdvqcYjAxeWGoZm08\r\nBU5dXQKjMN1z5oKXRXL5udG9U798CHXZAiFXpAwRherBqvXBGPQSmuj/sGmLzqiL\r\nGi25Q1XOPen1czB5NPTLupvkd5cjmh5/yOqA+EWOAdr+c0i+loQvgFv0MwARAQAB\r\ntD1Gb3JlbWFuIEF1dG9tYXRpYyBTaWduaW5nIEtleSAoMy42KSA8cGFja2FnZXNA\r\ndGhlZm9yZW1hbi5vcmc+iQJXBBMBCABBFiEEoh1W4BBkQV7cj8dZeAOrxf7XfpMF\r\nAmP04EICGy8FCQHhM4AFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQeAOr\r\nxf7XfpPTuQ/+OU71IzaGIYdayVC2v6ykR/GgMcxB8gT1e2nxjxAsi07XzGL+Tfvm\r\nF1OFIUwY9DB9XNeTqRg3BLrPM9ZHe4jFGqaksdGd29cngqzVFNqmhKBgCi6W821M\r\nqh5FvVWYrLnG3U0dLwFQQgIi/kYlsUOs5OBIn7mVQssI9KcsQE+qVWAmRgMrw092\r\njvyo67ZARY7Bk3UFd8KWNV9+jEmGwVLVWhhCGJLqcORqafJ63mkQp6sMnpC3e3E8\r\n3Kst21nBl4x139nRhBKVIBDLtqmITYzyWvsBsu1MR4g8kLEy12OpP6Kj/JEprr69\r\nsANKRz7CYfkfnr/MwS3J1oCQkgNFHszwXJRl3U2RWbXgHsTrOp3AKunVcryVOLcA\r\nMxwx+NtKdvAT68vX+6iAJcylzLolVIyhAhO6Pg1da9+m4Sl8hJ4d1EXnk4Xq40OL\r\ngGgWimBlauoGKnrKrPPw+sq9w/XWfl00/tkzIz9IfLhRSDzRNj5h5y3k26LLzg8y\r\n0CtclbZh+MoO62NbqxvSEu7foslG3VmcALYiGwCsUOB9U/PHdh3SIuDN2kmeN/eD\r\nCtt1a8HpwacyJw4xsJYnJNi12zt7XmKLiyJoSpVNvZHHki3eJHAeLHGcJAcGxrNL\r\nM88fPi1dV61Vt8jGTdpZVML+p+Y/tYJ4nfz/B45Wo5EOTjd2glrhRDw=\r\n=npdk\r\n-----END PGP PUBLIC KEY BLOCK-----" 
        }
    },
    "toc": "export-d6484df6-761f-4fb3-a02e-320d68e33b2b-20230316_1012-toc.json" 
}
Actions #3

Updated by Evgeni Golov over 1 year ago

Oh wait, what, but the import does fail:

[root@centos8-stream-katello-nightly ~]# hammer content-import library --organization importest --path /var/lib/pulp/imports/2023-03-16T10-09-22-00-00/
[..................................................................................                                                                                                                                             ] [37%]
Error: Tried to load unspecified class: Sequel::SQL::Blob
Actions #4

Updated by Evgeni Golov over 1 year ago

Actions #5

Updated by Jeremy Lenz over 1 year ago

  • Pull request https://github.com/Dynflow/dynflow/pull/426 added
Actions #6

Updated by Samir Jha over 1 year ago

  • Project changed from Katello to foreman-tasks
  • Category deleted (Content Views)
  • Status changed from Need more information to Closed
  • Found in Releases deleted (Katello 4.3.1)
Actions

Also available in: Atom PDF