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 1920014 - Sync now on Insights does nothing
Summary: Sync now on Insights does nothing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Insights
Version: 6.9.0
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: 6.9.0
Assignee: Shimon Shtein
QA Contact: Jameer Pathan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-25 14:53 UTC by Kenny Tordeurs
Modified: 2021-04-21 13:25 UTC (History)
4 users (show)

Fixed In Version: 3.0.15
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:25:38 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
verification screenshot1 (37.13 KB, image/png)
2021-03-10 08:13 UTC, Jameer Pathan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:25:55 UTC

Description Kenny Tordeurs 2021-01-25 14:53:58 UTC
Description of problem:
Sync now button on Insights page after adding token does nothing.

Configure -> Insights
https://<satellite>/foreman_rh_cloud/insights_cloud

Version-Release number of selected component (if applicable):
Satellite 6.9

How reproducible:
100%

Steps to Reproduce:
1. Setup token
2. Click on sync now
3.

Actual results:
nothing happens, no task gets created


Expected results:
something

Additional info:

Comment 3 J.F. 2021-02-04 09:58:59 UTC
Same here with 6.8.2 with logs in /var/log/foreman/production.log

2021-02-04T10:57:34 [I|app|d591deac] Processing by InsightsCloud::TasksController#create as JSON
2021-02-04T10:57:34 [I|app|d591deac]   Parameters: {"task"=>{}}
2021-02-04T10:57:34 [I|app|d591deac] Performing InsightsCloud::Async::InsightsFullSync (Job ID: 13e846a1-73b2-4d4e-9688-610a65c09d5b) from Dynflow(default) enqueued at 
2021-02-04T10:57:35 [I|app|d591deac] Performed InsightsCloud::Async::InsightsFullSync (Job ID: 13e846a1-73b2-4d4e-9688-610a65c09d5b) from Dynflow(default) in 916.96ms
2021-02-04T10:57:35 [I|app|d591deac] No template found for InsightsCloud::TasksController#create, rendering head :no_content
2021-02-04T10:57:35 [I|app|d591deac] Completed 204 No Content in 937ms (ActiveRecord: 6.0ms | Allocations: 17339)

Comment 5 Jameer Pathan 2021-03-10 08:12:10 UTC
Verified:

Verified with:
- Satellite 6.9.0 snap 16
- tfm-rubygem-foreman_rh_cloud-3.0.17-1.el7sat.noarch

Test steps:
- Go to Configure > Insights
- Setup Red Hat Cloud token
- Click on "Save setting and sync recommendations" button. (This takes some time to complete)


Observations:
- Provide Insights recommendations output for hosts managed by satellite.
- "Start recommendations sync" is provided, once clicked it gives link for task created.

Comment 6 Jameer Pathan 2021-03-10 08:13:45 UTC
Created attachment 1762195 [details]
verification screenshot1

Comment 10 errata-xmlrpc 2021-04-21 13:25:38 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 (Moderate: Satellite 6.9 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:1313


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