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: ---   
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)