Re: Haproxy reload fails on RHEL 7.2

2017-02-09 Thread Brandon Perkins
On Wed, Feb 08, 2017 at 11:39:37PM +, Gunuganti, Uma Maheshwar Rao wrote:
> Date: Wed, 8 Feb 2017 23:39:37 +
> From: "Gunuganti, Uma Maheshwar Rao" 
> To: "haproxy@formilux.org" 
> Subject: Haproxy reload fails on RHEL 7.2 
> List-Id: Haproxy 
> Content-Type: multipart/alternative;
>  boundary="_000_CY1PR03MB2267E796DBA293868A4D82ADD3420CY1PR03MB2267namp_"
> 
> Hi,
> 
> I am using haproxy 1.7.2 version and trying to use reload option which is 
> failing in my environment with RHEL 7.2 version, same works fine in RHEL 6.8 
> version.
> 
> Please find the logs below:
> 
> Feb  8 23:38:19 localhost systemd: Reloaded SYSV: HA-Proxy is a TCP/HTTP 
> reverse proxy which is particularly suited for high availability 
> environments..
> Feb  8 23:38:19 localhost systemd: haproxy.service: main process exited, 
> code=killed, status=9/KILL
> Feb  8 23:38:19 localhost haproxy: Shutting down haproxy: [FAILED]
> Feb  8 23:38:19 localhost systemd: Unit haproxy.service entered failed state.
> Feb  8 23:38:19 localhost systemd: haproxy.service failed.
> 
> 
> Thanks in advance for help.
> 
> Thanks,
> UmaMahesh
> 

Could you please post your:

/usr/lib/systemd/system/haproxy.service

file.  It appears that you're running your own version of HAProxy, as
RHEL 7.2 ships with haproxy-1.5.14-3.el7 and not 1.7.2.

There are some significant differences between the upstream systemd
service file and the one we use in Fedora and RHEL, that may indicate
where the problem lies.

-- 
Thanks,
Brandon



signature.asc
Description: PGP signature


Cannot obtain needed objects from git.1wt.eu haproxy repo.

2014-04-29 Thread Brandon Perkins
Hi,

For the last two days, I've been attempting to fetch (and clone, and subtree 
add) http://git.1wt.eu/git/haproxy.git master with little luck.  Here's some 
output:

==

$ env | grep _proxy  GIT_TRACE=1; GIT_CURL_VERBOSE=1 git clone -v
http://git.1wt.eu/git/haproxy.git/ haprox 
Cloning into 'haproxy'...
* Couldn't find host git.1wt.eu in the .netrc file; using defaults
* Adding handle: conn: 0x185b9e0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x185b9e0) send_pipe: 1, recv_pipe: 0
* About to connect() to git.1wt.eu port 80 (#0)
*   Trying 88.191.124.161...
* Connected to git.1wt.eu (88.191.124.161) port 80 (#0)
 GET /git/haproxy.git/info/refs?service=git-upload-pack HTTP/1.1
User-Agent: git/1.9.0
Host: git.1wt.eu
Accept: */*
Accept-Encoding: gzip
Pragma: no-cache
 HTTP/1.1 200 OK
 Date: Tue, 29 Apr 2014 13:57:47 GMT
* Server Apache (Unix; Formilux/0.1.8) is not blacklisted
 Server: Apache (Unix; Formilux/0.1.8)
 Last-Modified: Mon, 28 Apr 2014 23:10:50 GMT
 Accept-Ranges: bytes
 Content-Type: application/octet-stream
 Expires: Tue, 29 Apr 2014 21:57:47 GMT
 Cache-Control: max-age=28800
 Vary: Accept-Encoding
 Content-Length: 10634
 X-Cache: HIT from git.1wt.eu (with revalidation)
 Set-Cookie: sid=c; path=/
 Cache-control: private
* Connection #0 to host git.1wt.eu left intact

SNIP

* Couldn't find host git.1wt.eu in the .netrc file; using defaults
* Found bundle for host git.1wt.eu: 0x185c380
* About to connect() to git.1wt.eu port 80 (#7)
*   Trying 88.191.124.161...
* Adding handle: conn: 0x1873c10
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x185b9e0) send_pipe: 0, recv_pipe: 0
* - Conn 1 (0x1865c10) send_pipe: 0, recv_pipe: 0
* - Conn 2 (0x1874640) send_pipe: 0, recv_pipe: 0
* - Conn 3 (0x1878460) send_pipe: 0, recv_pipe: 1
* - Conn 4 (0x189ff70) send_pipe: 0, recv_pipe: 1
* - Conn 5 (0x18ac9c0) send_pipe: 0, recv_pipe: 1
* - Conn 6 (0x18b9550) send_pipe: 0, recv_pipe: 1
* - Conn 7 (0x1873c10) send_pipe: 1, recv_pipe: 0
* Connected to git.1wt.eu (88.191.124.161) port 80 (#7)
 GET /git/haproxy.git/objects/5c/bea6fd41a9f74384ae8891cbdc01099c6f4c0d
 HTTP/1.1
User-Agent: git/1.9.0
Host: git.1wt.eu
Accept: */*
Accept-Encoding: gzip
* The requested URL returned error: 404 Not Found
* Closing connection 3
* Couldn't find host git.1wt.eu in the .netrc file; using defaults
* Found bundle for host git.1wt.eu: 0x185c380
* About to connect() to git.1wt.eu port 80 (#8)
*   Trying 88.191.124.161...
* Adding handle: conn: 0x1878460
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x185b9e0) send_pipe: 0, recv_pipe: 0
* - Conn 1 (0x1865c10) send_pipe: 0, recv_pipe: 0
* - Conn 2 (0x1874640) send_pipe: 0, recv_pipe: 0
* - Conn 4 (0x189ff70) send_pipe: 0, recv_pipe: 1
* - Conn 5 (0x18ac9c0) send_pipe: 0, recv_pipe: 1
* - Conn 6 (0x18b9550) send_pipe: 0, recv_pipe: 1
* - Conn 7 (0x1873c10) send_pipe: 0, recv_pipe: 1
* - Conn 8 (0x1878460) send_pipe: 1, recv_pipe: 0
* The requested URL returned error: 404 Not Found
* Closing connection 5
* The requested URL returned error: 404 Not Found
* Closing connection 6
* Connected to git.1wt.eu (88.191.124.161) port 80 (#8)
 GET /git/haproxy.git/objects/info/http-alternates HTTP/1.1
User-Agent: git/1.9.0
Host: git.1wt.eu
Accept: */*
Pragma: no-cache
* The requested URL returned error: 404 Not Found
* Closing connection 8

SNIP

* Couldn't find host git.1wt.eu in the .netrc file; using defaults
* Found bundle for host git.1wt.eu: 0x185c380
* About to connect() to git.1wt.eu port 80 (#1601)
*   Trying 88.191.124.161...
* Adding handle: conn: 0x20a51b0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1596 (0x2192150) send_pipe: 0, recv_pipe: 0
* - Conn 1597 (0x1bdeda0) send_pipe: 1, recv_pipe: 0
* - Conn 1598 (0x20826f0) send_pipe: 1, recv_pipe: 0
* - Conn 1599 (0x293dae0) send_pipe: 1, recv_pipe: 0
* - Conn 1600 (0x1a93c60) send_pipe: 1, recv_pipe: 0
* - Conn 1601 (0x20a51b0) send_pipe: 1, recv_pipe: 0
error: transfer closed with 48807 bytes remaining to read (curl_result =
18, http_code = 200, sha1 = 347505c8a315eeba0d18a983a2fc35f525b
eb5c6)
error: Unable to find 347505c8a315eeba0d18a983a2fc35f525beb5c6 under
http://git.1wt.eu/git/haproxy.git
Cannot obtain needed blob 347505c8a315eeba0d18a983a2fc35f525beb5c6
while processing commit d8b2bb5c05e64c65ea3a6c9c69e719d853a667ad.
error: Fetch failed.

==

The output from cURL seems accurate, if I go to those locations via a
browser, the files do not appear at all to me.  My guess would be that
there is some sort of caching issue on the server side as I get the same
results no matter which machine I use on completely separate networks.

I can provide the entire log if that is of interest to anyone.

The two versions of tools I'm using are:

== Red Hat Enterprise Linux ==
$ git --version
git