<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Gorka again, yes, the first thing is to know why you can't connect to that host (Ceph is actually set up for HA) so that's the way to do it. I tell you this because previously from the beginning of the setup of our setup it has always been like that, with that hostname and there has been no problem.<div class=""><br class=""></div><div class="">As for the errors, the strangest thing is that in Monasca I have not found any error log, only warning on “<mark style="background-color: rgb(255, 135, 0);" class="">volume</mark> service is down. (host: rbd:volumes@ceph-rbd)" and info, which is even stranger.</div><div class=""><br class=""></div><div class="">Regards.</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 12 May 2021, at 23:34, Gorka Eguileor <<a href="mailto:geguileo@redhat.com" class="">geguileo@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">On 12/05, ManuParra wrote:<br class=""><blockquote type="cite" class="">Hi Gorka, let me show the cinder config:<br class=""><br class="">[ceph-rbd]<br class="">rbd_ceph_conf = /etc/ceph/ceph.conf<br class="">rbd_user = cinder<br class="">backend_host = rbd:volumes<br class="">rbd_pool = cinder.volumes<br class="">volume_backend_name = ceph-rbd<br class="">volume_driver = cinder.volume.drivers.rbd.RBDDriver<br class="">…<br class=""><br class="">So, using rbd_exclusive_cinder_pool=True it will be used just for volumes? but the log is saying no connection to the backend_host.<br class=""></blockquote><br class="">Hi,<br class=""><br class="">Your backend_host doesn't have a valid hostname, please set a proper<br class="">hostname in that configuration option.<br class=""><br class="">Then the next thing you need to have is the cinder-volume service<br class="">running correctly before making any requests.<br class=""><br class="">I would try adding rbd_exclusive_cinder_pool=true then tailing the<br class="">volume logs, and restarting the service.<br class=""><br class="">See if the logs show any ERROR level entries.<br class=""><br class="">I would also check the service-list output right after the service is<br class="">restarted, if it's up then I would check it again after 2 minutes.<br class=""><br class="">Cheers,<br class="">Gorka.<br class=""><br class=""><br class=""><blockquote type="cite" class=""><br class="">Regards.<br class=""><br class=""><br class=""><blockquote type="cite" class="">On 12 May 2021, at 11:49, Gorka Eguileor <<a href="mailto:geguileo@redhat.com" class="">geguileo@redhat.com</a>> wrote:<br class=""><br class="">On 12/05, ManuParra wrote:<br class=""><blockquote type="cite" class="">Thanks, I have restarted the service and I see that after a few minutes then cinder-volume service goes down again when I check it with the command openstack volume service list.<br class="">The host/service that contains the cinder-volumes is rbd:volumes@ceph-rbd that is RDB in Ceph, so the problem does not come from Cinder, rather from Ceph or from the RDB (Ceph) pools that stores the volumes. I have checked Ceph and the status of everything is correct, no errors or warnings.<br class="">The error I have is that cinder can’t  connect to rbd:volumes@ceph-rbd. Any further suggestions? Thanks in advance.<br class="">Kind regards.<br class=""><br class=""></blockquote><br class="">Hi,<br class=""><br class="">You are most likely using an older release, have a high number of cinder<br class="">RBD volumes, and have not changed configuration option<br class="">"rbd_exclusive_cinder_pool" from its default "false" value.<br class=""><br class="">Please add to your driver's section in cinder.conf the following:<br class=""><br class="">rbd_exclusive_cinder_pool = true<br class=""><br class=""><br class="">And restart the service.<br class=""><br class="">Cheers,<br class="">Gorka.<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">On 11 May 2021, at 22:30, Eugen Block <<a href="mailto:eblock@nde.ag" class="">eblock@nde.ag</a>> wrote:<br class=""><br class="">Hi,<br class=""><br class="">so restart the volume service;-)<br class=""><br class="">systemctl restart openstack-cinder-volume.service<br class=""><br class=""><br class="">Zitat von ManuParra <<a href="mailto:mparra@iaa.es" class="">mparra@iaa.es</a>>:<br class=""><br class=""><blockquote type="cite" class="">Dear OpenStack community,<br class=""><br class="">I have encountered a problem a few days ago and that is that when creating new volumes with:<br class=""><br class="">"openstack volume create --size 20 testmv"<br class=""><br class="">the volume creation status shows an error.  If I go to the error log detail it indicates:<br class=""><br class="">"Schedule allocate volume: Could not find any available weighted backend".<br class=""><br class="">Indeed then I go to the cinder log and it indicates:<br class=""><br class="">"volume service is down - host: rbd:volumes@ceph-rbd”.<br class=""><br class="">I check with:<br class=""><br class="">"openstack volume service list”  in which state are the services and I see that indeed this happens:<br class=""><br class=""><br class="">| cinder-volume | rbd:volumes@ceph-rbd | nova | enabled | down | 2021-04-29T09:48:42.000000 |<br class=""><br class="">And stopped since 2021-04-29 !<br class=""><br class="">I have checked Ceph (monitors,managers, osds. etc) and there are no problems with the Ceph BackEnd, everything is apparently working.<br class=""><br class="">This happened after an uncontrolled outage.So my question is how do I restart only cinder-volumes (I also have cinder-backup, cinder-scheduler but they are ok).<br class=""><br class="">Thank you very much in advance. Regards.<br class=""></blockquote><br class=""><br class=""><br class=""><br class=""></blockquote><br class=""><br class=""></blockquote><br class=""><br class=""></blockquote><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>