Project

General

Profile

Actions

Bug #27366

closed

Unable to delete version in content view [puppet is not installed/puppet content-type is missing]

Added by Alexander von Gluck IV over 4 years ago. Updated over 4 years ago.

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

Description

Trying to erase a version within a content view.
Server is Foreman 1.22.0

Task: Remove Versions and Associations content view '...
Action: Actions::Pulp::Repository::Destroy
Input: {"content_view_puppet_environment_id"=>17,
"remote_user"=>"admin",
"remote_cp_user"=>"admin",
"current_request_id"=>nil,
"current_timezone"=>"America/Chicago",
"current_user_id"=>6,
"current_organization_id"=>2,
"current_location_id"=>nil}

Output: {}

Exception:
NoMethodError: undefined method `pulp3_plugin' for nil:NilClass

Backtrace:
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/models/katello/concerns/smart_proxy_extensions.rb:138:in `pulp3_support?'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/models/katello/repository.rb:163:in `backend_service'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/pulp/repository/destroy.rb:23:in `invoke_external_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action/polling.rb:83:in `initiate_external_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action/polling.rb:18:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action/cancellable.rb:13:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/pulp/abstract_async_task.rb:45:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:538:in `block (3 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:31:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/remote_action.rb:16:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/remote_action.rb:40:in `block in as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/models/katello/concerns/user_extensions.rb:21:in `cp_config'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/remote_action.rb:27:in `as_cp_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/remote_action.rb:39:in `as_remote_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/remote_action.rb:16:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/rails_executor_wrap.rb:14:in `block in run'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/rails_executor_wrap.rb:13:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action/progress.rb:30:in `with_progress_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action/progress.rb:16:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/keep_locale.rb:11:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/keep_locale.rb:22:in `with_locale'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.12.1/app/lib/actions/middleware/keep_locale.rb:11:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_request_id.rb:15:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_request_id.rb:49:in `restore_current_request_id'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_request_id.rb:15:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_timezone.rb:15:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_timezone.rb:44:in `restore_curent_timezone'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_timezone.rb:15:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_user.rb:15:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_user.rb:44:in `restore_curent_user'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_user.rb:15:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `block in run'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_taxonomies.rb:45:in `restore_current_taxonomies'
/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.15.7/app/lib/actions/middleware/keep_current_taxonomies.rb:15:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:26:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:18:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware.rb:31:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/stack.rb:22:in `call'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/middleware/world.rb:30:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:537:in `block (2 levels) in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:536:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:536:in `block in execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:450:in `block in with_error_handling'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:450:in `catch'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:450:in `with_error_handling'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:531:in `execute_run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/action.rb:277:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:17:in `block (2 levels) in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/execution_plan/steps/abstract.rb:162:in `with_meta_calculation'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:16:in `block in execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:30:in `open_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/execution_plan/steps/abstract_flow_step.rb:15:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/director.rb:43:in `execute'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/executors/parallel/worker.rb:14:in `block in on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/executors.rb:12:in `run_user_code'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/executors/parallel/worker.rb:13:in `on_message'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/context.rb:46:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/executes_context.rb:7:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.2.3/lib/dynflow/actor.rb:26:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/awaits.rb:15:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:38:in `process_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:31:in `process_envelopes?'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/buffer.rb:20:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/termination.rb:55:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/removes_child.rb:10:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/abstract.rb:25:in `pass'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/behaviour/sets_results.rb:14:in `on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:162:in `process_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:96:in `block in on_envelope'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:119:in `block (2 levels) in schedule_execution'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `block in synchronize'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/synchronization/mutex_lockable_object.rb:41:in `synchronize'
/opt/theforeman/tfm/root/usr/share/gems/gems/concurrent-ruby-edge-0.4.1/lib-edge/concurrent/actor/core.rb:116:in `block in schedule_execution'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:18:in `call'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:96:in `work'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/serialized_execution.rb:77:in `block in call_job'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
/opt/theforeman/tfm-ror52/root/usr/share/gems/gems/concurrent-ruby-1.1.4/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
/opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'

