Bug 1870657
| Summary: | Make rake console run as a dynflow client to allow access to features provided by dynflow | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> |
| Component: | Dynflow | Assignee: | Adam Ruzicka <aruzicka> |
| Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.8.0 | CC: | aruzicka, inecas, pcreech, rplevka, sshtein |
| Target Milestone: | 6.8.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | foreman-2.1.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-27 13:05:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Justin Sherrill
2020-08-20 14:23:58 UTC
Created from redmine issue https://projects.theforeman.org/issues/30528 Upstream bug assigned to aruzicka *** Bug 1870649 has been marked as a duplicate of this bug. *** Verified with Sat 6.8 snap 15.
# foreman-rake console
Loading production environment (Rails 5.2.1)
irb(main):003:0> ForemanTasks.dynflow.world.coordinator.find_worlds()
=> [#<Dynflow::Coordinator::ExecutorWorld:0x000000000f975e28 @data={"class"=>"Dynflow::Coordinator::ExecutorWorld", "id"=>"138d9737-eee0-4e55-857d-82f287cfcd60", "meta"=>{"hostname"=>"dhcp-2-103.vms.sat.rdu2.redhat.com", "pid"=>10452, "queues"=>{"default"=>{"pool_size"=>5}, "remote_execution"=>{"pool_size"=>5}, "hosts_queue"=>{"pool_size"=>5}}, "last_seen"=>"2020-09-23 07:37:02.747", "delayed_executor"=>true}, "active"=>true}, @from_hash=true>, #<Dynflow::Coordinator::ClientWorld:0x000000000f972de0 @data={"class"=>"Dynflow::Coordinator::ClientWorld", "id"=>"9c42b178-3ed3-4e4c-b01f-9800c7c76304", "meta"=>{"hostname"=>"dhcp-2-103.vms.sat.rdu2.redhat.com", "pid"=>3336, "last_seen"=>"2020-09-23 06:36:27.232"}}, @from_hash=true>, #<Dynflow::Coordinator::ClientWorld:0x000000000f972c50 @data={"class"=>"Dynflow::Coordinator::ClientWorld", "id"=>"9267ed39-2475-4f73-8343-74dae86cd4c5", "meta"=>{"hostname"=>"dhcp-2-103.vms.sat.rdu2.redhat.com", "pid"=>15423, "last_seen"=>"2020-09-21 08:52:09.893"}}, @from_hash=true>]
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: Satellite 6.8 release), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2020:4366 |