安装dashboard界面
yum install openstack-dashboard
vim /etc/openstack-dashboard/local_settings

OPENSTACK_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 = "http://%s:5000/v3" % OPENSTACK_HOST
PENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT = True

OPENSTACK_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

访问地址
http://192.168.56.11/dashboard

允许dashboard修改密码

控制节点192.168.56.11
vim /etc/openstack-dashboard/local_settings

LAUNCH_INSTANCE_LEGACY_ENABLED = True
LAUNCH_INSTANCE_NG_ENABLED = True

OPENSTACK_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.conf
inject_password=true
inject_key=true

systemctl restart openstack-nova-compute.service