The OpenStack Dashboard provides a full feature web interface for interacting with instances, images, volumes and networks within an OpenStack deployment.

Overview

The OpenStack Dashboard provides a Django based web interface for use by both
administrators and users of an OpenStack Cloud.

It allows you to manage Nova, Glance, Cinder and Neutron resources within the
cloud.

Usage

The OpenStack Dashboard is deployed and related to keystone:

juju deploy openstack-dashboard
juju add-unit openstack-dashboard keystone

The dashboard will use keystone for user authentication and authorization and
to interact with the catalog of services within the cloud.

The dashboard is accessible on:

http(s)://service_unit_address/horizon

At a minimum, the cloud must provide Glance and Nova services.

SSL configuration

To fully secure your dashboard services, you can provide a SSL key and
certificate for installation and configuration. These are provided as
base64 encoded configuration options::

juju set openstack-dashboard ssl_key="$(base64 my.key)" \
    ssl_cert="$(base64 my.cert)"

The service will be reconfigured to use the supplied information.

High Availability

The OpenStack Dashboard charm supports HA in-conjunction with the hacluster
charm:

juju deploy hacluster dashboard-hacluster
juju set openstack-dashboard vip="192.168.1.200"
juju add-relation openstack-dashboard dashboard-hacluster
juju add-unit -n 2 openstack-dashboard

After addition of the extra 2 units completes, the dashboard will be
accessible on 192.168.1.200 with full load-balancing across all three units.

Please refer to the charm configuration for full details on all HA config
options.

Use with a Load Balancing Proxy

Instead of deploying with the hacluster charm for load balancing, its possible
to also deploy the dashboard with load balancing proxy such as HAProxy:

juju deploy haproxy
juju add-relation haproxy openstack-dashboard
juju add-unit -n 2 openstack-dashboard

This option potentially provides better scale-out than using the charm in
conjunction with the hacluster charm.

Deploying from source

The minimum openstack-origin-git config required to deploy from source is:

openstack-origin-git: include-file://horizon-juno.yaml

horizon-juno.yaml
    repositories:
    - {name: requirements,
       repository: 'git://github.com/openstack/requirements',
       branch: stable/juno}
    - {name: horizon,
       repository: 'git://github.com/openstack/horizon',
       branch: stable/juno}

Note that there are only two 'name' values the charm knows about: 'requirements'
and 'horizon'. These repositories must correspond to these 'name' values.
Additionally, the requirements repository must be specified first and the
horizon repository must be specified last. All other repostories are installed
in the order in which they are specified.

The following is a full list of current tip repos (may not be up-to-date):

openstack-origin-git: include-file://horizon-master.yaml

