Bug 1870657 - Make rake console run as a dynflow client to allow access to features provided by dynflow
Summary: Make rake console run as a dynflow client to allow access to features provide...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Dynflow
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.8.0
Assignee: Adam Ruzicka
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
: 1870649 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-20 14:23 UTC by Justin Sherrill
Modified: 2020-10-27 13:08 UTC (History)
5 users (show)

Fixed In Version: foreman-2.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 13:05:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 30146 0 Normal Closed Provide a way for giving rake tasks the ability to act as Dynflow clients 2021-02-02 14:07:13 UTC
Foreman Issue Tracker 30528 0 Normal Closed Make rake console run as a dynflow client to allow access to features provided by dynflow 2021-02-02 14:07:13 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:08:41 UTC

Description Justin Sherrill 2020-08-20 14:23:58 UTC

Comment 1 Justin Sherrill 2020-08-20 14:24:01 UTC
Created from redmine issue https://projects.theforeman.org/issues/30528

Comment 2 Justin Sherrill 2020-08-20 14:24:03 UTC
Upstream bug assigned to aruzicka

Comment 3 Brad Buckingham 2020-08-24 14:21:51 UTC
*** Bug 1870649 has been marked as a duplicate of this bug. ***

Comment 4 Lukáš Hellebrandt 2020-09-23 11:49:38 UTC
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>]

Comment 7 errata-xmlrpc 2020-10-27 13:05:30 UTC
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

Comment 8 errata-xmlrpc 2020-10-27 13:08:39 UTC
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


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