Installed Packages:
Installed Packages
candlepin-2.6.5-1.el7.noarch
candlepin-selinux-2.6.5-1.el7.noarch
foreman-1.22.0-1.el7.noarch
foreman-cli-1.22.0-1.el7.noarch
foreman-debug-1.22.0-1.el7.noarch
foreman-installer-1.22.0-1.el7.noarch
foreman-installer-katello-1.22.0-1.el7.noarch
foreman-postgresql-1.22.0-1.el7.noarch
foreman-proxy-1.22.0-1.el7.noarch
foreman-release-1.22.0-1.el7.noarch
foreman-release-scl-7-2.el7.noarch
foreman-selinux-1.22.0-1.el7.noarch
katello-3.12.1-1.el7.noarch
katello-certs-tools-2.5.3-1.el7.noarch
katello-client-bootstrap-1.7.2-2.el7.noarch
katello-common-3.12.1-1.el7.noarch
katello-debug-3.12.1-1.el7.noarch
katello-default-ca-1.0-1.noarch
katello-repos-3.12.1-1.el7.noarch
katello-selinux-3.1.1-1.el7.noarch
katello-server-ca-1.0-1.noarch
katello-service-3.12.1-1.el7.noarch
kwforeman.kw.com-apache-1.0-1.noarch
kwforeman.kw.com-foreman-client-1.0-1.noarch
kwforeman.kw.com-foreman-proxy-1.0-1.noarch
kwforeman.kw.com-foreman-proxy-client-1.0-1.noarch
kwforeman.kw.com-puppet-client-1.0-1.noarch
kwforeman.kw.com-qpid-broker-1.0-2.noarch
kwforeman.kw.com-qpid-client-cert-1.0-1.noarch
kwforeman.kw.com-qpid-router-client-1.0-1.noarch
kwforeman.kw.com-qpid-router-server-1.0-1.noarch
kwforeman.kw.com-tomcat-1.0-1.noarch
pulp-client-1.0-1.noarch
pulp-deb-plugins-1.9.1-1.el7.noarch
pulp-docker-plugins-3.2.4-1.el7.noarch
pulp-katello-1.0.2-1.el7.noarch
pulp-puppet-plugins-2.19.1-1.el7.noarch
pulp-puppet-tools-2.19.1-1.el7.noarch
pulp-rpm-plugins-2.19.1-1.el7.noarch
pulp-selinux-2.19.1-1.el7.noarch
pulp-server-2.19.1-1.el7.noarch
python-gofer-qpid-2.12.5-3.el7.noarch
python-pulp-common-2.19.1-1.el7.noarch
python-pulp-deb-common-1.9.1-1.el7.noarch
python-pulp-docker-common-3.2.4-1.el7.noarch
python-pulp-oid_validation-2.19.1-1.el7.noarch
python-pulp-puppet-common-2.19.1-1.el7.noarch
python-pulp-repoauth-2.19.1-1.el7.noarch
python-pulp-rpm-common-2.19.1-1.el7.noarch
python-pulp-streamer-2.19.1-1.el7.noarch
python2-qpid-1.37.0-4.el7.noarch
python2-qpid-proton-0.28.0-1.el7.x86_64
python2-qpid-qmf-1.39.0-1.el7.x86_64
qpid-cpp-client-1.39.0-1.el7.x86_64
qpid-cpp-client-devel-1.39.0-1.el7.x86_64
qpid-cpp-server-1.39.0-1.el7.x86_64
qpid-cpp-server-linearstore-1.39.0-1.el7.x86_64
qpid-dispatch-router-1.7.0-1.el7.x86_64
qpid-proton-c-0.28.0-1.el7.x86_64
qpid-qmf-1.39.0-1.el7.x86_64
qpid-tools-1.39.0-1.el7.noarch
rubygem-foreman_maintain-0.4.2-1.el7.noarch
rubygem-smart_proxy_pulp-1.4.1-1.el7.noarch
tfm-ror52-rubygem-actioncable-5.2.1-1.el7.noarch
tfm-ror52-rubygem-actionmailer-5.2.1-1.el7.noarch
tfm-ror52-rubygem-actionpack-5.2.1-1.el7.noarch
tfm-ror52-rubygem-actionview-5.2.1-1.el7.noarch
tfm-ror52-rubygem-activejob-5.2.1-1.el7.noarch
tfm-ror52-rubygem-activemodel-5.2.1-1.el7.noarch
tfm-ror52-rubygem-activerecord-5.2.1-1.el7.noarch
tfm-ror52-rubygem-activestorage-5.2.1-1.el7.noarch
tfm-ror52-rubygem-activesupport-5.2.1-1.el7.noarch
tfm-ror52-rubygem-arel-9.0.0-1.el7.noarch
tfm-ror52-rubygem-builder-3.2.3-1.el7.noarch
tfm-ror52-rubygem-coffee-rails-4.2.2-1.el7.noarch
tfm-ror52-rubygem-coffee-script-2.4.1-1.el7.noarch
tfm-ror52-rubygem-coffee-script-source-1.12.2-1.el7.noarch
tfm-ror52-rubygem-concurrent-ruby-1.1.4-1.el7.noarch
tfm-ror52-rubygem-crass-1.0.4-1.el7.noarch
tfm-ror52-rubygem-erubi-1.7.1-1.el7.noarch
tfm-ror52-rubygem-execjs-2.7.0-1.el7.noarch
tfm-ror52-rubygem-globalid-0.4.1-3.el7.noarch
tfm-ror52-rubygem-i18n-1.4.0-1.el7.noarch
tfm-ror52-rubygem-loofah-2.2.2-2.el7.noarch
tfm-ror52-rubygem-mail-2.7.0-1.el7.noarch
tfm-ror52-rubygem-marcel-0.3.2-1.el7.noarch
tfm-ror52-rubygem-method_source-0.9.0-1.el7.noarch
tfm-ror52-rubygem-mime-types-3.2.2-1.el7.noarch
tfm-ror52-rubygem-mime-types-data-3.2018.0812-1.el7.noarch
tfm-ror52-rubygem-mimemagic-0.3.2-1.el7.noarch
tfm-ror52-rubygem-mini_mime-1.0.0-1.el7.noarch
tfm-ror52-rubygem-mini_portile2-2.3.0-1.el7.noarch
tfm-ror52-rubygem-multi_json-1.13.1-1.el7.noarch
tfm-ror52-rubygem-mustermann-1.0.2-1.el7.noarch
tfm-ror52-rubygem-nio4r-2.3.1-1.el7.x86_64
tfm-ror52-rubygem-nokogiri-1.8.4-2.el7.x86_64
tfm-ror52-rubygem-rack-2.0.6-1.el7.noarch
tfm-ror52-rubygem-rack-protection-2.0.3-1.el7.noarch
tfm-ror52-rubygem-rack-test-1.1.0-1.el7.noarch
tfm-ror52-rubygem-rails-5.2.1-1.el7.noarch
tfm-ror52-rubygem-rails-dom-testing-2.0.3-3.el7.noarch
tfm-ror52-rubygem-rails-html-sanitizer-1.0.4-2.el7.noarch
tfm-ror52-rubygem-railties-5.2.1-1.el7.noarch
tfm-ror52-rubygem-sinatra-2.0.3-1.el7.noarch
tfm-ror52-rubygem-sprockets-3.7.2-3.el7.noarch
tfm-ror52-rubygem-sprockets-rails-3.2.1-1.el7.noarch
tfm-ror52-rubygem-sqlite3-1.3.13-1.el7.x86_64
tfm-ror52-rubygem-thor-0.20.0-3.el7.noarch
tfm-ror52-rubygem-thread_safe-0.3.6-1.el7.noarch
tfm-ror52-rubygem-tilt-2.0.8-1.el7.noarch
tfm-ror52-rubygem-turbolinks-2.5.4-1.el7.noarch
tfm-ror52-rubygem-tzinfo-1.2.5-1.el7.noarch
tfm-ror52-rubygem-websocket-driver-0.7.0-1.el7.x86_64
tfm-ror52-rubygem-websocket-extensions-0.1.3-1.el7.noarch
tfm-ror52-runtime-1.0-4.el7.x86_64
tfm-rubygem-activerecord-import-1.0.0-1.el7.noarch
tfm-rubygem-activerecord-session_store-1.1.1-2.el7.noarch
tfm-rubygem-addressable-2.6.0-1.el7.noarch
tfm-rubygem-algebrick-0.7.3-6.el7.noarch
tfm-rubygem-ancestry-3.0.0-3.el7.noarch
tfm-rubygem-anemone-0.7.2-16.el7.noarch
tfm-rubygem-angular-rails-templates-1.0.2-4.el7.noarch
tfm-rubygem-apipie-bindings-0.2.3-1.el7.noarch
tfm-rubygem-apipie-params-0.0.5-3.el7.noarch
tfm-rubygem-apipie-rails-0.5.14-1.el7.noarch
tfm-rubygem-audited-4.7.1-2.el7.noarch
tfm-rubygem-awesome_print-1.8.0-3.el7.noarch
tfm-rubygem-bundler_ext-0.4.1-3.el7.noarch
tfm-rubygem-clamp-1.1.2-4.el7.noarch
tfm-rubygem-concurrent-ruby-edge-0.4.1-1.fm1_22.el7.noarch
tfm-rubygem-css_parser-1.4.7-3.el7.noarch
tfm-rubygem-daemons-1.2.3-5.el7.noarch
tfm-rubygem-deacon-1.0.0-3.el7.noarch
tfm-rubygem-declarative-0.0.10-1.el7.noarch
tfm-rubygem-declarative-option-0.1.0-1.el7.noarch
tfm-rubygem-deep_cloneable-2.3.2-2.el7.noarch
tfm-rubygem-deface-1.3.2-1.el7.noarch
tfm-rubygem-domain_name-0.5.20160310-3.el7.noarch
tfm-rubygem-dynflow-1.2.3-1.fm1_22.el7.noarch
tfm-rubygem-ethon-0.12.0-1.el7.noarch
tfm-rubygem-excon-0.58.0-3.el7.noarch
tfm-rubygem-facter-2.4.0-6.el7.x86_64
tfm-rubygem-faraday-0.15.4-1.el7.noarch
tfm-rubygem-fast_gettext-1.4.1-3.el7.noarch
tfm-rubygem-ffi-1.4.0-8.el7.x86_64
tfm-rubygem-fog-aws-3.5.0-1.el7.noarch
tfm-rubygem-fog-core-2.1.0-1.el7.noarch
tfm-rubygem-fog-digitalocean-0.4.0-1.el7.noarch
tfm-rubygem-fog-google-1.8.2-1.el7.noarch
tfm-rubygem-fog-json-1.2.0-1.el7.noarch
tfm-rubygem-fog-openstack-1.0.8-2.el7.noarch
tfm-rubygem-fog-ovirt-1.1.5-1.el7.noarch
tfm-rubygem-fog-rackspace-0.1.4-3.el7.noarch
tfm-rubygem-fog-vsphere-3.0.0-2.el7.noarch
tfm-rubygem-fog-xenserver-1.0.0-1.el7.noarch
tfm-rubygem-fog-xml-0.1.2-6.el7.noarch
tfm-rubygem-foreman-tasks-0.15.7-1.fm1_22.el7.noarch
tfm-rubygem-foreman-tasks-core-0.3.2-1.fm1_22.el7.noarch
tfm-rubygem-foreman_ansible-3.0.2-1.fm1_22.el7.noarch
tfm-rubygem-foreman_ansible_core-3.0.0-1.fm1_22.el7.noarch
tfm-rubygem-foreman_discovery-15.0.0-1.fm1_22.el7.noarch
tfm-rubygem-foreman_docker-5.0.0-2.fm1_22.el7.noarch
tfm-rubygem-foreman_remote_execution-1.8.2-1.fm1_22.el7.noarch
tfm-rubygem-foreman_remote_execution_core-1.2.0-1.el7.noarch
tfm-rubygem-formatador-0.2.1-11.el7.noarch
tfm-rubygem-friendly_id-5.2.4-2.el7.noarch
tfm-rubygem-get_process_mem-0.2.1-3.el7.noarch
tfm-rubygem-gettext_i18n_rails-1.8.0-1.el7.noarch
tfm-rubygem-google-api-client-0.23.9-1.el7.noarch
tfm-rubygem-googleauth-0.6.7-1.el7.noarch
tfm-rubygem-graphql-1.8.14-1.el7.noarch
tfm-rubygem-graphql-batch-0.3.10-1.el7.noarch
tfm-rubygem-hammer_cli-0.17.1-1.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.17.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-7.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-4.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.13-1.fm1_22.el7.noarch
tfm-rubygem-hammer_cli_katello-0.18.0-1.el7.noarch
tfm-rubygem-hashie-3.6.0-1.el7.noarch
tfm-rubygem-highline-1.7.8-4.el7.noarch
tfm-rubygem-http-cookie-1.0.2-3.el7.noarch
tfm-rubygem-httpclient-2.8.3-1.el7.noarch
tfm-rubygem-ipaddress-0.8.0-11.el7.noarch
tfm-rubygem-jwt-2.1.0-1.el7.noarch
tfm-rubygem-katello-3.12.1-1.el7.noarch
tfm-rubygem-ldap_fluff-0.4.7-3.el7.noarch
tfm-rubygem-little-plugger-1.1.3-23.el7.noarch
tfm-rubygem-locale-2.0.9-13.el7.noarch
tfm-rubygem-logging-2.2.2-3.el7.noarch
tfm-rubygem-memoist-0.16.0-1.el7.noarch
tfm-rubygem-multipart-post-2.0.0-1.el7.noarch
tfm-rubygem-net-ldap-0.15.0-3.el7.noarch
tfm-rubygem-net-ping-2.0.1-3.el7.noarch
tfm-rubygem-net-scp-1.2.1-3.el7.noarch
tfm-rubygem-net-ssh-4.2.0-1.el7.noarch
tfm-rubygem-netrc-0.11.0-3.el7.noarch
tfm-rubygem-oauth-0.5.4-3.el7.noarch
tfm-rubygem-optimist-3.0.0-1.el7.noarch
tfm-rubygem-os-1.0.0-1.el7.noarch
tfm-rubygem-ovirt-engine-sdk-4.2.3-3.el7.x86_64
tfm-rubygem-parse-cron-0.1.4-4.fm1_22.el7.noarch
tfm-rubygem-passenger-4.0.18-10.12.el7.x86_64
tfm-rubygem-passenger-native-4.0.18-10.12.el7.x86_64
tfm-rubygem-passenger-native-libs-4.0.18-10.12.el7.x86_64
tfm-rubygem-pg-0.21.0-3.el7.x86_64
tfm-rubygem-polyglot-0.3.5-2.el7.noarch
tfm-rubygem-powerbar-2.0.1-1.el7.noarch
tfm-rubygem-promise.rb-0.7.4-1.el7.noarch
tfm-rubygem-public_suffix-3.0.3-1.el7.noarch
tfm-rubygem-qpid_messaging-1.38.0-1.el7.x86_64
tfm-rubygem-rabl-0.13.1-2.el7.noarch
tfm-rubygem-rack-cors-1.0.2-1.el7.noarch
tfm-rubygem-rack-jsonp-1.3.1-7.el7.noarch
tfm-rubygem-rails-i18n-5.1.1-2.el7.noarch
tfm-rubygem-rainbow-2.2.1-3.el7.noarch
tfm-rubygem-rbovirt-0.1.7-2.el7.noarch
tfm-rubygem-rbvmomi-2.0.1-1.el7.noarch
tfm-rubygem-record_tag_helper-1.0.0-2.el7.noarch
tfm-rubygem-representable-3.0.4-1.el7.noarch
tfm-rubygem-responders-2.4.0-2.el7.noarch
tfm-rubygem-rest-client-2.0.1-3.el7.noarch
tfm-rubygem-retriable-3.1.2-1.el7.noarch
tfm-rubygem-roadie-3.4.0-1.el7.noarch
tfm-rubygem-roadie-rails-2.0.0-1.el7.noarch
tfm-rubygem-robotex-1.0.0-21.el7.noarch
tfm-rubygem-ruby2ruby-2.4.2-1.el7.noarch
tfm-rubygem-ruby_parser-3.10.1-2.el7.noarch
tfm-rubygem-runcible-2.11.1-1.el7.noarch
tfm-rubygem-safemode-1.3.5-2.el7.noarch
tfm-rubygem-scoped_search-4.1.7-1.el7.noarch
tfm-rubygem-secure_headers-6.0.0-1.el7.noarch
tfm-rubygem-sequel-5.7.1-2.el7.noarch
tfm-rubygem-sexp_processor-4.10.0-5.el7.noarch
tfm-rubygem-signet-0.11.0-1.el7.noarch
tfm-rubygem-smart_proxy_dynflow_core-0.2.2-1.fm1_22.el7.noarch
tfm-rubygem-sshkey-1.9.0-3.el7.noarch
tfm-rubygem-statsd-instrument-2.1.4-2.el7.noarch
tfm-rubygem-trollop-2.1.2-3.el7.noarch
tfm-rubygem-typhoeus-1.3.1-1.el7.noarch
tfm-rubygem-uber-0.1.0-1.el7.noarch
tfm-rubygem-unf-0.1.3-7.el7.noarch
tfm-rubygem-unf_ext-0.0.6-8.el7.x86_64
tfm-rubygem-unicode-0.4.4.1-5.el7.x86_64
tfm-rubygem-unicode-display_width-1.0.5-3.el7.noarch
tfm-rubygem-validates_lengths_from_database-0.5.0-5.el7.noarch
tfm-rubygem-webpack-rails-0.9.8-3.el7.noarch
tfm-rubygem-wicked-1.3.3-1.el7.noarch
tfm-rubygem-will_paginate-3.1.7-1.el7.noarch
tfm-rubygem-x-editable-rails-1.5.5-3.el7.noarch
tfm-rubygem-xmlrpc-0.3.0-1.el7.noarch
tfm-rubygem-zest-0.0.4-1.el7.noarch
tfm-runtime-5.0-6.el7.x86_64

This task is "stuck" without any known ways to resolve it.


Files

puppet_content_view_id.png View puppet_content_view_id.png 159 KB James Jeffers, 11/18/2019 05:20 PM
Actions #1

Updated by Tomer Brisker over 4 years ago

  • Project changed from Foreman to Katello
Actions #2

Updated by Justin Sherrill over 4 years ago

  • Category set to Content Views
  • Priority changed from High to Urgent
  • Target version set to Katello 3.12.2
  • Triaged changed from No to Yes
Actions #3

Updated by Chris Roberts over 4 years ago

  • Target version changed from Katello 3.12.2 to Katello 3.13.0
Actions #4

Updated by Chris Roberts over 4 years ago

  • Status changed from New to Need more information
  • Assignee set to Chris Roberts
  • Priority changed from Urgent to High
  • Target version changed from Katello 3.13.0 to Katello 3.14.0

Hi Alexander,

I spun up a Katello 3.12.1 with Foreman 1.22 and created a content view with 2 Red Hat repos and a custom yum repo in it. I also added 1 puppet module to recreate your output, also to test I did add a file repo in after I tested deleting and was not able to reproduce the issue, which tells me it is something isolated to your environment.

Screenshots of deleting:

https://nimb.ws/FJPXRK

https://nimb.ws/U8fEHK

