tuanhoangth1603 opened a new issue, #7336:
URL: https://github.com/apache/cloudstack/issues/7336

   Hello,
   
   When integrating with CEPH RBD, because multiple monitor hosts are supported 
in version 4.18 as the issue https://github.com/apache/cloudstack/pull/6792.
   
   So on Cloudstack 4.17, I configured a HAProxy node to load balance the CEPH 
monitor service endpoint, but Cloudstack cannot connect when adding a new 
primary storage. Cloudstack agent host raises an error in agent.log:
   
   "Failed to create RBD storage pool: org.libvirt.LibvirtException: failed to 
connect to the RADOS monitor at MON_IP:6789: No such file or directory."
   
   Here is my HaProxy configuration:
   `
   frontend ceph-mon
       bind *:6789
       mode tcp
       default_backend ceph-mon-backend
   
   backend ceph-mon-backend
       mode tcp
       balance roundrobin
       server ceph-mon-1 MON_IP:6789 check
   
   frontend ceph-mon33
       bind *:6789
       mode tcp
       default_backend ceph-mon-backend33
   backend ceph-mon-backend33
       mode tcp
       balance roundrobin
       server ceph-mon-1 MON_IP:3300 check
   `
   Thanks for your help !!! 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to