cinder-volume Required RPC API Old

 


cinder-volume日志提示:

Failed to notify about cinder-volume service capabilities for host controller@vmware. This is normal during a live upgrade. Error: One of cinder-scheduler services is too old to accept notify_service_capabilities request. Required RPC API version is 3.1. Are you running mixed versions of cinder-schedulers?: ServiceTooOld: One of cinder-scheduler services is too old to accept notify_service_capabilities request. Required RPC API version is 3.1. Are you running mixed versions of cinder-schedulers?



查看下当前rpc版本

MariaDB [cinder]> select services.binary, services.rpc_current_version, services.object_current_version from services where not deleted;
+------------------+---------------------+------------------------+
| binary           | rpc_current_version | object_current_version |
+------------------+---------------------+------------------------+
| cinder-scheduler | 3.0                 | 1.11                   |
| cinder-scheduler | 3.10                | 1.35                   |
| cinder-volume    | 3.15                | 1.35                   |
+------------------+---------------------+------------------------+


停止cinder-scheduler 服务

[root@controller ~]# systemctl stop   openstack-cinder-scheduler

同步一下,更新后cinder-scheduler版本就正确了

[root@controller ~]# cinder-manage db sync --bump-versions


开启服务

systemctl start openstack-cinder-scheduler

查看更新后的版本

MariaDB [cinder]> select services.binary, services.rpc_current_version, services.object_current_version
+------------------+---------------------+------------------------+
| binary           | rpc_current_version | object_current_version |
+------------------+---------------------+------------------------+
| cinder-scheduler | 3.10                | 1.35                   |
| cinder-scheduler | 3.10                | 1.35                   |
| cinder-volume    | 3.15                | 1.35                   |
+------------------+---------------------+------------------------+


重启卷服务,在查看日志错误解决

[root@controller ~]# systemctl restart  openstack-cinder-volume






原文地址:https://www.cnblogs.com/menkeyi/p/14000601.html