https://nimb.ws/y3b95l

Is the content view still stuck deleting, or did the task eventually finish? If it is still stuck can you upload a foreman-debug and we can look further into the issue?

Thanks

Actions #5

Updated by Chris Roberts over 4 years ago

  • Target version changed from Katello 3.14.0 to Katello Backlog

Moving to backlog until user comes back with info

Actions #6

Updated by Chris Roberts over 4 years ago

  • Status changed from Need more information to Closed
  • Target version changed from Katello Backlog to Katello Recycle Bin
Actions #7

Updated by Florian Apolloner over 4 years ago

  • Found in Releases Katello 3.12.3 added

I have the same issue, I'd like to upload a foreman-debug but it contains a lot of data and I am not sure I am able to see if it leaks sensitive data. Is there any exact information you'd like to have?

Actions #8

Updated by Tomer Brisker over 4 years ago

  • Status changed from Closed to New
  • Target version deleted (Katello Recycle Bin)
  • Triaged changed from Yes to No
Actions #9

Updated by Ian Ballou over 4 years ago

  • Assignee changed from Chris Roberts to Justin Sherrill
Actions #10

Updated by Justin Sherrill over 4 years ago

Would someone be able to run this within the 'foreman-rake console':

Katello::Repository.all.map{|repository|  Katello::RepositoryTypeManager.repository_types[repository.content_type] ? '' : repository.content_type }.compact
Actions #11

