Bug 1817874 - After data upload from satellite UI it is not visible on cloud.redhat.com.
Summary: After data upload from satellite UI it is not visible on cloud.redhat.com.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Inventory
Version: 6.7.0
Hardware: All
OS: Linux
unspecified
high
Target Milestone: 6.8.0
Assignee: Shimon Shtein
QA Contact: Mirek Długosz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-27 07:48 UTC by Parag Kamble
Modified: 2023-09-14 05:54 UTC (History)
6 users (show)

Fixed In Version: tfm-rubygem-foreman_rh_cloud-2.0.10
Doc Type: Known Issue
Doc Text:
After data is uploaded from the Satellite UI, it is not visible on cloud.redhat.com
Clone Of:
: 1884027 (view as bug list)
Environment:
Last Closed: 2020-10-27 13:01:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
data generating tar file logs (741 bytes, text/plain)
2020-03-27 07:48 UTC, Parag Kamble
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github theforeman foreman_rh_cloud pull 276 0 None closed Add Inventory sync status to hosts 2020-11-20 11:06:00 UTC
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 13:01:57 UTC

Description Parag Kamble 2020-03-27 07:48:16 UTC
Created attachment 1673969 [details]
data generating tar file logs

Description of problem:
After data upload from UI it is not visible on cloud.redhat.com.


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


How reproducible:


Steps to Reproduce:
1. Add hosts in satellite.
2. go  to inventory upload and click generating option.
3. click uploading link.
4. login to cloud.redhat.com/beta/
5. click on subscription management.
6. do wait for tally to be sync or do it explicitly.
6. click on redhat enterprise linux tab.
7. graph should be updated with host count and details.

Actual results:

Graph is not updated as per inventory updated by satellite.

Expected results:


Additional info:

Comment 3 Parag Kamble 2020-03-27 07:52:25 UTC
Following are the logs of when data getting uploaded to the cloud.

======================================================
* About to connect() to cert.cloud.redhat.com port 443 (#0)
* Trying 96.17.221.248...
* Connected to cert.cloud.redhat.com (96.17.221.248) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* NSS: client certificate from file
* subject: CN=9ae0b034-0f65-4c83-937b-1e448cee5ca7
* start date: Mar 25 13:00:17 2020 GMT
* expire date: Mar 25 14:00:17 2021 GMT
* common name: 9ae0b034-0f65-4c83-937b-1e448cee5ca7
* issuer: E=ca-support,CN=Red Hat Candlepin Authority,OU=Red Hat Network,O="Red Hat, Inc.",ST=North Carolina,C=US
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=cloud.redhat.com,O="Red Hat, Inc.",L=Raleigh,ST=North Carolina,C=US
* start date: Apr 08 00:00:00 2019 GMT
* expire date: Apr 07 12:00:00 2020 GMT
* common name: cloud.redhat.com
* issuer: CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US
> POST /api/ingress/v1/upload HTTP/1.1
> User-Agent: curl/7.29.0
> Host: cert.cloud.redhat.com
> Accept: */*
> Content-Length: 14575
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=----------------------------002882a4c593
>
< HTTP/1.1 100 Continue
} [data not shown]
1.2% ####################################################################### 99.7% ######################################################################## 100.0%< HTTP/1.1 202 Accepted
< Server: openresty/1.13.6.1
< Content-Type: text/plain
< Content-Length: 0
< x-rh-insights-request-id: 07aa4b8689134e1fa616eaa9b73aef28
< X-Rh-Insights-Request-Id: 07aa4b8689134e1fa616eaa9b73aef28
< X-Content-Type-Options: nosniff
< Date: Thu, 26 Mar 2020 14:14:47 GMT
< Connection: keep-alive
< Set-Cookie: 4229a562fca306cb884b49509f643d44=7803511d8cc45d9eb3bbf65c2beeb203; path=/; HttpOnly; Secure
<
* Connection #0 to host cert.cloud.redhat.com left intact
Done: /var/lib/foreman/red_hat_inventory/uploads/report_for_1.tar.gz
Uploaded files moved to done/ folder

Comment 10 Mirek Długosz 2020-10-02 13:05:10 UTC
There's new button on Configure -> Inventory upload page, "Sync inventory status". After clicking that, Satellite will add new status to hosts. That is visible in two places:

1. On Hosts -> All hosts list. There's small icon by each host name. If you put mouse cursor over it, popover message will appear, and it might contain string like "Inventory: Successfully uploaded to your RH cloud inventory"
2. On specific host page, in Properties table, there might be "Inventory" row with value like "Successfully uploaded to your RH cloud inventory"

I tested that as part of x.y.10 release on one of earlier Satellite 6.8 snap, and on Satellite 6.7.4 snap 1. Moving to VERIFIED.


Tested on:
Satellite 6.8 snap 17
satellite-6.8.0-1.el7sat.noarch
katello-3.16.0-1.el7sat.noarch
foreman-2.1.2.17-1.el7sat.noarch
pulp-server-2.21.3-1.el7sat.noarch
tfm-rubygem-foreman_rh_cloud-2.0.12-1.el7sat.noarch

Comment 13 errata-xmlrpc 2020-10-27 13:01:14 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 15 Red Hat Bugzilla 2023-09-14 05:54:49 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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