Bug 1684092 - CFME: Bundle Service Retirement: Error: uninitialized constant ServiceOrchestrationRetireTask
Summary: CFME: Bundle Service Retirement: Error: uninitialized constant ServiceOrchest...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.10.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: GA
: 5.11.0
Assignee: drew uhlmann
QA Contact: Niyaz Akhtar Ansari
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1685737
TreeView+ depends on / blocked
 
Reported: 2019-02-28 11:58 UTC by Vladimir Dulava
Modified: 2019-12-13 15:09 UTC (History)
9 users (show)

Fixed In Version: 5.11.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1685737 (view as bug list)
Environment:
Last Closed: 2019-12-13 15:09:14 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:
gekis: needinfo-


Attachments (Terms of Use)

Description Vladimir Dulava 2019-02-28 11:58:47 UTC
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:

Comment 2 drew uhlmann 2019-02-28 13:48:15 UTC
May I please have a reproducer? Thanks a much.

Comment 4 drew uhlmann 2019-02-28 14:41:30 UTC
Fresh appliance in our lab, please. Thank you!

Comment 6 Tina Fitzgerald 2019-02-28 15:57:42 UTC
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.

Comment 7 drew uhlmann 2019-03-04 16:28:40 UTC
https://github.com/ManageIQ/manageiq/pull/18511

Comment 10 Niyaz Akhtar Ansari 2019-06-14 14:54:09 UTC
Verified in Version 5.11.0.8.20190611155126_01e077e


Note You need to log in before you can comment on or make changes to this bug.