1、执行nova list命令报错:
root@controller1:~# nova list
ERROR: The server has either erred or isincapable of performing the requested operation. (HTTP 500) (Request-ID: req-572480f3-aef6-4c5b-a3f1-9ba676761935)
最后定位出来的原因是:
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini文件中firewall_driver没有配置或配置错误导致。
[SECURITYGROUP]
firewall_driver =quantum.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
修改正确后,需要重启quantum、nova服务:
service quantum-server restart
cd /etc/init.d/; for i in $( ls nova-* );do sudo service $i restart; done