Stacklight on VIP network

asked 2016-10-09 03:28:35 -0500

SinaMaleki gravatar image

Hi friends .

I have installed mirantis fuel with stacklight components and nagios and etc take ip from managment network in range of 192.168.0.x

I take a look at horizon configs and I see that horizon will bind over haproxy to VIP network with range of 192.168.0.X

So in this case I think that we can bind a VIP network to stacklight components .

I do this : in the step below I create a VIP network :

fuel --os-username=admin --os-password= xxxxx --env 9 vip create --address 20.20.20.10 --network 57 --name public --namespace haproxy

which 20.20.20.10 is example of a vip network that is accessable from my external network and computers .

after that I do an ssh connection to controller nodes and touch a new cfg file in haproxy conf.d path with this details :

fueladmin@node-29:~$ sudo cat /etc/haproxy/conf.d/998-grafana.cfg

listen grafana bind 20.20.20.10:80 balance source capture cookie vgnvisitor= len 32 cookie SERVERID insert indirect nocache mode http option forwardfor option httpchk option httpclose option httplog rspidel ^Set-cookie:\ IP= timeout client 3h timeout server 3h server node-33 192.168.0.5:80 cookie node-33 check inter 2000 fall 3

which 192.168.0.5 and node-33 is my grafana ip and hostname .

but I can't ping the IP 20.20.20.10 .

So I look forward for haproxy log and I found this : 2016-10-08T10:47:51.058072+00:00 node-29 haproxy[14464]: Proxy stats started. 2016-10-08T10:47:51.058086+00:00 node-29 haproxy[14464]: Proxy horizon started. 2016-10-08T10:47:51.058102+00:00 node-29 haproxy[14464]: Proxy keystone-1 started. 2016-10-08T10:47:51.058112+00:00 node-29 haproxy[14464]: Proxy keystone-2 started. 2016-10-08T10:47:51.058130+00:00 node-29 haproxy[14464]: Proxy nova-api started. 2016-10-08T10:47:51.058141+00:00 node-29 haproxy[14464]: Proxy nova-metadata-api started. 2016-10-08T10:47:51.058161+00:00 node-29 haproxy[14464]: Proxy cinder-api started. 2016-10-08T10:47:51.058178+00:00 node-29 haproxy[14464]: Proxy glance-api started. 2016-10-08T10:47:51.058196+00:00 node-29 haproxy[14464]: Proxy glance-glare started. 2016-10-08T10:47:51.058215+00:00 node-29 haproxy[14464]: Proxy neutron started. 2016-10-08T10:47:51.058226+00:00 node-29 haproxy[14464]: Proxy glance-registry started. 2016-10-08T10:47:51.058243+00:00 node-29 haproxy[14464]: Proxy mysqld started. 2016-10-08T10:47:51.058269+00:00 node-29 haproxy[14464]: Proxy object-storage started. 2016-10-08T10:47:51.058287+00:00 node-29 haproxy[14464]: Proxy sahara started. 2016-10-08T10:47:51.058304+00:00 node-29 haproxy[14464]: Proxy heat-api started. 2016-10-08T10:47:51.058320+00:00 node-29 haproxy[14464]: Proxy heat-api-cfn started. 2016-10-08T10:47:51.058337+00:00 node-29 haproxy[14464]: Proxy heat-api-cloudwatch started. 2016-10-08T10:47:51.058348+00:00 node-29 haproxy[14464]: Proxy nova-novncproxy started. 2016-10-08T10:47:51.058364+00:00 node-29 haproxy[14464]: Proxy murano-api started. 2016-10-08T10:47:51.058374+00:00 node-29 haproxy[14464]: Proxy murano_rabbitmq started. 2016-10-08T10:47:51.058385+00:00 node-29 haproxy[14464]: Proxy grafana started. 2016-10-08T10:47:51.058394+00:00 ... (more)

edit retag flag offensive close merge delete