Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
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.