issue with cinder with ceph kolla-ansible pike
Hi, We have deployed cinder with ceph in a single node setup. after deployment in system-information it shows cinder volume state as down.
cinder logs: http://paste.openstack.org/show/626467/
it says IndexError: list index out of range
ceph.conf: http://paste.openstack.org/show/626470/
cephmon:
docker exec ceph_mon ceph -s
cluster:
id: ba8b82e1-6666-41cc-8283-735653237649
health: HEALTH_WARN
no active mgr
services:
mon: 1 daemons, quorum 172.16.141.21
mgr: no daemons active
osd: 1 osds: 1 up, 1 in
data:
pools: 0 pools, 0 pgs
objects: 0 objects, 0 bytes
usage: 0 kB used, 0 kB / 0 kB avail
pgs:
PS: ceph used here is kolla ceph and secondary storage is used for ceph. Step used for prepare a disk for use as a Ceph OSD :
parted /dev/sdb -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP 1 -1
I have not disabled the iscsid service of the sytem like we do in cinder normally without ceph.
Also, while spawing a vm even when i disable the create new volume .The instance fails to spaw stating bad request 400 error. nova-compute logs:
2017-11-19 22:13:15.651 7 WARNING nova.scheduler.client.report [req-fd0fd1a9-f588 0-41ba-b0b1-97fed5b6bcf2 - - - - -] [req-b775674a-26b8-4734-8a27-4f7909007ba7] FF ailed to update inventory for resource provider 1873f00d-3843-4b70-bd15-1c8d4f566 742b: 400 <html> <head> <title>400 Bad Request</title> </head> <body>
400 Bad Request
The server could not comply with the request since it is either malformed or oo therwise incorrect.JSON does not validate: 0 is less than the minimum of 1
Failed validating 'minimum' in schema['properties']['inventories']['patternPropee rties']['^[A-Z0-9_]+$']['properties']['max_unit']: {'maximum': 2147483647, 'minimum': 1, 'type': 'integer'}
share cinder.conf 's from /etc/kolla/cinder-volume also a
ls
on same path and globals.ymlhi eduardo, cinder.conf from path /etc/kolla/cinder-volume : http://paste.openstack.org/show/626587/
ls on the path: http://paste.openstack.org/show/626588/
globals.yml : http://paste.openstack.org/show/626589/
check openstack endpoint list, found at google that cinder complains about this when an endpoint is missing or cannot connect to it.
endpoint seems fine command output: http://paste.openstack.org/show/626604/