Difference between revisions of "OpenStack: Installing Horizon Dashboard"
Jump to navigation
Jump to search
(Created page with "<syntaxhighlight> [root@server2-a ~(keystone_admin)]$ yum -y install -y mod_wsgi httpd mod_ssl openstack-dashboard memcached python-memcached </syntaxhighlight> In '''<code>/etc/openstack-dashboar...") |
|||
| Line 75: | Line 75: | ||
... | ... | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| + | |||
| + | Try pointing a web browser at '''<code>http://server2-a.example.com/dashboard</code>''' | ||
Latest revision as of 09:37, 29 April 2015
[root@server2-a ~(keystone_admin)]$ yum -y install -y mod_wsgi httpd mod_ssl openstack-dashboard memcached python-memcachedIn /etc/openstack-dashboard/local_settings update ALLOWED_HOSTS; modify the OPENSTACK_HOST lines as follows:
ALLOWED_HOSTS = ['*']
OPENSTACK_HOST = "172.25.2.10"Update CACHES section by uncommenting the first block and commenting second block. The LOCATION setting points to the Memcached service, either locally or a remote IP address:
CACHES = {
'default': {
'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION' : '127.0.0.1:11211',
}
}
#CACHES = {
# 'default': {
# 'BACKEND' : 'django.core.cache.backends.locmem.LocMemCache'
# }
#}- Ensure the
_member_role exists:
[root@server2-a ~(keystone_admin)]$ keystone role-list
+----------------------------------+----------+
| id | name |
+----------------------------------+----------+
| 9fe2ff9ee4384b1894a90878d3e92bab | _member_ |
| aa517e1dd8734414bbf35e834a16d952 | admin |
+----------------------------------+----------+[root@server2-a ~(keystone_admin)]$ setsebool -P httpd_can_network_connect on
Full path required for exclude: net:[4026532253].
Full path required for exclude: net:[4026532253].[root@server2-a ~(keystone_admin)]$ systemctl start httpd
[root@server2-a ~(keystone_admin)]$ systemctl enable httpd
ln -s '/usr/lib/systemd/system/httpd.service' '/etc/systemd/system/multi-user.target.wants/httpd.service'[root@server2-a ~(keystone_admin)]$ firewall-cmd --add-service=http --permanent
success
[root@server2-a ~(keystone_admin)]$ firewall-cmd --add-service=https --permanent
success
[root@server2-a ~(keystone_admin)]$ firewall-cmd --add-port=6080/tcp --permanent
success
[root@server2-a ~(keystone_admin)]$ firewall-cmd --reload
success[root@server2-a ~(keystone_admin)]$ openstack-status
== Nova services ==
openstack-nova-api: active
openstack-nova-cert: inactive (disabled on boot)
openstack-nova-compute: active
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-volume: inactive (disabled on boot)
openstack-nova-conductor: active
...
== Support services ==
mysqld: inactive (disabled on boot)
libvirtd: active
...Try pointing a web browser at http://server2-a.example.com/dashboard