本文最后更新于218 天前,其中的信息可能已经过时,如有错误请发送邮件到2639131093@qq.com
注意
1.本教程为openstack 搭建平台victoria 版,虚拟机为centos stream 8
2.本教程设计内容非常多,很复杂,但也很有技巧,请注意每一步,我说可以更改的地方可以更改,其余建议和我一样
3.内容板块大体包括:基础环境设置, keystone组建安装,glance组建安装,placement组建安装,nova组建安装,neutron组建安装,dashboard组建安装
4.密码约定:本文所有和数据库及消息队列相关的密码统一设定 rootroot,openstack 组件用户密码统一设定 redhat
5.学习此章节,你需要了解的知识:数据库sql中dcl用户管理的知识,linux基础命令,openstack基础命令
6.官方网址:
OpenStack Docs: Install and configure for Red Hat Enterprise Linux and CentOS
7.环境配置:
环境用到 2台 虚拟机,单网卡,并为其配置 静态 IP 及 DNS
主机名 | ip | 网关 | DNS | cpu/内存 | 磁盘 | 角色 | 备注 |
controller | 192.168.100.128 | 192.168.100.2 | 114.114.114.114 | 4c/6g | 100g | 控制节点 | 开启虚拟化引擎 |
compute | 192.168.100.129 | 192.168.100.2 | 114.114.114.114 | 4c/6g | 100g | 计算节点 | 开启虚拟化引擎 |
8.最后一章啦,解放了!!!
Dashboard 配置(仅控制节点)
安装dashboard包
[root@controller ~(admin)]$ yum install openstack-dashboard -y
上次元数据过期检查:1:50:43 前,执行于 2024年08月28日 星期三 07时04分03秒。
依赖关系解决。
============================================================================================================================================================
软件包 架构 版本 仓库 大小
============================================================================================================================================================
安装:
openstack-dashboard noarch 1:18.6.4-1.el8 centos-openstack-victoria 12 M
升级:
python3-six noarch 1.15.0-2.el8 centos-openstack-victoria 39 k
安装依赖关系:
XStatic-Angular-common noarch 1:1.5.8.0-10.el8 centos-openstack-victoria 460 k
XStatic-Magic-Search-common noarch 0.2.5.1-12.el8 centos-openstack-victoria 14 k
bootswatch-common noarch 3.3.7.0-11.el8 centos-openstack-victoria 623 k
bootswatch-fonts noarch 3.3.7.0-11.el8 centos-openstack-victoria 118 k
fontawesome-fonts noarch 4.7.0-5.el8 appstream 203 k
fontawesome-fonts-web noarch 4.7.0-5.el8 appstream 433 k
mdi-common noarch 1.6.50.2-1.el8 centos-openstack-victoria 48 k
mdi-fonts noarch 1.6.50.2-1.el8 centos-openstack-victoria 551 k
openstack-dashboard-theme noarch 1:18.6.4-1.el8 centos-openstack-victoria 6.7 k
python3-XStatic noarch 1.0.1-19.el8 centos-openstack-victoria 14 k
python3-XStatic-Angular noarch 1:1.5.8.0-10.el8 centos-openstack-victoria 19 k
python3-XStatic-Angular-Bootstrap noarch 2.2.0.0-10.el8 centos-openstack-victoria 14 k
python3-XStatic-Angular-FileUpload noarch 12.0.4.0-14.el8 centos-openstack-victoria 15 k
python3-XStatic-Angular-Gettext noarch 2.3.8.0-1.el8 centos-openstack-victoria 12 k
python3-XStatic-Angular-Schema-Form noarch 0.8.13.0-2.el8 centos-openstack-victoria 13 k
python3-XStatic-Angular-lrdragndrop noarch 1.0.2.2-16.el8 centos-openstack-victoria 14 k
python3-XStatic-Bootstrap-Datepicker noarch 1.3.1.0-16.el8 centos-openstack-victoria 14 k
python3-XStatic-Bootstrap-SCSS noarch 3.3.7.1-10.el8 centos-openstack-victoria 14 k
python3-XStatic-D3 noarch 3.5.17.0-10.el8 centos-openstack-victoria 13 k
python3-XStatic-Font-Awesome noarch 4.7.0.0-10.el8 centos-openstack-victoria 16 k
python3-XStatic-Hogan noarch 2.0.0.2-17.el8 centos-openstack-victoria 14 k
python3-XStatic-JQuery-Migrate noarch 1.2.1.1-17.el8 centos-openstack-victoria 14 k
python3-XStatic-JQuery-TableSorter noarch 2.14.5.1-17.el8 centos-openstack-victoria 14 k
python3-XStatic-JQuery-quicksearch noarch 2.0.3.1-17.el8 centos-openstack-victoria 14 k
python3-XStatic-JSEncrypt noarch 2.3.1.1-9.el8 centos-openstack-victoria 14 k
python3-XStatic-Jasmine noarch 2.4.1.1-9.el8 centos-openstack-victoria 14 k
python3-XStatic-Magic-Search noarch 0.2.5.1-12.el8 centos-openstack-victoria 14 k
python3-XStatic-Rickshaw noarch 1.5.0.0-19.el8 centos-openstack-victoria 14 k
python3-XStatic-Spin noarch 1.2.5.2-18.el8 centos-openstack-victoria 14 k
python3-XStatic-bootswatch noarch 3.3.7.0-11.el8 centos-openstack-victoria 17 k
python3-XStatic-jQuery noarch 1.10.2.1-1.el8 centos-openstack-victoria 116 k
python3-XStatic-jquery-ui noarch 1.12.0.1-9.el8 centos-openstack-victoria 17 k
python3-XStatic-mdi noarch 1.6.50.2-1.el8 centos-openstack-victoria 29 k
python3-XStatic-objectpath noarch 1.2.1.0-2.el8 centos-openstack-victoria 13 k
python3-XStatic-roboto-fontface noarch 0.5.0.0-13.el8 centos-openstack-victoria 15 k
python3-XStatic-smart-table noarch 1.4.13.2-9.el8 centos-openstack-victoria 14 k
python3-XStatic-termjs noarch 0.0.7.0-9.el8 centos-openstack-victoria 14 k
python3-XStatic-tv4 noarch 1.2.7.0-2.el8 centos-openstack-victoria 12 k
python3-bson x86_64 3.7.0-1.module_el8+762+77bd8591 appstream 118 k
python3-django noarch 2.2.16-1.el8 centos-openstack-victoria 4.5 M
python3-django-appconf noarch 1.0.3-1.el8 centos-openstack-victoria 172 k
python3-django-babel noarch 0.6.2-10.el8 centos-openstack-victoria 28 k
python3-django-compressor noarch 2.4-1.el8 centos-openstack-victoria 189 k
python3-django-debreach noarch 2.0.1-1.el8 centos-openstack-victoria 18 k
python3-django-horizon noarch 1:18.6.4-1.el8 centos-openstack-victoria 832 k
python3-django-pyscss noarch 2.0.2-14.el8 centos-openstack-victoria 22 k
python3-lesscpy noarch 0.13.0-12.el8 centos-openstack-victoria 96 k
python3-pint noarch 0.10.1-1.el8 centos-openstack-victoria 330 k
python3-pymongo x86_64 3.7.0-1.module_el8+762+77bd8591 appstream 364 k
python3-rcssmin x86_64 1.0.6-18.el8 centos-openstack-victoria 31 k
python3-rjsmin x86_64 1.1.0-1.el8 centos-openstack-victoria 32 k
python3-scss x86_64 1.3.7-3.el8 centos-openstack-victoria 256 k
python3-semantic_version noarch 2.6.0-5.el8 appstream 30 k
python3-swiftclient noarch 3.10.1-2.el8 centos-openstack-victoria 175 k
python3-versiontools noarch 1.9.1-24.el8 centos-openstack-victoria 192 k
roboto-fontface-common noarch 0.5.0.0-13.el8 centos-openstack-victoria 20 k
roboto-fontface-fonts noarch 0.5.0.0-13.el8 centos-openstack-victoria 4.1 M
web-assets-filesystem noarch 5-10.el8 centos-openstack-victoria 9.1 k
xstatic-angular-bootstrap-common noarch 2.2.0.0-10.el8 centos-openstack-victoria 61 k
xstatic-angular-fileupload-common noarch 12.0.4.0-14.el8 centos-openstack-victoria 153 k
xstatic-angular-gettext-common noarch 2.3.8.0-1.el8 centos-openstack-victoria 16 k
xstatic-angular-lrdragndrop-common noarch 1.0.2.2-16.el8 centos-openstack-victoria 11 k
xstatic-angular-schema-form-common noarch 0.8.13.0-2.el8 centos-openstack-victoria 44 k
xstatic-bootstrap-datepicker-common noarch 1.3.1.0-16.el8 centos-openstack-victoria 42 k
xstatic-bootstrap-scss-common noarch 3.3.7.1-10.el8 centos-openstack-victoria 199 k
xstatic-d3-common noarch 3.5.17.0-10.el8 centos-openstack-victoria 78 k
xstatic-hogan-common noarch 2.0.0.2-17.el8 centos-openstack-victoria 14 k
xstatic-jasmine-common noarch 2.4.1.1-9.el8 centos-openstack-victoria 42 k
xstatic-jquery-migrate-common noarch 1.2.1.1-17.el8 centos-openstack-victoria 17 k
xstatic-jquery-quicksearch-common noarch 2.0.3.1-17.el8 centos-openstack-victoria 13 k
xstatic-jquery-tablesorter-common noarch 2.14.5.1-17.el8 centos-openstack-victoria 26 k
xstatic-jquery-ui-common noarch 1.12.0.1-9.el8 centos-openstack-victoria 622 k
xstatic-jsencrypt-common noarch 2.3.1.1-9.el8 centos-openstack-victoria 39 k
xstatic-objectpath-common noarch 1.2.1.0-2.el8 centos-openstack-victoria 9.4 k
xstatic-rickshaw-common noarch 1.5.0.0-19.el8 centos-openstack-victoria 33 k
xstatic-smart-table-common noarch 1.4.13.2-9.el8 centos-openstack-victoria 19 k
xstatic-spin-common noarch 1.2.5.2-18.el8 centos-openstack-victoria 12 k
xstatic-termjs-common noarch 0.0.7.0-9.el8 centos-openstack-victoria 41 k
xstatic-tv4-common noarch 1.2.7.0-2.el8 centos-openstack-victoria 26 k
安装弱的依赖:
python-django-bash-completion noarch 2.2.16-1.el8 centos-openstack-victoria 15 k
事务概要
============================================================================================================================================================
安装 81 软件包
升级 1 软件包
总下载:28 M
下载软件包:
(1/82): python3-bson-3.7.0-1.module_el8+762+77bd8591.x86_64.rpm 323 kB/s | 118 kB 00:00
(2/82): fontawesome-fonts-4.7.0-5.el8.noarch.rpm 505 kB/s | 203 kB 00:00
(3/82): fontawesome-fonts-web-4.7.0-5.el8.noarch.rpm 783 kB/s | 433 kB 00:00
(4/82): python3-semantic_version-2.6.0-5.el8.noarch.rpm 118 kB/s | 30 kB 00:00
(5/82): python3-pymongo-3.7.0-1.module_el8+762+77bd8591.x86_64.rpm 1.0 MB/s | 364 kB 00:00
(6/82): XStatic-Magic-Search-common-0.2.5.1-12.el8.noarch.rpm 50 kB/s | 14 kB 00:00
(7/82): XStatic-Angular-common-1.5.8.0-10.el8.noarch.rpm 805 kB/s | 460 kB 00:00
(8/82): bootswatch-fonts-3.3.7.0-11.el8.noarch.rpm 427 kB/s | 118 kB 00:00
(9/82): bootswatch-common-3.3.7.0-11.el8.noarch.rpm 1.1 MB/s | 623 kB 00:00
(10/82): mdi-common-1.6.50.2-1.el8.noarch.rpm 251 kB/s | 48 kB 00:00
(11/82): openstack-dashboard-theme-18.6.4-1.el8.noarch.rpm 49 kB/s | 6.7 kB 00:00
(12/82): python-django-bash-completion-2.2.16-1.el8.noarch.rpm 95 kB/s | 15 kB 00:00
(13/82): python3-XStatic-1.0.1-19.el8.noarch.rpm 113 kB/s | 14 kB 00:00
(14/82): mdi-fonts-1.6.50.2-1.el8.noarch.rpm 961 kB/s | 551 kB 00:00
(15/82): python3-XStatic-Angular-1.5.8.0-10.el8.noarch.rpm 163 kB/s | 19 kB 00:00
(16/82): python3-XStatic-Angular-FileUpload-12.0.4.0-14.el8.noarch.rpm 132 kB/s | 15 kB 00:00
(17/82): python3-XStatic-Angular-Bootstrap-2.2.0.0-10.el8.noarch.rpm 70 kB/s | 14 kB 00:00
(18/82): python3-XStatic-Angular-Gettext-2.3.8.0-1.el8.noarch.rpm 121 kB/s | 12 kB 00:00
(19/82): python3-XStatic-Angular-Schema-Form-0.8.13.0-2.el8.noarch.rpm 109 kB/s | 13 kB 00:00
(20/82): python3-XStatic-Angular-lrdragndrop-1.0.2.2-16.el8.noarch.rpm 75 kB/s | 14 kB 00:00
(21/82): python3-XStatic-Bootstrap-Datepicker-1.3.1.0-16.el8.noarch.rpm 60 kB/s | 14 kB 00:00
(22/82): python3-XStatic-Bootstrap-SCSS-3.3.7.1-10.el8.noarch.rpm 148 kB/s | 14 kB 00:00
(23/82): python3-XStatic-Font-Awesome-4.7.0.0-10.el8.noarch.rpm 129 kB/s | 16 kB 00:00
(24/82): python3-XStatic-D3-3.5.17.0-10.el8.noarch.rpm 70 kB/s | 13 kB 00:00
(25/82): python3-XStatic-JQuery-Migrate-1.2.1.1-17.el8.noarch.rpm 143 kB/s | 14 kB 00:00
(26/82): python3-XStatic-Hogan-2.0.0.2-17.el8.noarch.rpm 79 kB/s | 14 kB 00:00
(27/82): python3-XStatic-JQuery-TableSorter-2.14.5.1-17.el8.noarch.rpm 152 kB/s | 14 kB 00:00
(28/82): python3-XStatic-JSEncrypt-2.3.1.1-9.el8.noarch.rpm 101 kB/s | 14 kB 00:00
(29/82): python3-XStatic-JQuery-quicksearch-2.0.3.1-17.el8.noarch.rpm 66 kB/s | 14 kB 00:00
(30/82): python3-XStatic-Jasmine-2.4.1.1-9.el8.noarch.rpm 135 kB/s | 14 kB 00:00
(31/82): python3-XStatic-Magic-Search-0.2.5.1-12.el8.noarch.rpm 131 kB/s | 14 kB 00:00
(32/82): python3-XStatic-Rickshaw-1.5.0.0-19.el8.noarch.rpm 152 kB/s | 14 kB 00:00
(33/82): python3-XStatic-Spin-1.2.5.2-18.el8.noarch.rpm 133 kB/s | 14 kB 00:00
(34/82): python3-XStatic-bootswatch-3.3.7.0-11.el8.noarch.rpm 135 kB/s | 17 kB 00:00
(35/82): python3-XStatic-jquery-ui-1.12.0.1-9.el8.noarch.rpm 141 kB/s | 17 kB 00:00
(36/82): python3-XStatic-jQuery-1.10.2.1-1.el8.noarch.rpm 442 kB/s | 116 kB 00:00
(37/82): python3-XStatic-objectpath-1.2.1.0-2.el8.noarch.rpm 115 kB/s | 13 kB 00:00
(38/82): python3-XStatic-mdi-1.6.50.2-1.el8.noarch.rpm 143 kB/s | 29 kB 00:00
(39/82): python3-XStatic-roboto-fontface-0.5.0.0-13.el8.noarch.rpm 135 kB/s | 15 kB 00:00
(40/82): python3-XStatic-smart-table-1.4.13.2-9.el8.noarch.rpm 113 kB/s | 14 kB 00:00
(41/82): python3-XStatic-termjs-0.0.7.0-9.el8.noarch.rpm 100 kB/s | 14 kB 00:00
(42/82): python3-XStatic-tv4-1.2.7.0-2.el8.noarch.rpm 129 kB/s | 12 kB 00:00
(43/82): python3-django-appconf-1.0.3-1.el8.noarch.rpm 690 kB/s | 172 kB 00:00
(44/82): python3-django-babel-0.6.2-10.el8.noarch.rpm 253 kB/s | 28 kB 00:00
(45/82): python3-django-compressor-2.4-1.el8.noarch.rpm 684 kB/s | 189 kB 00:00
(46/82): python3-django-debreach-2.0.1-1.el8.noarch.rpm 164 kB/s | 18 kB 00:00
(47/82): python3-django-horizon-18.6.4-1.el8.noarch.rpm 1.2 MB/s | 832 kB 00:00
(48/82): python3-django-pyscss-2.0.2-14.el8.noarch.rpm 154 kB/s | 22 kB 00:00
(49/82): python3-lesscpy-0.13.0-12.el8.noarch.rpm 411 kB/s | 96 kB 00:00
(50/82): python3-pint-0.10.1-1.el8.noarch.rpm 911 kB/s | 330 kB 00:00
(51/82): python3-rcssmin-1.0.6-18.el8.x86_64.rpm 237 kB/s | 31 kB 00:00
(52/82): python3-rjsmin-1.1.0-1.el8.x86_64.rpm 179 kB/s | 32 kB 00:00
(53/82): python3-scss-1.3.7-3.el8.x86_64.rpm 978 kB/s | 256 kB 00:00
(54/82): python3-django-2.2.16-1.el8.noarch.rpm 1.5 MB/s | 4.5 MB 00:03
(55/82): python3-swiftclient-3.10.1-2.el8.noarch.rpm 506 kB/s | 175 kB 00:00
(56/82): roboto-fontface-common-0.5.0.0-13.el8.noarch.rpm 137 kB/s | 20 kB 00:00
(57/82): python3-versiontools-1.9.1-24.el8.noarch.rpm 816 kB/s | 192 kB 00:00
(58/82): web-assets-filesystem-5-10.el8.noarch.rpm 43 kB/s | 9.1 kB 00:00
(59/82): xstatic-angular-bootstrap-common-2.2.0.0-10.el8.noarch.rpm 452 kB/s | 61 kB 00:00
(60/82): xstatic-angular-fileupload-common-12.0.4.0-14.el8.noarch.rpm 566 kB/s | 153 kB 00:00
(61/82): xstatic-angular-gettext-common-2.3.8.0-1.el8.noarch.rpm 83 kB/s | 16 kB 00:00
(62/82): xstatic-angular-lrdragndrop-common-1.0.2.2-16.el8.noarch.rpm 99 kB/s | 11 kB 00:00
(63/82): xstatic-angular-schema-form-common-0.8.13.0-2.el8.noarch.rpm 370 kB/s | 44 kB 00:00
(64/82): xstatic-bootstrap-datepicker-common-1.3.1.0-16.el8.noarch.rpm 350 kB/s | 42 kB 00:00
(65/82): xstatic-bootstrap-scss-common-3.3.7.1-10.el8.noarch.rpm 747 kB/s | 199 kB 00:00
(66/82): xstatic-d3-common-3.5.17.0-10.el8.noarch.rpm 513 kB/s | 78 kB 00:00
(67/82): xstatic-hogan-common-2.0.0.2-17.el8.noarch.rpm 102 kB/s | 14 kB 00:00
(68/82): xstatic-jasmine-common-2.4.1.1-9.el8.noarch.rpm 366 kB/s | 42 kB 00:00
(69/82): xstatic-jquery-migrate-common-1.2.1.1-17.el8.noarch.rpm 162 kB/s | 17 kB 00:00
(70/82): xstatic-jquery-quicksearch-common-2.0.3.1-17.el8.noarch.rpm 95 kB/s | 13 kB 00:00
(71/82): xstatic-jquery-tablesorter-common-2.14.5.1-17.el8.noarch.rpm 221 kB/s | 26 kB 00:00
(72/82): openstack-dashboard-18.6.4-1.el8.noarch.rpm 1.5 MB/s | 12 MB 00:08
(73/82): xstatic-jsencrypt-common-2.3.1.1-9.el8.noarch.rpm 349 kB/s | 39 kB 00:00
(74/82): xstatic-jquery-ui-common-1.12.0.1-9.el8.noarch.rpm 1.2 MB/s | 622 kB 00:00
(75/82): xstatic-objectpath-common-1.2.1.0-2.el8.noarch.rpm 94 kB/s | 9.4 kB 00:00
(76/82): xstatic-rickshaw-common-1.5.0.0-19.el8.noarch.rpm 299 kB/s | 33 kB 00:00
(77/82): xstatic-smart-table-common-1.4.13.2-9.el8.noarch.rpm 128 kB/s | 19 kB 00:00
(78/82): xstatic-spin-common-1.2.5.2-18.el8.noarch.rpm 98 kB/s | 12 kB 00:00
(79/82): roboto-fontface-fonts-0.5.0.0-13.el8.noarch.rpm 1.4 MB/s | 4.1 MB 00:03
(80/82): xstatic-termjs-common-0.0.7.0-9.el8.noarch.rpm 348 kB/s | 41 kB 00:00
(81/82): xstatic-tv4-common-1.2.7.0-2.el8.noarch.rpm 162 kB/s | 26 kB 00:00
(82/82): python3-six-1.15.0-2.el8.noarch.rpm 220 kB/s | 39 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------
总计 2.8 MB/s | 28 MB 00:10
运行事务检查
事务检查成功。
运行事务测试
事务测试成功。
运行事务
准备中 : 1/1
安装 : python3-XStatic-1.0.1-19.el8.noarch 1/83
安装 : web-assets-filesystem-5-10.el8.noarch 2/83
升级 : python3-six-1.15.0-2.el8.noarch 3/83
安装 : python3-scss-1.3.7-3.el8.x86_64 4/83
安装 : python3-XStatic-jQuery-1.10.2.1-1.el8.noarch 5/83
安装 : fontawesome-fonts-4.7.0-5.el8.noarch 6/83
安装 : fontawesome-fonts-web-4.7.0-5.el8.noarch 7/83
安装 : python3-XStatic-Font-Awesome-4.7.0.0-10.el8.noarch 8/83
安装 : python3-lesscpy-0.13.0-12.el8.noarch 9/83
安装 : python3-swiftclient-3.10.1-2.el8.noarch 10/83
安装 : XStatic-Angular-common-1:1.5.8.0-10.el8.noarch 11/83
安装 : python3-XStatic-Angular-1:1.5.8.0-10.el8.noarch 12/83
安装 : XStatic-Magic-Search-common-0.2.5.1-12.el8.noarch 13/83
安装 : python3-XStatic-Magic-Search-0.2.5.1-12.el8.noarch 14/83
安装 : bootswatch-common-3.3.7.0-11.el8.noarch 15/83
安装 : mdi-common-1.6.50.2-1.el8.noarch 16/83
安装 : roboto-fontface-common-0.5.0.0-13.el8.noarch 17/83
安装 : xstatic-angular-bootstrap-common-2.2.0.0-10.el8.noarch 18/83
安装 : python3-XStatic-Angular-Bootstrap-2.2.0.0-10.el8.noarch 19/83
安装 : xstatic-angular-fileupload-common-12.0.4.0-14.el8.noarch 20/83
安装 : python3-XStatic-Angular-FileUpload-12.0.4.0-14.el8.noarch 21/83
安装 : xstatic-angular-gettext-common-2.3.8.0-1.el8.noarch 22/83
安装 : python3-XStatic-Angular-Gettext-2.3.8.0-1.el8.noarch 23/83
安装 : xstatic-angular-lrdragndrop-common-1.0.2.2-16.el8.noarch 24/83
安装 : python3-XStatic-Angular-lrdragndrop-1.0.2.2-16.el8.noarch 25/83
安装 : xstatic-angular-schema-form-common-0.8.13.0-2.el8.noarch 26/83
安装 : python3-XStatic-Angular-Schema-Form-0.8.13.0-2.el8.noarch 27/83
安装 : xstatic-bootstrap-datepicker-common-1.3.1.0-16.el8.noarch 28/83
安装 : python3-XStatic-Bootstrap-Datepicker-1.3.1.0-16.el8.noarch 29/83
安装 : xstatic-bootstrap-scss-common-3.3.7.1-10.el8.noarch 30/83
安装 : python3-XStatic-Bootstrap-SCSS-3.3.7.1-10.el8.noarch 31/83
安装 : xstatic-d3-common-3.5.17.0-10.el8.noarch 32/83
安装 : python3-XStatic-D3-3.5.17.0-10.el8.noarch 33/83
安装 : xstatic-hogan-common-2.0.0.2-17.el8.noarch 34/83
安装 : python3-XStatic-Hogan-2.0.0.2-17.el8.noarch 35/83
安装 : xstatic-jasmine-common-2.4.1.1-9.el8.noarch 36/83
安装 : python3-XStatic-Jasmine-2.4.1.1-9.el8.noarch 37/83
安装 : xstatic-jquery-migrate-common-1.2.1.1-17.el8.noarch 38/83
安装 : python3-XStatic-JQuery-Migrate-1.2.1.1-17.el8.noarch 39/83
安装 : xstatic-jquery-quicksearch-common-2.0.3.1-17.el8.noarch 40/83
安装 : python3-XStatic-JQuery-quicksearch-2.0.3.1-17.el8.noarch 41/83
安装 : xstatic-jquery-tablesorter-common-2.14.5.1-17.el8.noarch 42/83
安装 : python3-XStatic-JQuery-TableSorter-2.14.5.1-17.el8.noarch 43/83
安装 : xstatic-jquery-ui-common-1.12.0.1-9.el8.noarch 44/83
安装 : python3-XStatic-jquery-ui-1.12.0.1-9.el8.noarch 45/83
安装 : xstatic-jsencrypt-common-2.3.1.1-9.el8.noarch 46/83
安装 : python3-XStatic-JSEncrypt-2.3.1.1-9.el8.noarch 47/83
安装 : xstatic-objectpath-common-1.2.1.0-2.el8.noarch 48/83
安装 : python3-XStatic-objectpath-1.2.1.0-2.el8.noarch 49/83
安装 : xstatic-rickshaw-common-1.5.0.0-19.el8.noarch 50/83
安装 : python3-XStatic-Rickshaw-1.5.0.0-19.el8.noarch 51/83
安装 : xstatic-smart-table-common-1.4.13.2-9.el8.noarch 52/83
安装 : python3-XStatic-smart-table-1.4.13.2-9.el8.noarch 53/83
安装 : xstatic-spin-common-1.2.5.2-18.el8.noarch 54/83
安装 : python3-XStatic-Spin-1.2.5.2-18.el8.noarch 55/83
安装 : xstatic-termjs-common-0.0.7.0-9.el8.noarch 56/83
安装 : python3-XStatic-termjs-0.0.7.0-9.el8.noarch 57/83
安装 : xstatic-tv4-common-1.2.7.0-2.el8.noarch 58/83
安装 : python3-XStatic-tv4-1.2.7.0-2.el8.noarch 59/83
安装 : roboto-fontface-fonts-0.5.0.0-13.el8.noarch 60/83
安装 : python3-XStatic-roboto-fontface-0.5.0.0-13.el8.noarch 61/83
安装 : python3-versiontools-1.9.1-24.el8.noarch 62/83
安装 : python3-rjsmin-1.1.0-1.el8.x86_64 63/83
安装 : python3-rcssmin-1.0.6-18.el8.x86_64 64/83
安装 : python3-pint-0.10.1-1.el8.noarch 65/83
安装 : python-django-bash-completion-2.2.16-1.el8.noarch 66/83
安装 : python3-django-2.2.16-1.el8.noarch 67/83
安装 : python3-django-appconf-1.0.3-1.el8.noarch 68/83
安装 : python3-django-compressor-2.4-1.el8.noarch 69/83
安装 : python3-django-babel-0.6.2-10.el8.noarch 70/83
安装 : python3-django-debreach-2.0.1-1.el8.noarch 71/83
安装 : python3-django-horizon-1:18.6.4-1.el8.noarch 72/83
安装 : python3-django-pyscss-2.0.2-14.el8.noarch 73/83
安装 : mdi-fonts-1.6.50.2-1.el8.noarch 74/83
安装 : python3-XStatic-mdi-1.6.50.2-1.el8.noarch 75/83
安装 : bootswatch-fonts-3.3.7.0-11.el8.noarch 76/83
安装 : python3-XStatic-bootswatch-3.3.7.0-11.el8.noarch 77/83
安装 : python3-semantic_version-2.6.0-5.el8.noarch 78/83
安装 : python3-bson-3.7.0-1.module_el8+762+77bd8591.x86_64 79/83
安装 : python3-pymongo-3.7.0-1.module_el8+762+77bd8591.x86_64 80/83
安装 : openstack-dashboard-theme-1:18.6.4-1.el8.noarch 81/83
安装 : openstack-dashboard-1:18.6.4-1.el8.noarch 82/83
运行脚本: openstack-dashboard-1:18.6.4-1.el8.noarch 82/83
清理 : python3-six-1.11.0-8.el8.noarch 83/83
运行脚本: python3-six-1.11.0-8.el8.noarch 83/83
验证 : fontawesome-fonts-4.7.0-5.el8.noarch 1/83
验证 : fontawesome-fonts-web-4.7.0-5.el8.noarch 2/83
验证 : python3-bson-3.7.0-1.module_el8+762+77bd8591.x86_64 3/83
验证 : python3-pymongo-3.7.0-1.module_el8+762+77bd8591.x86_64 4/83
验证 : python3-semantic_version-2.6.0-5.el8.noarch 5/83
验证 : XStatic-Angular-common-1:1.5.8.0-10.el8.noarch 6/83
验证 : XStatic-Magic-Search-common-0.2.5.1-12.el8.noarch 7/83
验证 : bootswatch-common-3.3.7.0-11.el8.noarch 8/83
验证 : bootswatch-fonts-3.3.7.0-11.el8.noarch 9/83
验证 : mdi-common-1.6.50.2-1.el8.noarch 10/83
验证 : mdi-fonts-1.6.50.2-1.el8.noarch 11/83
验证 : openstack-dashboard-1:18.6.4-1.el8.noarch 12/83
验证 : openstack-dashboard-theme-1:18.6.4-1.el8.noarch 13/83
验证 : python-django-bash-completion-2.2.16-1.el8.noarch 14/83
验证 : python3-XStatic-1.0.1-19.el8.noarch 15/83
验证 : python3-XStatic-Angular-1:1.5.8.0-10.el8.noarch 16/83
验证 : python3-XStatic-Angular-Bootstrap-2.2.0.0-10.el8.noarch 17/83
验证 : python3-XStatic-Angular-FileUpload-12.0.4.0-14.el8.noarch 18/83
验证 : python3-XStatic-Angular-Gettext-2.3.8.0-1.el8.noarch 19/83
验证 : python3-XStatic-Angular-Schema-Form-0.8.13.0-2.el8.noarch 20/83
验证 : python3-XStatic-Angular-lrdragndrop-1.0.2.2-16.el8.noarch 21/83
验证 : python3-XStatic-Bootstrap-Datepicker-1.3.1.0-16.el8.noarch 22/83
验证 : python3-XStatic-Bootstrap-SCSS-3.3.7.1-10.el8.noarch 23/83
验证 : python3-XStatic-D3-3.5.17.0-10.el8.noarch 24/83
验证 : python3-XStatic-Font-Awesome-4.7.0.0-10.el8.noarch 25/83
验证 : python3-XStatic-Hogan-2.0.0.2-17.el8.noarch 26/83
验证 : python3-XStatic-JQuery-Migrate-1.2.1.1-17.el8.noarch 27/83
验证 : python3-XStatic-JQuery-TableSorter-2.14.5.1-17.el8.noarch 28/83
验证 : python3-XStatic-JQuery-quicksearch-2.0.3.1-17.el8.noarch 29/83
验证 : python3-XStatic-JSEncrypt-2.3.1.1-9.el8.noarch 30/83
验证 : python3-XStatic-Jasmine-2.4.1.1-9.el8.noarch 31/83
验证 : python3-XStatic-Magic-Search-0.2.5.1-12.el8.noarch 32/83
验证 : python3-XStatic-Rickshaw-1.5.0.0-19.el8.noarch 33/83
验证 : python3-XStatic-Spin-1.2.5.2-18.el8.noarch 34/83
验证 : python3-XStatic-bootswatch-3.3.7.0-11.el8.noarch 35/83
验证 : python3-XStatic-jQuery-1.10.2.1-1.el8.noarch 36/83
验证 : python3-XStatic-jquery-ui-1.12.0.1-9.el8.noarch 37/83
验证 : python3-XStatic-mdi-1.6.50.2-1.el8.noarch 38/83
验证 : python3-XStatic-objectpath-1.2.1.0-2.el8.noarch 39/83
验证 : python3-XStatic-roboto-fontface-0.5.0.0-13.el8.noarch 40/83
验证 : python3-XStatic-smart-table-1.4.13.2-9.el8.noarch 41/83
验证 : python3-XStatic-termjs-0.0.7.0-9.el8.noarch 42/83
验证 : python3-XStatic-tv4-1.2.7.0-2.el8.noarch 43/83
验证 : python3-django-2.2.16-1.el8.noarch 44/83
验证 : python3-django-appconf-1.0.3-1.el8.noarch 45/83
验证 : python3-django-babel-0.6.2-10.el8.noarch 46/83
验证 : python3-django-compressor-2.4-1.el8.noarch 47/83
验证 : python3-django-debreach-2.0.1-1.el8.noarch 48/83
验证 : python3-django-horizon-1:18.6.4-1.el8.noarch 49/83
验证 : python3-django-pyscss-2.0.2-14.el8.noarch 50/83
验证 : python3-lesscpy-0.13.0-12.el8.noarch 51/83
验证 : python3-pint-0.10.1-1.el8.noarch 52/83
验证 : python3-rcssmin-1.0.6-18.el8.x86_64 53/83
验证 : python3-rjsmin-1.1.0-1.el8.x86_64 54/83
验证 : python3-scss-1.3.7-3.el8.x86_64 55/83
验证 : python3-swiftclient-3.10.1-2.el8.noarch 56/83
验证 : python3-versiontools-1.9.1-24.el8.noarch 57/83
验证 : roboto-fontface-common-0.5.0.0-13.el8.noarch 58/83
验证 : roboto-fontface-fonts-0.5.0.0-13.el8.noarch 59/83
验证 : web-assets-filesystem-5-10.el8.noarch 60/83
验证 : xstatic-angular-bootstrap-common-2.2.0.0-10.el8.noarch 61/83
验证 : xstatic-angular-fileupload-common-12.0.4.0-14.el8.noarch 62/83
验证 : xstatic-angular-gettext-common-2.3.8.0-1.el8.noarch 63/83
验证 : xstatic-angular-lrdragndrop-common-1.0.2.2-16.el8.noarch 64/83
验证 : xstatic-angular-schema-form-common-0.8.13.0-2.el8.noarch 65/83
验证 : xstatic-bootstrap-datepicker-common-1.3.1.0-16.el8.noarch 66/83
验证 : xstatic-bootstrap-scss-common-3.3.7.1-10.el8.noarch 67/83
验证 : xstatic-d3-common-3.5.17.0-10.el8.noarch 68/83
验证 : xstatic-hogan-common-2.0.0.2-17.el8.noarch 69/83
验证 : xstatic-jasmine-common-2.4.1.1-9.el8.noarch 70/83
验证 : xstatic-jquery-migrate-common-1.2.1.1-17.el8.noarch 71/83
验证 : xstatic-jquery-quicksearch-common-2.0.3.1-17.el8.noarch 72/83
验证 : xstatic-jquery-tablesorter-common-2.14.5.1-17.el8.noarch 73/83
验证 : xstatic-jquery-ui-common-1.12.0.1-9.el8.noarch 74/83
验证 : xstatic-jsencrypt-common-2.3.1.1-9.el8.noarch 75/83
验证 : xstatic-objectpath-common-1.2.1.0-2.el8.noarch 76/83
验证 : xstatic-rickshaw-common-1.5.0.0-19.el8.noarch 77/83
验证 : xstatic-smart-table-common-1.4.13.2-9.el8.noarch 78/83
验证 : xstatic-spin-common-1.2.5.2-18.el8.noarch 79/83
验证 : xstatic-termjs-common-0.0.7.0-9.el8.noarch 80/83
验证 : xstatic-tv4-common-1.2.7.0-2.el8.noarch 81/83
验证 : python3-six-1.15.0-2.el8.noarch 82/83
验证 : python3-six-1.11.0-8.el8.noarch 83/83
已升级:
python3-six-1.15.0-2.el8.noarch
已安装:
XStatic-Angular-common-1:1.5.8.0-10.el8.noarch XStatic-Magic-Search-common-0.2.5.1-12.el8.noarch
bootswatch-common-3.3.7.0-11.el8.noarch bootswatch-fonts-3.3.7.0-11.el8.noarch
fontawesome-fonts-4.7.0-5.el8.noarch fontawesome-fonts-web-4.7.0-5.el8.noarch
mdi-common-1.6.50.2-1.el8.noarch mdi-fonts-1.6.50.2-1.el8.noarch
openstack-dashboard-1:18.6.4-1.el8.noarch openstack-dashboard-theme-1:18.6.4-1.el8.noarch
python-django-bash-completion-2.2.16-1.el8.noarch python3-XStatic-1.0.1-19.el8.noarch
python3-XStatic-Angular-1:1.5.8.0-10.el8.noarch python3-XStatic-Angular-Bootstrap-2.2.0.0-10.el8.noarch
python3-XStatic-Angular-FileUpload-12.0.4.0-14.el8.noarch python3-XStatic-Angular-Gettext-2.3.8.0-1.el8.noarch
python3-XStatic-Angular-Schema-Form-0.8.13.0-2.el8.noarch python3-XStatic-Angular-lrdragndrop-1.0.2.2-16.el8.noarch
python3-XStatic-Bootstrap-Datepicker-1.3.1.0-16.el8.noarch python3-XStatic-Bootstrap-SCSS-3.3.7.1-10.el8.noarch
python3-XStatic-D3-3.5.17.0-10.el8.noarch python3-XStatic-Font-Awesome-4.7.0.0-10.el8.noarch
python3-XStatic-Hogan-2.0.0.2-17.el8.noarch python3-XStatic-JQuery-Migrate-1.2.1.1-17.el8.noarch
python3-XStatic-JQuery-TableSorter-2.14.5.1-17.el8.noarch python3-XStatic-JQuery-quicksearch-2.0.3.1-17.el8.noarch
python3-XStatic-JSEncrypt-2.3.1.1-9.el8.noarch python3-XStatic-Jasmine-2.4.1.1-9.el8.noarch
python3-XStatic-Magic-Search-0.2.5.1-12.el8.noarch python3-XStatic-Rickshaw-1.5.0.0-19.el8.noarch
python3-XStatic-Spin-1.2.5.2-18.el8.noarch python3-XStatic-bootswatch-3.3.7.0-11.el8.noarch
python3-XStatic-jQuery-1.10.2.1-1.el8.noarch python3-XStatic-jquery-ui-1.12.0.1-9.el8.noarch
python3-XStatic-mdi-1.6.50.2-1.el8.noarch python3-XStatic-objectpath-1.2.1.0-2.el8.noarch
python3-XStatic-roboto-fontface-0.5.0.0-13.el8.noarch python3-XStatic-smart-table-1.4.13.2-9.el8.noarch
python3-XStatic-termjs-0.0.7.0-9.el8.noarch python3-XStatic-tv4-1.2.7.0-2.el8.noarch
python3-bson-3.7.0-1.module_el8+762+77bd8591.x86_64 python3-django-2.2.16-1.el8.noarch
python3-django-appconf-1.0.3-1.el8.noarch python3-django-babel-0.6.2-10.el8.noarch
python3-django-compressor-2.4-1.el8.noarch python3-django-debreach-2.0.1-1.el8.noarch
python3-django-horizon-1:18.6.4-1.el8.noarch python3-django-pyscss-2.0.2-14.el8.noarch
python3-lesscpy-0.13.0-12.el8.noarch python3-pint-0.10.1-1.el8.noarch
python3-pymongo-3.7.0-1.module_el8+762+77bd8591.x86_64 python3-rcssmin-1.0.6-18.el8.x86_64
python3-rjsmin-1.1.0-1.el8.x86_64 python3-scss-1.3.7-3.el8.x86_64
python3-semantic_version-2.6.0-5.el8.noarch python3-swiftclient-3.10.1-2.el8.noarch
python3-versiontools-1.9.1-24.el8.noarch roboto-fontface-common-0.5.0.0-13.el8.noarch
roboto-fontface-fonts-0.5.0.0-13.el8.noarch web-assets-filesystem-5-10.el8.noarch
xstatic-angular-bootstrap-common-2.2.0.0-10.el8.noarch xstatic-angular-fileupload-common-12.0.4.0-14.el8.noarch
xstatic-angular-gettext-common-2.3.8.0-1.el8.noarch xstatic-angular-lrdragndrop-common-1.0.2.2-16.el8.noarch
xstatic-angular-schema-form-common-0.8.13.0-2.el8.noarch xstatic-bootstrap-datepicker-common-1.3.1.0-16.el8.noarch
xstatic-bootstrap-scss-common-3.3.7.1-10.el8.noarch xstatic-d3-common-3.5.17.0-10.el8.noarch
xstatic-hogan-common-2.0.0.2-17.el8.noarch xstatic-jasmine-common-2.4.1.1-9.el8.noarch
xstatic-jquery-migrate-common-1.2.1.1-17.el8.noarch xstatic-jquery-quicksearch-common-2.0.3.1-17.el8.noarch
xstatic-jquery-tablesorter-common-2.14.5.1-17.el8.noarch xstatic-jquery-ui-common-1.12.0.1-9.el8.noarch
xstatic-jsencrypt-common-2.3.1.1-9.el8.noarch xstatic-objectpath-common-1.2.1.0-2.el8.noarch
xstatic-rickshaw-common-1.5.0.0-19.el8.noarch xstatic-smart-table-common-1.4.13.2-9.el8.noarch
xstatic-spin-common-1.2.5.2-18.el8.noarch xstatic-termjs-common-0.0.7.0-9.el8.noarch
xstatic-tv4-common-1.2.7.0-2.el8.noarch
完毕!
编辑 local_settings 配置文件
[root@controller ~(admin)]$ vim /etc/openstack-dashboard/local_settings
## 允许所有主机访问
ALLOWED_HOSTS = ['*'] ##40左右
## 配置缓存
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'controller:11211',
},
}
SESSION_ENGINE = 'django.contrib.sessions.backends.cache' ##105左右
## 在控制节点上启用仪表盘服务
OPENSTACK_HOST = 'controller'
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST ##120左右
## 配置时区
TIME_ZONE = 'Asia/Shanghai' ##125左右
##是否启用多域
OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True
OPENSTACK_API_VERSIONS = {
"identity": 3,
"image": 2, ##需要自己添加,没有
"volume": 3,
}
## 配置默认域
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = 'Default' ##没有,自己添加
## 配置默认角色
OPENSTACK_KEYSTONE_DEFAULT_ROLE = 'member' ##也没用嘞,自己添加
## 启用三层网络支持
OPENSTACK_NEUTRON_NETWORK = {
'enable_router': True,
'enable_quotas': True, ##自己添加,没有
'enable_distributed_router': True,
'enable_ha_router': True,
'enable_lb': True,
'enable_firewall': True,
'enable_vpn': True,
'enable_fip_topology_check': True,
}
编辑 openstack-dashboard 配置文件
[root@controller ~(admin)]$ vim /etc/httpd/conf.d/openstack-dashboard.conf
第四行添加
WSGIApplicationGroup %{GLOBAL}
##生成配置及链接文件
[root@controller ~(admin)]$ cd /usr/share/openstack-dashboard
[root@controller openstack-dashboard(admin)]$ python3 manage.py make_web_conf --apache > /etc/httpd/conf.d/openstack-dashboard.conf
/usr/lib64/python3.6/site-packages/scss/namespace.py:172: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
argspec = inspect.getargspec(function)
[root@controller openstack-dashboard(admin)]$ ln -s /etc/openstack-dashboard /usr/share/openstack-dashboard/openstack_dashboard/conf
编辑 local_settings 配置文件
[root@controller openstack-dashboard(admin)]$ vim /etc/openstack-dashboard/local_settings
##里面添加内容,找个空地方吧
WEBROOT = '/dashboard/'
编辑 openstack-dashboard 配置文件
##原来的注释掉
#WSGIScriptAlias / /usr/share/openstack-dashboard/openstack_dashboard/wsgi.py #大约19行
WSGIScriptAlias /dashboard /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi
#Alias /static /usr/share/openstack-dashboard/static ##大约28
Alias /dashboard/static /usr/share/openstack-dashboard/static
重启服务并测试
浏览器输入http://192.168.100.128/dashboard ,即http://你的控制节点ip/dashboard,正确配置下域会自动填充,若没有,则配置错误
默认最初账号admin,密码redhat,具体请看你的环境变量值
所以我的账号为admin,密码为rootroot