Cinder + LVM: No valid host found
I am setting up a single-node deployment of OpenStack Havana and have had some trouble getting the LVM backend configuration working with Cinder. I've limited my LVM testing to using a small loopfile as the backing file. I've gone through the process of creating the default physical volume/volume group while setting the appropriate configuration parameters in /etc/cinder/
Failed to schedule_
The following is the content of /etc/cinder/
/etc/cinder/
[DEFAULT]
rootwrap_config = /etc/cinder/
api_paste_confg = /etc/cinder/
iscsi_helper = tgtadm
volume_driver = cinder.
volume_
volume_group = cinder-volumes
volume_backend_name = LVM_iSCSI
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/
rabbit_host = localhost
rabbit_port = 5672
# Change the following settings if you're not using the default RabbitMQ
# configuration
#rabbit_userid = guest
#rabbit_password = guest
#rabbit_
[database]
# The SQLAlchemy connection string used to connect to the
# database (string value)
connection = mysql:/
$ cinder extra-specs-list
+------
| ID | Name | extra_specs |
+------
| 700fedbd-
+------
$ cinder list
+------
| ID | Status | Display Name | Size | Volume Type | Bootable | Attached to |
+------
| 72d04c98-
+------
$ cinder-manage host list
host zone
ducksauce nova
$ pvscan
PV /dev/loop2 VG cinder-volumes lvm2 [2.00 GiB / 2.00 GiB free]
Total: 1 [2.00 GiB] / in use: 1 [2.00 GiB] / in no VG: 0 [0 ]
$ vgdisplay
--- Volume group ---
VG Name cinder-volumes
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 2.00 GiB
PE Size 4.00 MiB
Total PE 511
Alloc PE / Size 0 / 0
Free PE / Size 511 / 2.00 GiB
VG UUID XAPfo6-
Thanks,
Peter Hamilton
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Cinder Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Peter Hamilton
- Solved:
- Last query:
- Last reply: