<div dir="ltr">Thanks Gene,<div><br></div><div>It works!! </div><div><br></div><div>$ cat <span style="font-family:Arial;font-size:14px">/etc/kolla/config/haproxy/</span><span style="font-family:Arial;font-size:14px">services.d/ceph-dashboard.cfg</span></div><div><br></div><div>frontend ceph_external_front<br> mode http<br> http-request del-header X-Forwarded-Proto<br> option httplog<br> option forwardfor<br> http-request set-header X-Forwarded-Proto https if { ssl_fc }<br> bind XX.XX.XX.XX:8443 ssl crt /etc/haproxy/haproxy.pem<br> default_backend ceph_external_back<br><br>backend ceph_external_back<br> mode http<br> balance roundrobin<br> server ctrl1 <a href="http://192.168.3.21:8443">192.168.3.21:8443</a> ssl verify none<br><br>frontend ceph_grafana_external_front<br> mode http<br> http-request del-header X-Forwarded-Proto<br> option httplog<br> option forwardfor<br> http-request set-header X-Forwarded-Proto https if { ssl_fc }<br> bind XX.XX.XX.XX:3000 ssl crt /etc/haproxy/haproxy.pem<br> default_backend ceph_grafana_external_back<br><br>backend ceph_grafana_external_back<br> mode http<br> balance roundrobin<br> server ctrl1 <a href="http://192.168.3.21:3000">192.168.3.21:3000</a> ssl verify none<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 6, 2023 at 1:19 PM Gene Kuo <<a href="mailto:igene@igene.tw">igene@igene.tw</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-family:Arial;font-size:14px">Hi,</div><div style="font-family:Arial;font-size:14px"><br></div><div style="font-family:Arial;font-size:14px">You can add custom haproxy backend under "<span>/etc/kolla/config/haproxy/services.d" by default. Just add another backend for ceph-dashboard in the folder.</span></div><div style="font-family:Arial;font-size:14px"><span>As for keepalived, I believe you will be able to override the config and add another VIP in "/etc/kolla/config/<span>keepalived/keepalived.conf".</span></span></div>
<div style="font-family:Arial;font-size:14px"><br></div><div style="font-family:Arial;font-size:14px">Hope this help!</div><div style="font-family:Arial;font-size:14px"><br></div><div style="font-family:Arial;font-size:14px">Regards,</div><div style="font-family:Arial;font-size:14px">Gene Kuo</div><div>
------- Original Message -------<br>
On Monday, February 6th, 2023 at 5:08 AM, Satish Patel <<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>> wrote:<br><br>
<blockquote type="cite">
<div dir="ltr">Folks,<br><div><br></div><div>We have multi-node openstack running and recently i have deployed ceph storage which is in an internal network and i would like to access ceph dashboard on public. I was thinking if there is a way to insert custom vip configuration in the Kolla HAProxy role then I can expose the 8443 port of the ceph-dashboard to the public network. </div><div><br></div><div>Is it possible in kolla to add custom config in haproxy for extra vip?</div></div>
</blockquote><br>
</div></blockquote></div>