issue with cinder with ceph kolla-ansible pike

asked 2017-11-16 02:28:30 -0500

akarki gravatar image

updated 2017-11-19 23:22:08 -0500

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:

it says IndexError: list index out of range



docker exec ceph_mon ceph -s

    id:     ba8b82e1-6666-41cc-8283-735653237649
    health: HEALTH_WARN
            no active mgr

    mon: 1 daemons, quorum
    mgr: no daemons active
    osd: 1 osds: 1 up, 1 in

    pools:   0 pools, 0 pgs
    objects: 0 objects, 0 bytes
    usage:   0 kB used, 0 kB / 0 kB avail

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 [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'}

edit retag flag offensive close merge delete


share cinder.conf 's from /etc/kolla/cinder-volume also a ls on same path and globals.yml

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-11-17 03:28:44 -0500 )edit

hi eduardo, cinder.conf from path /etc/kolla/cinder-volume :

ls on the path:

globals.yml :

akarki gravatar imageakarki ( 2017-11-17 03:52:45 -0500 )edit

check openstack endpoint list, found at google that cinder complains about this when an endpoint is missing or cannot connect to it.

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2017-11-17 05:01:29 -0500 )edit

endpoint seems fine command output:

akarki gravatar imageakarki ( 2017-11-17 05:55:34 -0500 )edit