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 1444711 - Improper message append to rhsmcertd.log when restart rhsmcertd service while system not registered
Summary: Improper message append to rhsmcertd.log when restart rhsmcertd service while...
Keywords:
Status: CLOSED DUPLICATE of bug 1443215
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: subscription-manager
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: candlepin-bugs
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-24 05:04 UTC by Wei Liu
Modified: 2017-04-24 14:40 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-24 14:40:06 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
the rhsm log (3.50 KB, text/plain)
2017-04-24 05:05 UTC, Wei Liu
no flags Details
the rhsmcertd log (2.47 KB, text/plain)
2017-04-24 05:05 UTC, Wei Liu
no flags Details

Description Wei Liu 2017-04-24 05:04:13 UTC
Description of problem:
Impoper message appending to rhsmcertd.log when restart rhsmcertd service while system not registered.

Version-Release number of selected component (if applicable):
[root@dhcp-129-210 rhsm]# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.51.21-1
subscription management rules: 5.15.1
subscription-manager: 1.19.9-1.el7
python-rhsm: 1.19.5-1.el7

How reproducible:
always

Steps to Reproduce:
1. Install build RHEL-7.4-20170421.1
2. edit /etc/rhsm/rhsm.conf and set certFrequency=1
3. #subscription-manager clean
4. #service rhsmcertd restart
5. tail -f /var/log/rhsm/rhsmcertd.log

Mon Apr 24 12:53:31 2017 [INFO] rhsmcertd is shutting down...
Mon Apr 24 12:53:31 2017 [INFO] Starting rhsmcertd...
Mon Apr 24 12:53:31 2017 [INFO] Auto-attach interval: 1440.0 minutes [86400 seconds]
Mon Apr 24 12:53:31 2017 [INFO] Cert check interval: 1.0 minutes [60 seconds]
Mon Apr 24 12:53:31 2017 [INFO] Waiting 2.0 minutes plus 31691 splay seconds [31811 seconds total] before performing first auto-attach.
Mon Apr 24 12:53:31 2017 [INFO] Waiting 2.0 minutes plus 38 splay seconds [158 seconds total] before performing first cert check.





Mon Apr 24 12:54:31 2017 [WARN] unable to open ATI��US��1�H��` to write timestamp: Permission denied
Mon Apr 24 12:55:31 2017 [WARN] unable to open ATI��US��1�H��` to write timestamp: Permission denied
Mon Apr 24 12:56:09 2017 [WARN] (Cert Check) Update failed (255), retry will occur on next run.
Mon Apr 24 12:56:31 2017 [WARN] unable to open ATI��US��1�H��` to write timestamp: Permission denied
Mon Apr 24 12:57:09 2017 [WARN] (Cert Check) Update failed (255), retry will occur on next run.
Mon Apr 24 12:57:31 2017 [WARN] unable to open ATI��US��1�H��` to write timestamp: Permission denied


Actual results:
As step5.

Expected results:
No improper message:[WARN] unable to open ATI��US��1�H��` to write timestamp: Permission denied

Additional info:

Comment 2 Wei Liu 2017-04-24 05:05:21 UTC
Created attachment 1273506 [details]
the rhsm log

Comment 3 Wei Liu 2017-04-24 05:05:51 UTC
Created attachment 1273507 [details]
the rhsmcertd log

Comment 4 Kevin Howell 2017-04-24 14:40:06 UTC

*** This bug has been marked as a duplicate of bug 1443215 ***


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