Updated by Justin Sherrill over 4 years ago

  • Status changed from New to Need more information
Actions #12

Updated by Alexander von Gluck IV over 4 years ago

Justin Sherrill wrote:

Would someone be able to run this within the 'foreman-rake console':

[...]

I went ahead and deleted an old version... this happened again.

"undefined method `pulp3_plugin' for nil:NilClass"

irb(main):004:0> Katello::Repository.all.map{|repository|  Katello::RepositoryTypeManager.repository_types[repository.content_type] ? '' : repository.content_type }.compact
=> ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", ""]
  1. rpm -qa | egrep "katello|foreman"
    katello-common-3.12.3-1.el7.noarch
    foreman-selinux-1.22.1-1.el7.noarch
    foreman-client-release-1.22.1-1.el7.noarch
    tfm-rubygem-foreman_remote_execution_core-1.2.0-1.el7.noarch
    tfm-rubygem-foreman_remote_execution-1.8.2-1.fm1_22.el7.noarch
    katello-default-ca-1.0-1.noarch
    foreman-1.22.1-1.el7.noarch
    foreman-proxy-1.22.1-1.el7.noarch
    katello-selinux-3.1.1-1.el7.noarch
    katello-certs-tools-2.5.3-1.el7.noarch
    foreman-release-scl-7-2.el7.noarch
    tfm-rubygem-foreman-tasks-0.15.9-1.fm1_22.el7.noarch
    tfm-rubygem-hammer_cli_katello-0.18.2-1.el7.noarch
    rubygem-foreman_maintain-0.4.2-1.el7.noarch
    tfm-rubygem-hammer_cli_foreman_tasks-0.0.13-1.fm1_22.el7.noarch
    tfm-rubygem-hammer_cli_foreman_docker-0.0.4-4.el7.noarch
    tfm-rubygem-hammer_cli_foreman-0.17.2-1.el7.noarch
    foreman-postgresql-1.22.1-1.el7.noarch
    tfm-rubygem-katello-3.12.3-1.el7.noarch
    foreman-cli-1.22.1-1.el7.noarch
    katello-repos-3.12.3-1.el7.noarch
    tfm-rubygem-foreman_ansible_core-3.0.0-1.fm1_22.el7.noarch
    tfm-rubygem-foreman_ansible-3.0.2-1.fm1_22.el7.noarch
    foreman-debug-1.22.1-1.el7.noarch
    tfm-rubygem-foreman_discovery-15.0.1-1.fm1_22.el7.noarch
    katello-debug-3.12.3-1.el7.noarch
    pulp-katello-1.0.2-1.el7.noarch
    tfm-rubygem-hammer_cli_foreman_bootdisk-0.1.3-7.el7.noarch
    katello-host-tools-fact-plugin-3.5.0-2.el7.noarch
    katello-3.12.3-1.el7.noarch
    foreman-installer-1.22.1-1.el7.noarch
    katello-service-3.12.3-1.el7.noarch
    tfm-rubygem-foreman-tasks-core-0.3.2-1.fm1_22.el7.noarch
    katello-server-ca-1.0-1.noarch
    tfm-rubygem-foreman_docker-5.0.0-2.fm1_22.el7.noarch
    katello-client-bootstrap-1.7.2-2.el7.noarch
    katello-host-tools-3.5.0-2.el7.noarch
    foreman-release-1.22.1-1.el7.noarch
    foreman-installer-katello-1.22.1-1.el7.noarch
