Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2051876

Summary: force-reload htcacheclean failure
Product: Red Hat Enterprise Linux 8 Reporter: Branislav Náter <bnater>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED NOTABUG QA Contact: rhel-cs-infra-services-qe <rhel-cs-infra-services-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: jorton, luhliari
Target Milestone: rcKeywords: Regression, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-02-28 14:51:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Branislav Náter 2022-02-08 09:22:54 UTC
Description of problem:
force-reload htcacheclean finish with failure. Test shows as regression compare to rhel-8.5 (httpd-2.4.37-43.module+el8.5.0+13064+c4b14997)

Version-Release number of selected component (if applicable):
httpd-2.4.37-47.module+el8.6.0+13996+01710940

How reproducible:
always, by running /CoreOS/httpd/Sanity/bz805810-init-script-for-htcacheclean-is-missing

Steps to Reproduce:
1. run /CoreOS/httpd/Sanity/bz805810-init-script-for-htcacheclean-is-missing

Actual results:
:: [ 03:48:55 ] :: [  BEGIN   ] ::  Service have to implement force-reload function :: actually running 'service htcacheclean force-reload'
Redirecting to /bin/systemctl force-reload htcacheclean.service
Job for htcacheclean.service failed.
See "systemctl status htcacheclean.service" and "journalctl -xe" for details.
:: [ 03:48:55 ] :: [   FAIL   ] ::  Service have to implement force-reload function (Expected 0,3, got 1)

# systemctl status htcacheclean.service -l
● htcacheclean.service - Disk Cache Cleaning Daemon for the Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/htcacheclean.service; static; vendor preset: disabled)
   Active: failed (Result: start-limit-hit) since Tue 2022-02-08 03:48:55 EST; 31min ago
     Docs: man:htcacheclean.service(8)
  Process: 7526 ExecStart=/usr/sbin/htcacheclean -P /run/httpd/htcacheclean/pid -d $INTERVAL -p $CACHE_ROOT -l $LIMIT $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 7527 (code=exited, status=0/SUCCESS)

Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: Stopped Disk Cache Cleaning Daemon for the Apache HTTP Server.
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: Starting Disk Cache Cleaning Daemon for the Apache HTTP Server...
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: htcacheclean.service: Can't open PID file /run/httpd/htcacheclean/pid (yet?) after start: No such file or directory
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: Started Disk Cache Cleaning Daemon for the Apache HTTP Server.
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: Stopping Disk Cache Cleaning Daemon for the Apache HTTP Server...
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: htcacheclean.service: Succeeded.
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: Stopped Disk Cache Cleaning Daemon for the Apache HTTP Server.
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: htcacheclean.service: Start request repeated too quickly.
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: htcacheclean.service: Failed with result 'start-limit-hit'.
Feb 08 03:48:55 ci-vm-10-0-137-72.hosted.upshift.rdu2.redhat.com systemd[1]: Failed to start Disk Cache Cleaning Daemon for the Apache HTTP Server.

Expected results (rhel-8.5):
:: [ 04:10:50 ] :: [  BEGIN   ] ::  Service have to implement force-reload function :: actually running 'service htcacheclean force-reload'
Redirecting to /bin/systemctl force-reload htcacheclean.service
:: [ 04:10:50 ] :: [   PASS   ] ::  Service have to implement force-reload function (Expected 0,3, got 0)