next up previous contents
Next: 問題三 Up: 除錯 Previous: 問題一   Contents

問題二

  1. quantum-dhcp 啟動失敗。
    [root@kvm4 ~(keystone_quantum)]# /etc/init.d/quantum-dhcp-agent restart
    Stopping quantum-dhcp-agent:                               [  OK  ]
    Starting quantum-dhcp-agent:                               [  OK  ]
    [root@kvm4 ~(keystone_quantum)]# egrep 'ERROR|CRITICAL' /var/log/quantum/dhcp-agent.log 
    2015-04-12 15:35:07    ERROR [quantum.agent.dhcp_agent] Unable to enable dhcp.
    2015-04-12 15:35:15    ERROR [quantum.agent.dhcp_agent] Unable to enable dhcp.
    
  2. 解決方式:安裝 kernel-2.6.32-358.114.1.openstack。
    [root@kvm4 ~(keystone_quantum)]# yum install -y kernel iproute \
    --enablerepo=openstack && reboot
    
    [root@kvm4 ~]# source keystonerc_quantum
    [root@kvm4 ~(keystone_quantum)]# rm /var/log/quantum/dhcp-agent.log 
    rm: remove regular file `/var/log/quantum/dhcp-agent.log'? y
    [root@kvm4 ~(keystone_quantum)]# /etc/init.d/quantum-dhcp-agent restart
    Stopping quantum-dhcp-agent:                               [  OK  ]
    Starting quantum-dhcp-agent:                               [  OK  ]
    [root@kvm4 ~(keystone_quantum)]# egrep 'ERROR|CRITICAL' /var/log/quantum/dhcp-agent.log
    



2015-12-29