Actions #13

Updated by Alexander von Gluck IV over 4 years ago

  • Status changed from Need more information to New
Actions #14

Updated by Samir Jha over 4 years ago

  • Target version set to Katello 3.13.2
  • Triaged changed from No to Yes
Actions #15

Updated by James Jeffers over 4 years ago

  • Assignee changed from Justin Sherrill to James Jeffers
Actions #16

Updated by James Jeffers over 4 years ago

  • Assignee changed from James Jeffers to Justin Sherrill

Alexander von Gluck IV wrote:

Justin Sherrill wrote:

Would someone be able to run this within the 'foreman-rake console':

[...]

I went ahead and deleted an old version... this happened again.

"undefined method `pulp3_plugin' for nil:NilClass"

[...]

The output from your console indicates that there are no "unknown" repo types present and they should all be found in the RepositoryTypes map.

What are the keys that do exist? What's the output of the console expression of:

Katello::RepositoryTypeManager.repository_types.keys

?

Actions #17

Updated by James Jeffers over 4 years ago

  • Status changed from New to Need more information
  • Assignee changed from Justin Sherrill to James Jeffers

If there's a way I can chat with either user who was seeing this issue, happy to to do so. At this moment, it's difficult to say what's happening given the output reported so far, so waiting for responses before continuing.