horizon-master.yaml
    repositories:
    - {name: requirements,
       repository: 'git://github.com/openstack/requirements',
       branch: master}
    - {name: oslo-concurrency,
       repository: 'git://github.com/openstack/oslo.concurrency',
       branch: master}
    - {name: oslo-config,
       repository: 'git://github.com/openstack/oslo.config',
       branch: master}
    - {name: oslo-i18n,
       repository: 'git://github.com/openstack/oslo.i18n',
       branch: master}
    - {name: oslo-serialization,
       repository: 'git://github.com/openstack/oslo.serialization',
       branch: master}
    - {name: oslo-utils,
       repository: 'git://github.com/openstack/oslo.utils',
       branch: master}
    - {name: pbr,
       repository: 'git://github.com/openstack-dev/pbr',
       branch: master}
    - {name: python-ceilometerclient,
       repository: 'git://github.com/openstack/python-ceilometerclient',
       branch: master}
    - {name: python-cinderclient,
       repository: 'git://github.com/openstack/python-cinderclient',
       branch: master}
    - {name: python-glanceclient,
       repository: 'git://github.com/openstack/python-glanceclient',
       branch: master}
    - {name: python-heatclient,
       repository: 'git://github.com/openstack/python-heatclient',
       branch: master}
    - {name: python-keystoneclient,
       repository: 'git://github.com/openstack/python-keystoneclient',
       branch: master}
    - {name: python-neutronclient,
       repository: 'git://github.com/openstack/python-neutronclient',
       branch: master}
    - {name: python-novaclient,
       repository: 'git://github.com/openstack/python-novaclient',
       branch: master}
    - {name: python-saharaclient,
       repository: 'git://github.com/openstack/python-saharaclient',
       branch: master}
    - {name: python-swiftclient,
       repository: 'git://github.com/openstack/python-swiftclient',
       branch: master}
    - {name: python-troveclient,
       repository: 'git://github.com/openstack/python-troveclient',
       branch: master}
    - {name: xstatic-angular,
       repository: 'git://github.com/stackforge/xstatic-angular',
       branch: master}
    - {name: xstatic-angular-animate,
       repository: 'git://github.com/stackforge/xstatic-angular-animate',
       branch: master}
    - {name: xstatic-angular-bootstrap,
       repository: 'git://github.com/stackforge/xstatic-angular-bootstrap',
       branch: master}
    - {name: xstatic-angular-cookies,
       repository: 'git://github.com/stackforge/xstatic-angular-cookies',
       branch: master}
    - {name: xstatic-angular-fileupload,
       repository: 'git://github.com/stackforge/xstatic-angular-fileupload',
       branch: master}
    - {name: xstatic-angular-lrdragndrop,
       repository: 'git://github.com/stackforge/xstatic-angular-lrdragndrop',
       branch: master}
    - {name: xstatic-angular-mock,
       repository: 'git://github.com/stackforge/xstatic-angular-mock',
       branch: master}
    - {name: xstatic-angular-sanitize,
       repository: 'git://github.com/stackforge/xstatic-angular-sanitize',
       branch: master}
    - {name: xstatic-angular-smart-table,
       repository: 'git://github.com/stackforge/xstatic-angular-smart-table',
       branch: master}
    - {name: xstatic-bootstrap-datepicker,
       repository: 'git://github.com/stackforge/xstatic-bootstrap-datepicker',
       branch: master}
    - {name: xstatic-bootstrap-scss,
       repository: 'git://github.com/stackforge/xstatic-bootstrap-scss',
       branch: master}
    - {name: xstatic-d3,
       repository: 'git://github.com/stackforge/xstatic-d3',
       branch: master}
    - {name: xstatic-font-awesome,
       repository: 'git://github.com/stackforge/xstatic-font-awesome',
       branch: master}
    - {name: xstatic-hogan,
       repository: 'git://github.com/stackforge/xstatic-hogan',
       branch: master}
    - {name: xstatic-jasmine,
       repository: 'git://github.com/stackforge/xstatic-jasmine',
       branch: master}
    - {name: xstatic-jquery-migrate,
       repository: 'git://github.com/stackforge/xstatic-jquery-migrate',
       branch: master}
    - {name: xstatic-jquery.bootstrap.wizard,
       repository: 'git://github.com/stackforge/xstatic-jquery.bootstrap.wizard',
       branch: master}
    - {name: xstatic-jquery.quicksearch,
       repository: 'git://github.com/stackforge/xstatic-jquery.quicksearch',
       branch: master}
    - {name: xstatic-jquery.tablesorter,
       repository: 'git://github.com/stackforge/xstatic-jquery.tablesorter',
       branch: master}
    - {name: xstatic-jsencrypt,
       repository: 'git://github.com/stackforge/xstatic-jsencrypt',
       branch: master}
    - {name: xstatic-magic-search,
       repository: 'git://github.com/stackforge/xstatic-magic-search',
       branch: master}
    - {name: xstatic-qunit,
       repository: 'git://github.com/stackforge/xstatic-qunit',
       branch: master}
    - {name: xstatic-rickshaw,
       repository: 'git://github.com/stackforge/xstatic-rickshaw',
       branch: master}
    - {name: xstatic-spin,
       repository: 'git://github.com/stackforge/xstatic-spin',
       branch: master}
    - {name: horizon,
       repository: 'git://github.com/openstack/horizon',
       branch: master}

Configuration

profile
(string)
                            Default profile for the dashboard. Eg. cisco.
                        
vip_iface
(string)
                            Default network interface to use for HA vip when it cannot be
automatically determined.

                        
eth0
neutron-network-vpn
(boolean)
                            Enable neutron vpn service panel.
                        
neutron-network-lb
(boolean)
                            Enable neutron load balancer service panel.
                        
haproxy-server-timeout
(int)
                            Server timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 30000ms is used.

                        
vip
(string)
                            Virtual IP to use to front openstack dashboard ha configuration.

                        
neutron-network-firewall
(boolean)
                            Enable neutron firewall service panel.
                        
ubuntu-theme
(string)
                            Use Ubuntu theme for the dashboard.
                        
yes
haproxy-queue-timeout
(int)
                            Queue timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 5000ms is used.

                        
secret
(string)
                            Secret for Horizon to use when securing internal data; set this when
