centos 7 安裝openstack kilo in three node

來源:互聯網
上載者:User

標籤:glance   images   store   error   

教程請參考官方教程

只是羅列了一些遇到的問題與解決方案


1.keystone 無法啟動可以先執行以下操作

# keystone-manage pki_setup --keystone-user keystone --keystone-group keystone

# chown -R keystone:keystone /var/log/keystone

# chown -R keystone:keystone /etc/keystone/ssl

# chmod -R o-rwx /etc/keystone/ssl

2.glance-api服務啟動失敗

修改 api.log 許可權

chown -R glance:glance /var/log/glance/api.log


3.上傳鏡像失敗

錯誤提示:410 Gone: Error in store configuration. Adding images to store is disabled. (HTTP N/A)

上傳鏡像的目錄許可權問題

chown -R glance:glance /var/lib/glance/images/



4.安裝compute節點服務後,nova-compute服務無法啟動,/var/log/nova/nova-compute.log報以下錯誤: 2015-06-26 03:31:17.501 1390 ERROR oslo_messaging._drivers.impl_rabbit [req-d7a3a24b-fe9f-4885-8db6-efc850b9ec44 - - - - -] AMQP server on controller: 

5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds. 

2015-06-26 03:31:18.526 1390 ERROR oslo_messaging._drivers.impl_rabbit [req-d7a3a24b-fe9f-4885-8db6-efc850b9ec44 - - - - -] AMQP server on controller: 

5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds. 

2015-06-26 03:31:19.548 1390 ERROR oslo_messaging._drivers.impl_rabbit [req-d7a3a24b-fe9f-4885-8db6-efc850b9ec44 - - - - -] AMQP server on controller: 

5672 is unreachable: [Errno 113] EHOSTUNREACH. Trying again in 2 seconds.

在controller節點放開AMQP串連防火牆,放開rabbitmq server或AMQP 連接埠5672。 #firewall-cmd --list-all 

[[email protected] nova]# firewall-cmd --list-all public (default, active) 

  interfaces: eno16777736 eno33554976   sources:  

  services: dhcpv6-client ftp http mysql ssh   ports: 23/tcp   masquerade: no   forward-ports:    icmp-blocks:    rich rules:   

[[email protected] nova]# 

# firewall-cmd --permanent --add-port=5672/tcp #firewall-cmd –reload 

[[email protected] nova]# firewall-cmd --list-all public (default, active) 

  interfaces: eno16777736 eno33554976   sources:  

  services: dhcpv6-client ftp http mysql ssh   ports: 23/tcp 5672/tcp   masquerade: no   forward-ports:    icmp-blocks:    rich rules:


5.nova-compute   啟動失敗 錯誤提示:Unable to load the virtualization driver


修改設定檔/etc/nova/nova.conf

egrep -c ‘(vmx|svm)‘ /proc/cpuinfo
輸出:0
/etc/nova/nova-compute.conf設定檔
compute_driver=libvirt.LibvirtDriver
[libvirt]
virt_type=qemu

如果在虛擬機器環境下則無法使用virt_type=kvm

compute_dirver 應該替換成

#compute_driver=libvirt.LibvirtDriver

compute_driver=nova.virt.libvirt.LibvirtDriver

接下來會提示防火牆錯誤

錯誤資訊:

"AttributeError: ‘module‘ object has no attribute ‘NoopFirewallDriver‘\n

原因是:設定檔中

firewall_driver=nova.virt.libvirt.firewall.NoopFirewallDrive

替換成

firewall_driver=nova.virt.firewall.NoopFirewallDrive



6.openstack命令無法使用?

yum install python-openstackclient 

7.控制節點執行neutron agent-list出錯

Unable to establish connection to http://controller:9696/v2.0/agents.json




8.時間不同步導致 neutron ageng-list xxx的問題


同步節點間的時間就可以了


9.compute節點報錯

ConnectionRefused: Unable to establish connection to http://controller:35357/v2.0/tokens

原因是控制節點的 防火牆導致的,關閉防火牆即可  systemctl stop firewall.service

10.vnc串連虛擬機器失敗原因

由於在COMPUTE節點的防火牆沒有放開5900+連接埠導致的

















centos 7 安裝openstack kilo in three node

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.