Actions #18

Updated by Chris Lehnert over 4 years ago

I too am seeing this issue. I see this in the pulp logs: "journalctl -t pulp"

django.request:WARNING: Not Found: /pulp/api/v2/repositories/1-RHEL7-v1_0-e9e2199f-1d16-4797-9777-b8f1aff80ef5/
pulp.server.webservices.middleware.exception:INFO: Missing resource(s): repository=1-RHEL7-v1_0-dbcd1e04-d306-48f9-90ae-efb06db00949
django.request:WARNING: Not Found: /pulp/api/v2/repositories/1-RHEL7-v1_0-dbcd1e04-d306-48f9-90ae-efb06db00949/
pulp.server.webservices.middleware.exception:INFO: Missing resource(s): repository=1-RHEL7-v1_0-eda3273f-9274-4092-aa68-2610a122c17e
django.request:WARNING: Not Found: /pulp/api/v2/repositories/1-RHEL7-v1_0-eda3273f-9274-4092-aa68-2610a122c17e/
pulp.server.webservices.middleware.exception:INFO: Missing resource(s): repository=1-RHEL7-v1_0-43b3bf7b-30d3-4b3f-af39-7b1147e5d2c3
django.request:WARNING: Not Found: /pulp/api/v2/repositories/1-RHEL7-v1_0-43b3bf7b-30d3-4b3f-af39-7b1147e5d2c3/

These entries show up the same time I delete the CV from Foreman.

Here is the output of the foreman-rake console:
irb(main):001:0> Katello::RepositoryTypeManager.repository_types.keys
=> ["deb", "docker", "file", "yum"]

rpm -qa | egrep "katello|foreman"
foreman-debug-1.23.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_docker-0.0.4-4.el7.noarch
katello-service-3.13.0-1.el7.noarch
foreman-cli-1.23.0-1.el7.noarch
server.example.com-foreman-proxy-1.0-1.noarch
foreman-1.23.0-1.el7.noarch
foreman-installer-katello-1.23.0-1.el7.noarch
katello-selinux-3.1.1-1.el7.noarch
katello-server-ca-1.0-1.noarch
foreman-release-1.23.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_bootdisk-0.3.0-1.el7.noarch
tfm-rubygem-katello-3.13.0-1.el7.noarch
katello-3.13.0-1.el7.noarch
katello-debug-3.13.0-1.el7.noarch
server.example.com-foreman-client-1.0-1.noarch
rubygem-foreman_maintain-0.4.5-1.el7.noarch
foreman-installer-1.23.0-1.el7.noarch
katello-common-3.13.0-1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.3.2-1.fm1_23.el7.noarch
tfm-rubygem-hammer_cli_foreman-0.18.0-1.el7.noarch
tfm-rubygem-hammer_cli_katello-0.19.1-1.el7.noarch
foreman-postgresql-1.23.0-1.el7.noarch
pulp-katello-1.0.3-1.el7.noarch
server.example.com-foreman-proxy-client-1.0-1.noarch
tfm-rubygem-foreman_virt_who_configure-0.4.1-1.fm1_23.el7.noarch
tfm-rubygem-foreman-tasks-0.16.2-1.fm1_23.el7.noarch
foreman-proxy-1.23.0-1.el7.noarch
foreman-selinux-1.23.0-1.el7.noarch
tfm-rubygem-hammer_cli_foreman_tasks-0.0.13-1.fm1_23.el7.noarch
katello-client-bootstrap-1.7.2-2.el7.noarch
foreman-release-scl-7-2.el7.noarch
katello-certs-tools-2.5.3-1.el7.noarch
katello-default-ca-1.0-1.noarch
katello-repos-3.13.1-1.el7.noarch

Actions #19

Updated by yathi chemuturi over 4 years ago

Even i'm seeing this error "undefined method `pulp3_plugin' for nil:NilClass" when i try to delete a content view version.

Actions #20

Updated by James Jeffers over 4 years ago

For those of you who seeing this issue, can you comment of if your 3.13.x was a fresh install or an upgrade from 3.12.x?

Actions #21

Updated by Chris Lehnert over 4 years ago

James Jeffers wrote:

For those of you who seeing this issue, can you comment of if your 3.13.x was a fresh install or an upgrade from 3.12.x?

This was a fresh install of 3.13.

Actions #22

Updated by James Jeffers over 4 years ago

Can you also describe what you did (repo creation, syncing, etc) prior to attempting to remove the content view?

Actions #23

Updated by James Jeffers over 4 years ago

Also, since we have been unable to reproduce this, we would be interested in examining a db dump from a system that is experiencing this problem. Would it be possible to upload (via ftp) a foreman/katello db dump to https://access.redhat.com/solutions/2112 ?

