根据openstack icehouse安装文档openstack-install-guide-yum-icehouse.pdf, 安装部署进行到第66页时,已经部署好了controller和network的.
过程中没有报错.但是,在network node上查看日志时,发现/var/log/neutron/dhcp-agent.log中报错:
Remote error: AgentNotFoundByTypeHost Agent with agent_type=DHCP agent and host=network-node could not be found.
解决方法: 更改三个服务之间的启动顺序先后为openvswitch,dhcp,l3.且每个服务启动后间隔10s钟.
下面是icehouse文档中的内容
2. Start the Networking services and configure them to start when the system boots:
# service neutron-openvswitch-agent start
# service neutron-l3-agent start
# service neutron-dhcp-agent start
# service neutron-metadata-agent start
下面是更改后的安装脚本中的内容:
service neutron-openvswitch-agent start
sleep 10
service neutron-dhcp-agent start
sleep 10
service neutron-l3-agent start
sleep 10
service neutron-metadata-agent start