openstack nova同步数据库时报"Deprecated: Option “rpc_backend” from group “DEFAULT” is deprecated for removal (Replaced by [DEFAULT]/transport_url). Its value may be silently ignored in the future."错误的解决方法
1.执行 su -s /bin/sh -c “nova-manage api_db sync” nova时报错现象如下图
解决方法:使用vi 打开/etc/nova/nova.conf文件,在[DEFAULT]部分注释掉或删除“rpc_backend = rabbit”,添加"transport_url = rabbit://openstack:123456@controller"即可
[root@controller ~]# vi /etc/nova/nova.conf
[DEFAULT]
enabled_apis = osapi_compute,metadata
transport_url = rabbit://openstack:123456@controller
#rpc_backend = rabbit
2.再次执行su -s /bin/sh -c “nova-manage api_db sync” nova时正常