Actions #24

Updated by Chris Lehnert over 4 years ago

James Jeffers wrote:

Can you also describe what you did (repo creation, syncing, etc) prior to attempting to remove the content view?

I added some RedHat repos, published them to the Library content view. I then promoted them to my applicable environments and tried removing the oldest CV a few days later that was not in use by any content hosts or activation keys. When removing the old content view, the task stalls.

Actions #25

Updated by Chris Lehnert over 4 years ago

I was able to re-create the issue with a fresh install on CentOS7 as well. I followed these instructions:
https://theforeman.org/plugins/katello/3.13/installation/index.html. I wonder if this is because I am choosing to not install puppet? I am using Puppet Enterprise so Foreman Puppetmaster is not needed. Steps to re-create the issue:

Install necessary repos per: https://theforeman.org/plugins/katello/3.13/installation/index.html

yum -y localinstall https://fedorapeople.org/groups/katello/releases/yum/3.13/katello/el7/x86_64/katello-repos-latest.rpm
yum -y localinstall https://yum.theforeman.org/releases/1.23/el7/x86_64/foreman-release.rpm
yum -y localinstall https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum -y install foreman-release-scl
yum -y update
yum -y install katello

Run the installer with the following switches:

foreman-installer --puppet-server=false --puppet-server-ca=false \
--katello-enable-puppet=false --foreman-proxy-manage-puppet-group=false \
--foreman-proxy-content-puppet=false --foreman-proxy-puppet=false \
--foreman-proxy-puppetca=false --scenario katello

Publish content view steps

Create a new content view. Add some CentOS repos. Sync them. Publish them to Library. Promote to life cycle environment.

Delete older version steps

Publish new version to Library. Promote to lifecycle environment.
Remove previous content view version.
Task kicks off and immediately stalls with: `pulp3_plugin' for nil:NilClass error.

Actions #26

Updated by Chris Lehnert over 4 years ago

-Update,

Doing a default install works. The switches I am using above appear to cause my issue. I assume there is no way around having the puppet components installed if you want PE to manage your node? Just curious, thanks!

-Chris

Actions #27

Updated by James Jeffers over 4 years ago

Chris,

Thank you for your comments on how to reproduce. I will try that here and see if there's a solution we can come up with, or produce a better workaround for installing without puppet components.

Actions #28

Updated by James Jeffers over 4 years ago

Reproduced locally, thanks Chris for the detailed steps.

Actions #29

Updated by James Jeffers over 4 years ago

For folks encountering this problem, try to confirm that the dynflow actions were provided "content_view_puppet_environment_id" paramter, as per the screenshot. You should then be able to skip the delete action and resume.

Logic to handle conditions where the non-persisted repository with a "puppet" content type was removed at some point, perhaps, so we may have to issue a patch to workaround this.

Actions #30

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/Katello/katello/pull/8443 added
Actions #31

Updated by James Jeffers over 4 years ago

For those hitting this problem, you may apply the following patch, assuming that tests pass, etc:
https://patch-diff.githubusercontent.com/raw/Katello/katello/pull/8443.patch

Actions #32

Updated by The Foreman Bot over 4 years ago

  • Status changed from Need more information to Ready For Testing
Actions #33

Updated by James Jeffers over 4 years ago

  • Status changed from Ready For Testing to Need more information

Testing this scenario in 3.14rc1.

Tried to remove a CVV, and noticed the task also throws an error:
"RuntimeError: Cannot find repository type puppet, is it enabled?"

/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0.rc1/app/models/katello/concerns/smart_proxy_extensions.rb:157:in `pulp3_repository_type_support?'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0.rc1/app/models/katello/concerns/smart_proxy_extensions.rb:143:in `pulp3_support?'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0.rc1/app/models/katello/repository.rb:170:in `backend_service'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0.rc1/app/lib/actions/pulp/repository/destroy.rb:23:in `invoke_external_task'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.1/lib/dynflow/action/polling.rb:84:in `initiate_external_action'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.1/lib/dynflow/action/polling.rb:19:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/dynflow-1.4.1/lib/dynflow/action/cancellable.rb:14:in `run'
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0.rc1/app/lib/actions/pulp/abstract_async_task.rb:45:in `run'
[...]
Actions #34

Updated by James Jeffers over 4 years ago

  • Subject changed from Unable to delete version in content view to Unable to delete version in content view [puppet is not installed/puppet content-type is missing]
Actions #35

Updated by The Foreman Bot over 4 years ago

  • Status changed from Need more information to Ready For Testing
Actions #36

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/Katello/katello/pull/8451 added
Actions #37

Updated by James Jeffers over 4 years ago

  • Pull request deleted (https://github.com/Katello/katello/pull/8443)
Actions #38

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases Katello 3.15.0 added
Actions #39

Updated by James Jeffers over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #40

Updated by James Jeffers over 4 years ago

  • Target version changed from Katello 3.13.2 to Katello 3.13.3
Actions

Also available in: Atom PDF