Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Playing with pulp-3 on Sat6.9-beta, I noticed a CV publish was pending on Actions::Pulp3::Repository::MultiCopyContent for a long time. So far so good, but the dynflow step status was changing from "waiting for Pulp to start the task" and "initiating Pulp task" and "waiting for Pulp to finish the task" quite randomly / quite confusingly to an end user.
While I understand the dynflow step consists of multiple pulp tasks that are sequentially executed with some delays in between, it is bizzare to watch the dynflow step status evolving in time like:
- "initiating Pulp task"
- "waiting for Pulp to start the task"
- "waiting for Pulp to finish the task"
- "waiting for Pulp to start the task" - again? again starting _the_ task..? how many times yet..?
Could we add there some better text, i.e.
"waiting for Pulp to [start|finish] the task add_and_remove (79a2dd3d)"
(but that sounds too long string..?)
Simply have there less confusing string that evolves over time, to show some progress being made.
Version-Release number of selected component (if applicable):
Sat6.9 beta
- tfm-rubygem-katello-3.18.1.3-1.el7sat.noarch
How reproducible:
100%
Steps to Reproduce:
1. Have a CV with several repos, some filters and "Solve Dependencies" enabled
2. Publish the CV
3. Regularly check the publish task details in dynflow
Actual results:
Actions::Pulp3::Repository::MultiCopyContent will take a longer time (that is ok), but the information "waiting on pulp to start/finish the task" is confusingly "evolving".
Expected results:
Some better-shaped text showing some progress (and no "regression") is made.
Additional info:
I guess the change should be here:
/opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.3/app/lib/actions/pulp3/abstract_async_task.rb :
def humanized_state
case state
when :running
if self.combined_tasks.empty?
_("initiating Pulp task")
else
_("checking Pulp task status")
end
when :suspended
if combined_tasks.any?(&:started?) ### <-- fine-tune this
_("waiting for Pulp to finish the task")
else
_("waiting for Pulp to start the task")
end
else
super
end
end
Verified.
Tested on Satellite 6.10.0 Snap 22.0
Steps followed:
1. Have a CV with several repos, some filters and "Solve Dependencies" enabled
2. Publish the CV
3. Regularly check the publish task details in dynflow
Observation:
Showing better info for example: "waiting for Pulp to start the task general_update (ID: e3055bd8d0d7)" as expected.
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 (Moderate: Satellite 6.10 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-2021:4702
Description of problem: Playing with pulp-3 on Sat6.9-beta, I noticed a CV publish was pending on Actions::Pulp3::Repository::MultiCopyContent for a long time. So far so good, but the dynflow step status was changing from "waiting for Pulp to start the task" and "initiating Pulp task" and "waiting for Pulp to finish the task" quite randomly / quite confusingly to an end user. While I understand the dynflow step consists of multiple pulp tasks that are sequentially executed with some delays in between, it is bizzare to watch the dynflow step status evolving in time like: - "initiating Pulp task" - "waiting for Pulp to start the task" - "waiting for Pulp to finish the task" - "waiting for Pulp to start the task" - again? again starting _the_ task..? how many times yet..? Could we add there some better text, i.e. "waiting for Pulp to [start|finish] the task add_and_remove (79a2dd3d)" (but that sounds too long string..?) Simply have there less confusing string that evolves over time, to show some progress being made. Version-Release number of selected component (if applicable): Sat6.9 beta - tfm-rubygem-katello-3.18.1.3-1.el7sat.noarch How reproducible: 100% Steps to Reproduce: 1. Have a CV with several repos, some filters and "Solve Dependencies" enabled 2. Publish the CV 3. Regularly check the publish task details in dynflow Actual results: Actions::Pulp3::Repository::MultiCopyContent will take a longer time (that is ok), but the information "waiting on pulp to start/finish the task" is confusingly "evolving". Expected results: Some better-shaped text showing some progress (and no "regression") is made. Additional info: I guess the change should be here: /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.18.1.3/app/lib/actions/pulp3/abstract_async_task.rb : def humanized_state case state when :running if self.combined_tasks.empty? _("initiating Pulp task") else _("checking Pulp task status") end when :suspended if combined_tasks.any?(&:started?) ### <-- fine-tune this _("waiting for Pulp to finish the task") else _("waiting for Pulp to start the task") end else super end end