Description of problem: Bundle Service Retirement: Error: uninitialized constant ServiceOrchestrationRetireTask Unable to retire service bundle (composed by AWS orchestration and Tower items) Basic small build/fresh upgrade, couple of AWS services [----] E, [2019-02-26T10:39:40.572179 #5862:9c2f5c] ERROR -- : Q-task_id([r10000000000030_service_retire_request_10000000000030]) [NameError]: uninitialized constant ServiceOrchestrationRetireTask Method:[block (2 levels) in <class:LogP roxy>] [----] E, [2019-02-26T10:39:40.572254 #5862:9c2f5c] ERROR -- : Q-task_id([r10000000000030_service_retire_request_10000000000030]) /opt/rh/cfme-gemset/gems/activesupport-5.0.7.1/lib/active_support/inflector/methods.rb:268:in `const_get' /opt/rh/cfme-gemset/gems/activesupport-5.0.7.1/lib/active_support/inflector/methods.rb:268:in `block in constantize' /opt/rh/cfme-gemset/gems/activesupport-5.0.7.1/lib/active_support/inflector/methods.rb:266:in `each' /opt/rh/cfme-gemset/gems/activesupport-5.0.7.1/lib/active_support/inflector/methods.rb:266:in `inject' /opt/rh/cfme-gemset/gems/activesupport-5.0.7.1/lib/active_support/inflector/methods.rb:266:in `constantize' /opt/rh/cfme-gemset/gems/activesupport-5.0.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize' /var/www/miq/vmdb/app/models/service_retire_task.rb:55:in `create_task' /var/www/miq/vmdb/app/models/service_retire_task.rb:46:in `block in create_retire_subtasks' /opt/rh/cfme-gemset/gems/activerecord-5.0.7.1/lib/active_record/relation/delegation.rb:38:in `collect' /opt/rh/cfme-gemset/gems/activerecord-5.0.7.1/lib/active_record/relation/delegation.rb:38:in `collect' /var/www/miq/vmdb/app/models/service_retire_task.rb:36:in `create_retire_subtasks' /var/www/miq/vmdb/app/models/service_retire_task.rb:32:in `after_request_task_create' /var/www/miq/vmdb/app/models/miq_request.rb:490:in `create_request_task' /var/www/miq/vmdb/app/models/miq_request.rb:462:in `block in create_request_tasks' /var/www/miq/vmdb/app/models/miq_request.rb:461:in `each' /var/www/miq/vmdb/app/models/miq_request.rb:461:in `create_request_tasks' /var/www/miq/vmdb/app/models/miq_queue.rb:455:in `block in dispatch_method' /usr/share/ruby/timeout.rb:93:in `block in timeout' /usr/share/ruby/timeout.rb:33:in `block in catch' /usr/share/ruby/timeout.rb:33:in `catch' /usr/share/ruby/timeout.rb:33:in `catch' /usr/share/ruby/timeout.rb:108:in `timeout' /var/www/miq/vmdb/app/models/miq_queue.rb:453:in `dispatch_method' /var/www/miq/vmdb/app/models/miq_queue.rb:430:in `block in deliver' /var/www/miq/vmdb/app/models/user.rb:275:in `with_user_group' /var/www/miq/vmdb/app/models/miq_queue.rb:430:in `deliver' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:104:in `deliver_queue_message' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:137:in `deliver_message' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:155:in `block in do_work' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:149:in `loop' /var/www/miq/vmdb/app/models/miq_queue_worker_base/runner.rb:149:in `do_work' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:329:in `block in do_work_loop' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:326:in `loop' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:326:in `do_work_loop' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:153:in `run' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:127:in `start' /var/www/miq/vmdb/app/models/miq_worker/runner.rb:22:in `start_worker' /var/www/miq/vmdb/app/models/miq_worker.rb:402:in `block in start_runner_via_fork' /opt/rh/cfme-gemset/gems/nakayoshi_fork-0.0.4/lib/nakayoshi_fork.rb:23:in `fork' /opt/rh/cfme-gemset/gems/nakayoshi_fork-0.0.4/lib/nakayoshi_fork.rb:23:in `fork' /var/www/miq/vmdb/app/models/miq_worker.rb:400:in `start_runner_via_fork' /var/www/miq/vmdb/app/models/miq_worker.rb:390:in `start_runner' /var/www/miq/vmdb/app/models/miq_worker.rb:441:in `start' /var/www/miq/vmdb/app/models/miq_worker.rb:271:in `start_worker' /var/www/miq/vmdb/app/models/miq_worker.rb:154:in `block in sync_workers' /var/www/miq/vmdb/app/models/miq_worker.rb:154:in `times' /var/www/miq/vmdb/app/models/miq_worker.rb:154:in `sync_workers' /var/www/miq/vmdb/app/models/miq_server/worker_management/monitor.rb:53:in `block in sync_workers' /var/www/miq/vmdb/app/models/miq_server/worker_management/monitor.rb:50:in `each' /var/www/miq/vmdb/app/models/miq_server/worker_management/monitor.rb:50:in `sync_workers' /var/www/miq/vmdb/app/models/miq_server.rb:148:in `start' /var/www/miq/vmdb/app/models/miq_server.rb:240:in `start' /var/www/miq/vmdb/lib/workers/evm_server.rb:27:in `start' /var/www/miq/vmdb/lib/workers/evm_server.rb:48:in `start' /var/www/miq/vmdb/lib/workers/bin/evm_server.rb:4:in `<main>' - catalog bundle "aws bundle" - bundle contain two resources, catalog items "custom provisioning" and "link configutation" - we tried catalog items configuration both with and without default retirement entrypoint (to asses if there is not some impact when retirement entrypoint is defined) Version-Release number of selected component (if applicable): CF 4.7 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
May I please have a reproducer? Thanks a much.
Fresh appliance in our lab, please. Thank you!
We're still looking into the issue, and think it's likely going to require a fix. If it is an upgraded environment, the service linking script mentioned in comment 5 still needs to be run.
https://github.com/ManageIQ/manageiq/pull/18511
Verified in Version 5.11.0.8.20190611155126_01e077e