using multiple dashboard units.

                        
haproxy-connect-timeout
(int)
                            Connect timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 5000ms is used.

                        
ha-mcastport
(int)
                            Default multicast port number that will be used to communicate between
HA Cluster nodes.

                        
5410
ha-bindiface
(string)
                            Default network interface on which HA cluster will bind to communication
with the other members of the HA Cluster.

                        
eth0
use-syslog
(boolean)
                            Setting this to True will allow supporting services to log to syslog.

                        
prefer-ipv6
(boolean)
                            If True enables IPv6 support. The charm will expect network
interfaces to be configured with an IPv6 address. If set to False
(default) IPv4 is expected.
.
NOTE: these charms do not currently support IPv6 privacy extension.
In order for this charm to function correctly, the privacy extension
must be disabled and a non-temporary address must be
configured/available on your network interface.

                        
nagios_check_http_params
(string)
                            Parameters to pass to the nrpe plugin check_http.
                        
-H localhost -I 127.0.0.1 -u '/' -e 200,301,302
nagios_servicegroups
(string)
                            A comma-separated list of nagios servicegroups. If left empty, the
nagios_context will be used as the servicegroup.

                        
haproxy-client-timeout
(int)
                            Client timeout configuration in ms for haproxy, used in HA
configurations. If not provided, default value of 30000ms is used.

                        
endpoint-type
(string)
                            Specifies the endpoint types to use for endpoints in the Keystone
service catalog. Valid values are 'publicURL', 'internalURL',
and 'adminURL'. Both the primary and secondary endpoint types can
be specified by providing multiple comma delimited values.

                        
action-managed-upgrade
(boolean)
                            If True enables openstack upgrades for this charm via juju actions.
You will still need to set openstack-origin to the new repository but
instead of an upgrade running automatically across all units, it will
wait for you to execute the openstack-upgrade action for this charm on
each unit. If False it will revert to existing behavior of upgrading
all units on config change.

                        
ssl_cert
(string)
                            Base64-encoded SSL certificate to install and use for Horizon.

 juju set openstack-dashbaord ssl_cert="$(cat cert| base64)" \
                              ssl_key="$(cat key| base64)"

                        
default-role
(string)
                            Default role for Horizon operations that will be created in
Keystone upon introduction of an identity-service relation.

                        
Member
openstack-origin
(string)
                            Repository from which to install.  May be one of the following:
distro (default), ppa:somecustom/ppa, a deb url sources entry,
or a supported Cloud Archive release pocket.

Supported Cloud Archive sources include:

cloud:<series>-<openstack-release>
cloud:<series>-<openstack-release>/updates
cloud:<series>-<openstack-release>/staging
cloud:<series>-<openstack-release>/proposed

For series=Precise we support cloud archives for openstack-release:
   * icehouse

For series=Trusty we support cloud archives for openstack-release:
   * juno
   * kilo
   * ...

NOTE: updating this setting to a source that is known to provide
a later version of OpenStack will trigger a software upgrade.

NOTE: when openstack-origin-git is specified, openstack specific
packages will be installed from source rather than from the
openstack-origin repository.

                        
distro
openstack-origin-git
(string)
                            Specifies a YAML-formatted dictionary listing the git
repositories and branches from which to install OpenStack and
its dependencies.

Note that the installed config files will be determined based on
the OpenStack release of the openstack-origin option.

For more details see README.md.

                        
vip_cidr
(int)
                            Default CIDR netmask to use for HA vip when it cannot be automatically
determined.

                        
24
nagios_context
(string)
                            Used by the nrpe-external-master subordinate charm.
A string that will be prepended to instance name to set the host name
in nagios. So for instance the hostname would be something like:
.
  juju-postgresql-0
.
If you're running multiple environments with the same services in them
this allows you to differentiate between them.

                        
juju
ssl_key
(string)
                            Base64-encoded SSL key to use with certificate specified as ssl_cert.

                        
ssl_ca
(string)
                            Base64-encoded certificate authority. This CA is used in conjunction
with keystone https endpoints and must, therefore, be the same CA
used by any endpoint configured as https/ssl.

                        
harden
(string)
                            Apply system hardening. Supports a space-delimited list of modules
to run. Supported modules currently include os, ssh, apache and mysql.

                        
webroot
(string)
                            Directory where application will be accessible, relative to
http://$hostname/.

                        
/horizon
debug
(string)
                            Show Django debug messages.
                        
no
offline-compression
(string)
                            Use pre-generated Less compiled JS and CSS.
                        
yes