Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1685049 - System registered using insight-client does not show up immediately in the inventory app.
Summary: System registered using insight-client does not show up immediately in the in...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Insights
Classification: Red Hat
Component: Pilot
Version: unspecified
Hardware: x86_64
OS: All
unspecified
medium
Target Milestone: ---
Assignee: mrike
QA Contact: Rob Williams
Kevin Blake
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-04 09:07 UTC by Prasad Mukhedkar
Modified: 2019-03-27 10:06 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description Prasad Mukhedkar 2019-03-04 09:07:45 UTC
Description of problem:

Registered the system with the insight using " insights-client --register --display-name=eprasad-SaaS-testing" command, the command execution was successful, waited 5 more minutes and then opened Red Hat Cloud Services platform, navigated to inventory tab, searched the system using the display name set at the time of registering the system with insight client. System the doesnt appear there. 


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

[root@static ~]# insights-client --version
Client: 3.0.3-9
Core: 3.0.80-1


How reproducible:
always for me

Steps to Reproduce:

1. Register the system with subscription Manager.
   subscription-manager register 

2. Attach entitlements to the systems.
   subscription-manager attach --auto 

3. Install insight client on the system. 

 #yum install insights-client -y

4. Register the system to insight.

# insights-client --register --display-name=eprasad-SaaS-testing
Actual results:

System doesn't show up the inventory app ()

Expected results:
System should show up immediately.

Additional info:

Comment 2 Lindani Phiri 2019-03-06 15:55:18 UTC
@Prasad
Did you try finding the system in the UI using another fact, such as its hostname?

Comment 3 Sagar Lutade 2019-03-07 06:07:17 UTC
I am also facing the same issue.
Registered machines are not reflecting on the portal.

Comment 4 Rob Williams 2019-03-07 12:19:21 UTC
Hey Sagar,
Please provide host information such as the hostname for those you are unable to see in the portal. These additional details will allow us to trace and attempt to diagnose the problem.

Thanks,
Rob

Comment 5 David Luong 2019-03-07 19:30:05 UTC
Hey Prasad,

I noticed you have one step missing before your registration, have you edited the insights-client.conf?  You'll have to manually set legacy_upload=False in order to use this.  The following play can solve that issue:

  - name: configure to use non legacy upload
    lineinfile:
      path: /etc/insights-client/insights-client.conf
      line: legacy_upload=False
      insertafter: EOF
      create: yes

Comment 9 Dave Johnson 2019-03-26 17:01:18 UTC
Pavol, can you please try to reproduce this and leave a comment with your findings.  If this works for you, I am tempted to close it until we get more information.


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