Advertisement
Guest User

zaqar_ws

a guest
Feb 26th, 2018
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. /var/log/containers/zaqar/zaqar-server.log
  2. 2018-02-26 11:15:08.378 6 INFO zaqar.transport.websocket.driver [-] Serving on host 192.168.24.3:9000
  3. who listens?
  4. sudo lsof -i:9000
  5. haproxy 21986 42454 34u IPv4 379840 0t0 TCP undercloud.localdomain:cslistener (LISTEN)
  6. haproxy 21986 42454 35u IPv4 379841 0t0 TCP undercloud.localdomain:cslistener (LISTEN)
  7. and haproxy.cfg for it:
  8. listen zaqar_ws
  9. bind 192.168.24.2:9000 ssl crt /etc/pki/tls/private/overcloud_endpoint.pem
  10. bind 192.168.24.3:9000
  11. mode http
  12. option forwardfor
  13. redirect scheme https code 301 if { hdr(host) -i 192.168.24.2 } !{ ssl_fc }
  14. rsprep ^Location:\ http:(.*) Location:\ https:\1
  15. timeout connect 5s
  16. timeout client 25s
  17. timeout server 25s
  18. timeout tunnel 3600s
  19. server undercloud 192.168.24.1:9000 check fall 5 inter 2000 rise 2
  20.  
  21. shouldn't zaqar-server.log listen on 192.168.24.1:9000 instead of .3???
  22. sudo docker exec $<zaqar_websocket> cat /etc/zaqar/zaqar.conf | grep ^bind
  23. bind=192.168.24.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement