Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-40720

ocf:heartbeat:apache not working in RHEL10

    • resource-agents-4.13.0-6.el10
    • sst_high_availability
    • ssg_platform_storage
    • 5
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      1. pcs resource debug-start webserver
        crm_resource: Error performing operation: Error occurred
        Operation force-start for webserver (ocf:heartbeat:apache) returned 1 (error: Failed to access httpd status page.)
        Jun 11 11:29:50 INFO: apache not running
        Jun 11 11:29:50 INFO: waiting for apache /etc/httpd/conf/httpd.conf to come up
        Unknown option '-L'
        ocf-exit-reason:Failed to access httpd status page.

        Please provide the package NVR for which bug is seen:

      resource-agents-4.13.0-2.el10.3

      How reproducible:

      100%

      Steps to reproduce

      1. pcs resource debug-start webserver

      Expected results

      ocf:heartbeat:apache resource fails to start

      Actual results

      ocf:heartbeat:apache resource starts

       

      NOTE: problem is in  /usr/lib/ocf/lib/heartbeat/http-mon.sh,

      WGETOPTS="-O- -q -L --no-proxy --bind-address=$bind_address"

      But wget in RHEL10 (from wget2-wget-2.1.0-7.el10.x86_64) doesnt support "-L" option

       

      # man wget
       -L, --relative [Not implemented yet]
             Follow relative links only.  Useful for retrieving a specific home page  without  any  distractions, not even those from the same hosts.
      

       

            rhn-engineering-oalbrigt Oyvind Albrigtsen
            mjuricek@redhat.com Martin Juricek
            Oyvind Albrigtsen Oyvind Albrigtsen
            Cluster QE Cluster QE
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: