如何解决kolla-ansible opnestack,cinder.exception.NoValidBackend:找不到有效的后端
kolla-ansible (stable/ussuri) (openstack ussuri)
kolla-ansible 部署 openstack(四个节点,ubuntu18.04)
具有现有 ceph 的配置 cinder(已部署 cephadm,ceph 版本 15.2.8,章鱼(稳定));
煤渣卷 | server1@ceph |新星|启用 |下|
如何解决这个问题,谢谢。
日志
(venv36) root@dev ~/kolla-ansible (stable/ussuri) $ cinder service-list
+------------------+------------------------+------+---------+-------+----------------------------+---------+-----------------+---------------+
| Binary | Host | Zone | Status | State | Updated_at | Cluster | disabled Reason | Backend State |
+------------------+------------------------+------+---------+-------+----------------------------+---------+-----------------+---------------+
| cinder-backup | server1 | nova | enabled | up | 2021-02-22T07:22:53.000000 | - | - | |
| cinder-backup | server2 | nova | enabled | up | 2021-02-22T07:22:55.000000 | - | - | |
| cinder-backup | server3 | nova | enabled | up | 2021-02-22T07:22:50.000000 | - | - | |
| cinder-backup | server4 | nova | enabled | up | 2021-02-22T07:22:50.000000 | - | - | |
| cinder-scheduler | server1 | nova | enabled | up | 2021-02-22T07:22:49.000000 | - | - | |
| cinder-scheduler | server2 | nova | enabled | up | 2021-02-22T07:22:56.000000 | - | - | |
| cinder-scheduler | server3 | nova | enabled | up | 2021-02-22T07:22:53.000000 | - | - | |
| cinder-volume | server1@ceph | nova | enabled | down | 2021-02-22T01:21:03.000000 | - | - | - |
| cinder-volume | server1@rbd-1@rbd-1 | nova | enabled | down | 2021-02-21T07:41:14.000000 | - | - | - |
| cinder-volume | storage1:volumes@rbd-1 | nova | enabled | down | 2021-02-21T07:07:29.000000 | - | - | - |
+------------------+------------------------+------+---------+-------+----------------------------+---------+-----------------+---------------+
tree /etc/kolla/
/etc/kolla/config/
├── cinder
│ ├── ceph.conf
│ ├── cinder-backup
│ │ ├── ceph.client.cinder-backup.keyring
│ │ └── ceph.client.cinder.keyring
│ ├── cinder-backup.conf
│ ├── cinder-volume
│ │ └── ceph.client.cinder.keyring
│ ├── cinder-volume.conf
│ └── cinder-volume.conf.bak
├── glance
│ ├── ceph.client.glance.keyring
│ ├── ceph.conf
│ └── glance-api.conf
└── nova
├── ceph.client.cinder.keyring
├── ceph.client.nova.keyring
├── ceph.conf
└── nova-compute.conf
cinder_volume,cinder_scheduler logs as following:
2021-02-22 14:08:20.766 7
ERROR cinder.scheduler.flows.create_volume
[req-1e4cc16b-cace-4019-8ce5-9f543e758e77 2ff1ec3c53da405e90a71c993cf969eb c7675e760bbd498f9bc143cd165c4099 -
default default] Failed to run task cinder.scheduler.flows.create_volume.ScheduleCreateVoluMetask;
volume:create: No valid backend was found. No weighed backends available: cinder.exception.NovalidBackend:
No valid backend was found. No weighed backends available
(venv36) root@dev ~/kolla-ansible (stable/ussuri) $ cat /etc/kolla/config/cinder/cinder-volume.conf
[DEFAULT]
enabled_backends=ceph
[ceph]
rbd_ceph_conf=/etc/ceph/ceph.conf
rbd_user=cinder
rbd_pool=volumes
volume_backend_name=ceph
#backend_host=storage1:volumes
backend_host=server1
volume_driver=cinder.volume.drivers.rbd.RBDDriver
rbd_secret_uuid = 67ca7759-ea2b-4bd0-9464-d771382b13c7
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。