storageopenstacklvmcinder

OpenStack Block Storage cannot create LVM physical volume


I am trying to implement an OpenStack environment and following the Stein installation guide. For the installation process, I am using multiple nodes running on Ubuntu (not in Virtual Box).

Right now, I would like to install Cinder Block Storage and already implemented the controller node successfully. However, I am struggling with Step 2 on the storage node "Create the LVM physical volume /dev/sdb:" and cannot fix it.

Error Message: "Device /dev/sdb excluded by a filter"

Same error for /dev/sda or /dev/sda1, ...

Link installation guide

error pvcreate

error pvcreate 2

Does anybody know how to solve the problem?


Solution

  • Both disks (/dev/sda and /dev/sdb) are in use (mounted) in to the OS. So you can't use them and create PVs on them. Moreover one partition from /dev/sda is used to create another VG (/dev/sda2 as PV).

    If you do not use /dev/sdb1 unmount it and use it for PV creation