微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

kolla-ansible opnestack,cinder.exception.NoValidBackend:找不到有效的后端

如何解决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 举报,一经查实,本站将立刻删除。

相关推荐


Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其他元素将获得点击?
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。)
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbcDriver发生异常。为什么?
这是用Java进行XML解析的最佳库。
Java的PriorityQueue的内置迭代器不会以任何特定顺序遍历数据结构。为什么?
如何在Java中聆听按键时移动图像。
Java“Program to an interface”。这是什么意思?