dmsetup shows guest logical volumes

asked 2018-09-28 16:59:12 -0500

I installed Rocky (keystone, glance, nova, cinder, horizon, heat, neutron) on HP Gen9 Blades, with EMC VNX5100 as storage. Since each blade came with internal disks, I installed cinder on all blades, and configured cinder with lvm driver. On one node, I configured cinder with VNX driver too, to access the EMC storage. I installed OpenStack on CentOS 7, on the internal disk, on simple disk partitions. I created a partition on the local disk for the cinder lvm volume group (on all nodes).

# lvs
  LV                  VG             Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  cinder-volumes-pool cinder-volumes twi-aotz-- <1.32t             0.00   0.42

I filtered everything from LVM, except for the partition I allocated for cinder.

# fdisk -l /dev/sda | grep sda4
/dev/sda4       534775808  3516262831  1490743512   83  Linux

# grep sda4 /etc/lvm/lvm.conf
        filter = [ "a|^/dev/sda4$|", "r|.*|" ]

Nevertheless, after creating a few servers, I can see the guest machine's logical volumes, in the dmsetup ls list (vgbackup-lvol1) on the host.

# dmsetup ls --tree
cinder--volumes-cinder--volumes--pool (253:5)
 └─cinder--volumes-cinder--volumes--pool-tpool (253:4)
    ├─cinder--volumes-cinder--volumes--pool_tdata (253:3)
    │  └─ (8:4)
    └─cinder--volumes-cinder--volumes--pool_tmeta (253:2)
       └─ (8:4)
vgbackup-lvol1 (253:9)
 └─mpathjm (253:8)
    ├─ (8:224)
    └─ (8:208)

Is this OK? Did I do something wrong? Could it be the reason I have a hard time deleting my heat stacks? Sometimes even the stack creation hangs and I have to clean up everything to start over.

edit retag flag offensive close merge delete