centos7部署openstack(集羣模式),參考官方部署文檔 https://docs.openstack.org/ocata/install-guide-rdo/overview.htmlhtml
部署環境python
兩臺centos7.2.1511虛擬機mysql
這裏再也不描述部署過程,只總結部署過程遇到的問題sql
https://docs.openstack.org/ocata/install-guide-rdo/keystone-install.html 頁面,按下面腳本配置權限後,客戶端仍是沒法訪問數據庫。數據庫
MariaDB [(none)]> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' \ IDENTIFIED BY 'KEYSTONE_DBPASS'; MariaDB [(none)]> GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' \ IDENTIFIED BY 'KEYSTONE_DBPASS';
解決方法:再執行下面的語句。centos
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'ip地址' \ IDENTIFIED BY 'KEYSTONE_DBPASS';
若是上述解決方法不行,可參考 http://blog.csdn.net/tantexian/article/details/44861733 嘗試下。bash
若是想一鍵式單機部署openstack,能夠使用devstack進行部署。ide