<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, we have faced some problems when creating volumes to add to VMs, to see what was happening I activated the Debug=True mode of Cinder in the cinder.conf file. <div class="">I see that when I try to create a new volume I get the following in the log:<div class=""><br class=""></div><div class=""><div class="">"DEBUG cinder.volume.drivers.rbd connecting to (conf=/etc/ceph/ceph.conf, timeout=-1) _do_conn /usr/lib/python3.6/site-<wbr class="">packages/cinder/volume/<wbr class="">drivers/rbd.py:431”</div></div><div class=""><br class=""></div><div class="">I’m using OpenStack Train and Ceph Octopus.</div></div><div class="">When I check with openstack volume service list</div><div class=""><br class=""></div><div class=""><div class="container" title="Hint: double-click to select code"><div class="index0 line number1 alt2"><code class="java plain">+------------------+----------------------+------+---------+-------+----------------------------+</code></div><div class="line index1 alt1 number2"><code class="java plain">| Binary | Host | Zone | Status | State | Updated At |</code></div><div class="alt2 line number3 index2"><code class="java plain">+------------------+----------------------+------+---------+-------+----------------------------+</code></div><div class="index3 line number4 alt1"><code class="java plain">| cinder-scheduler | spsrc-controller-</code><code class="java value">1</code> <code class="java plain">| nova | enabled | up | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">05</code><code class="java plain">-11T10:</code><code class="java value">06</code><code class="java plain">:</code><code class="java value">39.000000</code> <code class="java plain">|</code></div><div class="number5 line index4 alt2"><code class="java plain">| cinder-scheduler | spsrc-controller-</code><code class="java value">2</code> <code class="java plain">| nova | enabled | up | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">05</code><code class="java plain">-11T10:</code><code class="java value">06</code><code class="java plain">:</code><code class="java value">47.000000</code> <code class="java plain">|</code></div><div class="line number6 index5 alt1"><code class="java plain">| cinder-scheduler | spsrc-controller-</code><code class="java value">3</code> <code class="java plain">| nova | enabled | up | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">05</code><code class="java plain">-11T10:</code><code class="java value">06</code><code class="java plain">:</code><code class="java value">39.000000</code> <code class="java plain">|</code></div><div class="number7 alt2 line index6"><code class="java plain">| cinder-volume | rbd:volumes</code><code class="java color1">@ceph</code><code class="java plain">-rbd | nova | enabled | down | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">04</code><code class="java plain">-11T10:</code><code class="java value">48</code><code class="java plain">:</code><code class="java value">42.000000</code> <code class="java plain">|</code></div><div class="index7 line number8 alt1"><code class="java plain">| cinder-backup | spsrc-mon-</code><code class="java value">2</code> <code class="java plain">| nova | enabled | up | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">05</code><code class="java plain">-11T10:</code><code class="java value">06</code><code class="java plain">:</code><code class="java value">47.000000</code> <code class="java plain">|</code></div><div class="alt2 line index8 number9"><code class="java plain">| cinder-backup | spsrc-mon-</code><code class="java value">1</code> <code class="java plain">| nova | enabled | up | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">05</code><code class="java plain">-11T10:</code><code class="java value">06</code><code class="java plain">:</code><code class="java value">44.000000</code> <code class="java plain">|</code></div><div class="number10 line index9 alt1"><code class="java plain">| cinder-backup | spsrc-mon-</code><code class="java value">3</code> <code class="java plain">| nova | enabled | up | </code><code class="java value">2021</code><code class="java plain">-</code><code class="java value">05</code><code class="java plain">-11T10:</code><code class="java value">06</code><code class="java plain">:</code><code class="java value">47.000000</code> <code class="java plain">|</code></div><div class="index10 line alt2 number11"><code class="java plain">+------------------+----------------------+------+---------+-------+——————————————+</code></div><div class="index10 line alt2 number11"><code class="java plain"><br class=""></code></div><div class="index10 line alt2 number11"><font color="#000000" class="">So cinder-volume is Down,</font></div><div class="index10 line alt2 number11"><br class=""></div><div class="index10 line alt2 number11">I compare "cinder-backup" Ceph config with "cinder-volume", and they are equal! so why only one of them works?</div><div class="index10 line alt2 number11"><div class=""><div class="">diff /etc/kolla/cinder-backup/ceph.<wbr class="">conf /etc/kolla/cinder-volume/ceph.<wbr class="">conf</div></div><div class=""><br class=""></div><div class="">I go inside the "cinder_volume" container<br class=""></div><div class="">docker exec -it cinder_volume /bin/bash</div><div class=""><br class=""></div><div class="">Try listing cinder volumes, works!</div><div class="">rbd -p cinder.volumes --id cinder -k /etc/ceph/ceph.client.cinder.<wbr class="">keyring ls</div><div class=""><br class=""></div><div class="">Any Ideas. Kind regards.</div></div></div></div></body></html>