Hi, Oliver.
 
On Ussuri we do have logs in systemd-journald. So in order to see logs, you need to use journalctl command,
for example `journalctl -u cinder-volume` inside lxc container with cinder volume.
IIRC, for lvm storage, cinder-volumes should be launched on every nova compute node in order to attach volumes
to instances, since it's not shared storage. Also you will need to ensure that created volume is owned by the cinder-volume service,
that lives on the same compute host where instance is launched.
So probably you should consider usage of the shared storages like NFS or Ceph, rather than LVM, except you're doing AIO deployment.
 
Also you can always join us on IRC on Freenode at #openstack-ansible
 
07.10.2020, 16:11, "Oliver Wenz" <oliver.wenz@dhbw-mannheim.de>:

Hi,
I've deployed OpenStack successfully using openstack-ansible. I use
cinder with LVM backend and can create volumes. However, when I attach
them to an instance, they stay detached (though there's no Error
Message) both using CLI and the Dashboard.

Looking for a solution I read that the cinder logs might contain
relevant information but in Ussuri they don't seem to be present under
/var/log/cinder...

Here's the part of my openstack_user_config.yml regarding Cinder:

```
storage_hosts:
   lvm-storage1:
     ip: 192.168.110.202
     container_vars:
       cinder_backends:
         lvm:
           volume_backend_name: LVM_iSCSI
           volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver
           volume_group: cinder-volumes
           iscsi_ip_address: 10.0.3.202
         limit_container_types: cinder_volume
```

I've created cinder-volumes with vgcreate before the installation and
all cinder services are up:

# openstack volume service list
+------------------+--------------------------------------+------+---------+-------+----------------------------+
| Binary | Host | Zone |
Status | State | Updated At |
+------------------+--------------------------------------+------+---------+-------+----------------------------+
| cinder-backup | bc1bl10 | nova |
enabled | up | 2020-10-07T11:24:10.000000 |
| cinder-volume | bc1bl10@lvm | nova |
enabled | up | 2020-10-07T11:24:05.000000 |
| cinder-scheduler | infra1-cinder-api-container-1dacc920 | nova |
enabled | up | 2020-10-07T11:24:05.000000 |
+------------------+--------------------------------------+------+---------+-------+----------------------------+


Thanks in advance!

Kind regards,
Oliver
 

 
 
-- 
Kind Regards,
Dmitriy Rabotyagov