Problem in intgration between RDO queens and Ceph mimic

asked 2018-09-22 05:35:02 -0600

Am Ab gravatar image

updated 2018-09-23 07:13:29 -0600

Hello,

Here is the cinder scheduler log:

ERROR cinder.scheduler.flows.create_volume ......... Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVolumeTask;volume:create: No valid backend was found. No weighed backends available: NoValidBackend: No valid backend was found. No weighed backends available

The change config is as below:

enabled_backends=rbd
.
.
[rbd]
volume_driver = cinder.volume.drivers.rbd.RBDDriver
rbd_pool = volumes
rbd_user = cinder
rbd_ceph_conf = /etc/ceph/ceph.conf
rbd_store_chunk_size = 4
edit retag flag offensive close merge delete

Comments

First check if all Cinder services are up: openstack volume service list. I suspect that cinder-volume might not be running. If that is the case, check its log to understand why.

Bernd Bausch gravatar imageBernd Bausch ( 2018-09-22 07:34:10 -0600 )edit

cinder-voluem for RBD is running, of course control1@lvm is down, as I have commened that out in cinder.conf:

| cinder-volume    | control1@lvm  | nova | enabled | down  | 2018-09-22T10:23:54.000000 |
| cinder-volume    | control1@rbd  | nova | enabled | up    | 2018-09-23T10:25:36.000000
Am Ab gravatar imageAm Ab ( 2018-09-23 05:33:13 -0600 )edit

One thing is strange: if you commented LVM out, the LVM volume service should not appear at all.

I would hope that more information can be found in the scheduler log. DEBUG logging might help. Also check the volume log for RBD-related messages.

Bernd Bausch gravatar imageBernd Bausch ( 2018-09-23 07:15:42 -0600 )edit