Ask Your Question
0

HAProxy shows glance-registry down

asked 2015-05-29 06:38:31 -0500

Janki gravatar image

HI

I have achieved HA for controller and compute nodes. Everything is running fine. VMs are getting created and they are getting IP. There is no problem with OPenStack working.

glance-registry service status shows it is running.

But HAProxy web-page shows the glance-registry and memcached down.

HAProxy is listening for glance-registry on port 9191 and for memcached on port 11211.

What could be the reason and how should I solve it?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-30 10:49:07 -0500

Tobias Urdin gravatar image

Please make sure your configuration in haproxy is correct, I'm not sure what your issue is but for me the HTTP response was not in the 200-300 range which caused Haproxy to think it was down.

This is how I did it, and it works fine.

listen glance_api
        bind 192.168.107.10:9292
        balance  source
        option  tcpka
        option  httpchk
        option  tcplog
        server image1-sto1-os1 192.168.107.41:9292 check inter 2000 rise 2 fall 5

listen glance_registry
        bind 192.168.107.10:9191
        balance  source
        option  tcpka
        option  tcplog
        server image1-sto1-os1 192.168.107.41:9191 check inter 2000 rise 2 fall 5
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-29 06:38:31 -0500

Seen: 484 times

Last updated: May 30 '15