Hide Forgot
A call to Heat API times out if it takes more than 1 minute in an operation. This is happening in an undercloud with 8 vCPUs and 12GB of RAM set up with https. As an example, a call made from:'openstack --debug stack resource list overcloud -n3' in this setup takes 1 minute and 15 seconds but after 1 minute it fails. Usually the error is something like this: HTTPException: ERROR: <html><body><h1>504 Gateway Time-out</h1> The server didn't respond in time. </body></html> As a workaround I added "timeout server 7200s" in the relevant section in haproxy.cfg listen heat_api bind 192.168.3.2:13004 transparent ssl crt /etc/pki/tls/certs/undercloud-192.168.3.2.pem bind 192.168.3.3:8004 transparent mode http http-request set-header X-Forwarded-Proto https if { ssl_fc } http-request set-header X-Forwarded-Proto http if !{ ssl_fc } rsprep ^Location:\ http://192.168.3.2(.*) Location:\ https://192.168.3.2\1 server 192.168.3.1 192.168.3.1:8004 check fall 5 inter 2000 rise 2 timeout server 7200s As an additional note, a VM with the same specs but configuring director without https didn't timeout but now I haven't got that VM anymore to do a like for like comparison.
Timeout is 10 minutes now.