RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1576557 - non-root user presented with cryptic error "No GPG-verified eggs can be found"
Summary: non-root user presented with cryptic error "No GPG-verified eggs can be found"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: insights-client
Version: 7.6
Hardware: All
OS: Linux
high
medium
Target Milestone: rc
: 7.6
Assignee: jcrafts
QA Contact: Jeff Needle
URL:
Whiteboard:
: 1716934 (view as bug list)
Depends On:
Blocks: 1122832 1730798 1735925
TreeView+ depends on / blocked
 
Reported: 2018-05-09 18:13 UTC by Aaron Weitekamp
Modified: 2020-06-10 13:13 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1730798 1735925 (view as bug list)
Environment:
Last Closed: 2020-06-10 13:13:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Aaron Weitekamp 2018-05-09 18:13:52 UTC
Description of problem:
insights-client CLI returns cryptic error message when run as non-root.

[cloud-user@localhost] $ insights-client --register
No GPG-verified eggs can be found
[cloud-user@localhost] $ sudo insights-client --register
... (success)

Version-Release number of selected component (if applicable):
$ sudo insights-client --version
Client: 3.0.3-9
Core: 3.0.4-3

How reproducible:
when using CLI as non-root user

Steps to Reproduce:
1. Login or SSH to system as non-root, e.g. cloud-user
2. run insights-client without sudo

Actual results:
No matter what args/options CLI exits with 1: "No GPG-verified eggs can be found"

Expected results:
1. Help should always be returned regardless of user permission, e.g. insights-client -h
2. If user does not have required permissions then display helpful error, such as "insights-client must be run as root user"

Additional info:

Comment 6 Jeff Needle 2019-06-04 12:31:43 UTC
*** Bug 1716934 has been marked as a duplicate of this bug. ***


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