本文共 1397 字,大约阅读时间需要 4 分钟。
安装dashboard界面
yum install openstack-dashboardvim /etc/openstack-dashboard/local_settingsOPENSTACK_HOST = "192.168.56.11"
ALLOWED_HOSTS = ['*', ]SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
'default': { 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache','LOCATION': '192.168.56.11:11211',}}OPENSTACK_KEYSTONE_URL = "" % OPENSTACK_HOST
PENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = TrueOPENSTACK_API_VERSIONS = {
"identity": 3,"image": 2,"volume": 2,}OPENSTACK_KEYSTONE_DEFAULT_DOMAIN = "default"
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"OPENSTACK_NEUTRON_NETWORK = { ...'enable_router': False,'enable_quotas': False,'enable_distributed_router': False,'enable_ha_router': False,'enable_lb': False,'enable_firewall': False,'enable_***': False,'enable_fip_topology_check': False,}TIME_ZONE = "Asia/Shanghai"
systemctl restart httpd.service memcached.service
访问地址
允许dashboard修改密码
控制节点192.168.56.11
vim /etc/openstack-dashboard/local_settingsLAUNCH_INSTANCE_LEGACY_ENABLED = True
LAUNCH_INSTANCE_NG_ENABLED = TrueOPENSTACK_HYPERVISOR_FEATURES = {
'can_set_mount_point': True,'can_set_password': True,'requires_keypair': True,'enable_quotas': True}systemctl restart httpd
计算节点192.168.56.11
vim /etc/nova/nova.confinject_password=trueinject_key=truesystemctl restart openstack-nova-compute.service
转载于:https://blog.51cto.com/13491150/2056608