<div dir="ltr">
<span class="gmail-HwtZe" lang="en"><span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">Apparently the "mon_host" parameter is mandatory to create secrets [1], but setting this parameter also makes it SSH into MON [2], which I would like to avoid.</span></span> <span class="gmail-jCAhz gmail-ChMk0b"><span class="gmail-ryNqvb">Would this statement be true?</span></span></span><br><br>[1] <a href="https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/stable/zed/tasks/ceph_auth_extra_compute.yml#L92">https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/stable/zed/tasks/ceph_auth_extra_compute.yml#L92</a><br>[2] <a href="https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/stable/zed/tasks/ceph_config_extra.yml#L23">https://opendev.org/openstack/openstack-ansible-ceph_client/src/branch/stable/zed/tasks/ceph_config_extra.yml#L23</a></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em sex., 4 de ago. de 2023 às 19:39, Murilo Morais <<a href="mailto:murilo@evocorp.com.br">murilo@evocorp.com.br</a>> escreveu:<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 dir="ltr">Good evening everyone!<br><br>Guys, I'm having trouble adding a second CEPH cluster for Nova/Cincer to consume.<br><br>I'm using the following configuration:<br><br>cinder_backends:<br> ceph1:<br> volume_driver: cinder.volume.drivers.rbd.RBDDriver<br> rbd_pool: ceph1_vol<br> rbd_ceph_conf: /etc/ceph/ceph1.conf<br> rbd_store_chunk_size: 8<br> volume_backend_name: ceph1<br> rbd_user: ceph1_vol<br> rbd_secret_uuid: "{{ cinder_ceph_client_uuid }}"<br> report_discard_supported: true<br> <br> ceph2:<br> volume_driver: cinder.volume.drivers.rbd.RBDDriver<br> rbd_pool: ceph2_vol<br> rbd_ceph_conf: /etc/ceph/ceph2.conf<br> rbd_store_chunk_size: 8<br> volume_backend_name: ceph2<br> rbd_user: ceph2_vol<br> rbd_secret_uuid: "{{ cinder_ceph_client_uuid2 }}"<br> report_discard_supported: true<br><br>ceph_extra_confs:<br> - src: /etc/openstack_deploy/ceph/ceph1.conf<br> dest: /etc/ceph/ceph1.conf<br> client_name: ceph1_vol<br> keyring_src: /etc/openstack_deploy/ceph/ceph1_vol.keyring<br> keyring_dest: /etc/ceph/ceph1.client.ceph1_vol.keyring<br> secret_uuid: '{{ cinder_ceph_client_uuid }}'<br> - src: /etc/openstack_deploy/ceph/ceph2.conf<br> dest: /etc/ceph/ceph2.conf<br> client_name: ceph2_vol<br> keyring_src: /etc/openstack_deploy/ceph/ceph2_vol.keyring<br> keyring_dest: /etc/ceph/ceph2.client.ceph2_vol.keyring<br> secret_uuid: '{{ cinder_ceph_client_uuid2 }}'<br><br>But when executing the `virsh secret-list` command it only shows the UUID of "cinder_ceph_client_uuid".<br><br>Both "cinder_ceph_client_uuid" and "cinder_ceph_client_uuid2" are defined in "user_secrets.yml".<br><br>I have a slight impression that I didn't configure something, but I don't know what, because I didn't find anything else to be done, according to the documentation [1], or it went unnoticed by me.<br><br><div>[1] <a href="https://docs.openstack.org/openstack-ansible-ceph_client/latest/configure-ceph.html#extra-client-configuration-files" target="_blank">https://docs.openstack.org/openstack-ansible-ceph_client/latest/configure-ceph.html#extra-client-configuration-files</a></div><div><br></div><div>Thanks in advance!</div></div>
</blockquote></div>