Friday, October 23, 2015

OpenStack : Install Kilo on Fedora 22 : Install Dashboard

http://docs.openstack.org/kilo/install-guide/install/yum/content/install_dashboard.html

To install the dashboard components
  • Install the packages:
    # yum install openstack-dashboard httpd mod_wsgi memcached python-memcached

To configure the dashboard
  • Edit the /etc/openstack-dashboard/local_settings file and complete the following actions:
    1. Configure the dashboard to use OpenStack services on the controller node:
      Select Text
      1
      OPENSTACK_HOST = "controller"
    2. Allow all hosts to access the dashboard:
      Select Text
      1
      ALLOWED_HOSTS = '*'
    3. Configure the memcached session storage service:
      Select Text
      1
      2
      3
      4
      5
      6
      CACHES = {
      'default': {
      'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
      'LOCATION': '127.0.0.1:11211',
      }
      }
      [Note]Note
      Comment out any other session storage configuration.
    4. Configure user as the default role for users that you create via the dashboard:
      Select Text
      1
      OPENSTACK_KEYSTONE_DEFAULT_ROLE = "user"
    5. Optionally, configure the time zone:
      Select Text
      1
      TIME_ZONE = "TIME_ZONE"
      Replace TIME_ZONE with an appropriate time zone identifier. For more information, see the list of time zones.

To finalize installation
  1. On RHEL and CentOS, configure SELinux to permit the web server to connect to OpenStack services:
    # setsebool -P httpd_can_network_connect on
  2. Due to a packaging bug, the dashboard CSS fails to load properly. Run the following command to resolve this issue:
    # chown -R apache:apache /usr/share/openstack-dashboard/static
    For more information, see the bug report.
  3. Start the web server and session storage service and configure them to start when the system boots:
    # systemctl enable httpd.service memcached.service
    # systemctl start httpd.service memcached.service
     
     # service httpd restart
     
    if any problem when restarting, check :
    # systemctl status httpd.service -l
     
    Access the dashboard using a web browser:
          
          
          http://controller/dashboard 

No comments:

Post a Comment