OpenStack T版-Dashboard组件部署

Controller节点操作

安装openstack-dashboard软件

[root@controller ~]# yum install openstack-dashboard

 

编辑配置文件

编辑local_settings

[root@controller ~]# vi /etc/openstack-dashboard/local_settings
#修改以下参数为
118行  OPENSTACK_HOST = "controller"
39行   ALLOWED_HOSTS = ['*']
105行  SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
94-99行取消注释,并改为:
CACHES = {
 'default': {
 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache' ,
 'LOCATION': 'controller:11211',
 },
 }
119行:   OPENSTACK_KEYSTONE_URL = "http://%s:5000/v3" % OPENSTACK_HOST
并往下依次添加(一句一行)
OPENSTACK_API_VERSIONS = {
   "identity": 3,
   "image": 2
   "volume": 3,  
}
OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "Default"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
WEBROOT = "/dashboard"
158行  TIME_ZONE = "Asia/Shanghai"

从130到152行左右修改

OPENSTACK_NEUTRON_NETWORK = {
 'enable_auto_allocated_network': False,
 'enable_distributed_router': False,
 'enable_fip_topology_check': False,
 'enable_ha_router': False,
 'enable_ipv6': True,
 'enable_lb': False,
 'enable_firewall': False,
 'enable_vpn': False,
 # TODO(amotoki): Drop OPENSTACK_NEUTRON_NETWORK completely from here .
 # enable_quotas has the different default value here.
 'enable_quotas': False,
 'enable_rbac_policy': True,
 'enable_router': False,
 
 'default_dns_nameservers': [],
 'supported_provider_types': ['*'],
 'segmentation_id_range': {},
 'extra_provider_types': {},
 'supported_vnic_types': ['*'],
 'physical_networks': [],
 
 }

编辑openstack-dashboard.conf 

[root@controller ~]# vi /etc/httpd/conf.d/openstack-dashboard.conf
#添加一行
WSGIApplicationGroup %(GLOBAL)

 

重启服务

[root@controller ~]# systemctl restart httpd.service mamcached.service

验证服务

浏览器访问controller/dashboard,这边访问的是192.168.1.100/dashboard

账号密码为admin,000000

都为当初编辑~/.bashrc当中的内容

正常显示

 

作者: 红烧悠鸽
本文采用 CC BY-NC-SA 4.0 协议
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