Browse code

changing dash to horizon

Tres Henry authored on 2011/10/29 06:00:21
Showing 13 changed files
... ...
@@ -17,7 +17,7 @@ Be sure to carefully read these scripts before you run them as they install soft
17 17
 
18 18
 If working correctly, you should be able to access openstack endpoints, like:
19 19
 
20
-* Dashboard: http://myhost/
20
+* Horizon: http://myhost/
21 21
 * Keystone: http://myhost:5000/v2.0/
22 22
 
23 23
 # To start a dev cloud in an lxc container:
... ...
@@ -1,19 +1,19 @@
1 1
 <VirtualHost *:80>
2
-    WSGIScriptAlias / %DASH_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi
3
-    WSGIDaemonProcess dashboard user=%USER% group=%USER% processes=3 threads=10
2
+    WSGIScriptAlias / %HORIZON_DIR%/openstack-dashboard/dashboard/wsgi/django.wsgi
3
+    WSGIDaemonProcess horizon user=%USER% group=%USER% processes=3 threads=10
4 4
     SetEnv APACHE_RUN_USER %USER%
5 5
     SetEnv APACHE_RUN_GROUP %USER%
6
-    WSGIProcessGroup dashboard
6
+    WSGIProcessGroup horizon
7 7
 
8
-    DocumentRoot %DASH_DIR%/.blackhole/
9
-    Alias /media %DASH_DIR%/openstack-dashboard/media
8
+    DocumentRoot %HORIZON_DIR%/.blackhole/
9
+    Alias /media %HORIZON_DIR%/openstack-dashboard/media
10 10
 
11 11
     <Directory />
12 12
         Options FollowSymLinks
13 13
         AllowOverride None
14 14
     </Directory>
15 15
 
16
-    <Directory %DASH_DIR%/>
16
+    <Directory %HORIZON_DIR%/>
17 17
         Options Indexes FollowSymLinks MultiViews
18 18
         AllowOverride None
19 19
         Order allow,deny
20 20
deleted file mode 100644
... ...
@@ -1,98 +0,0 @@
1
-import os
2
-
3
-DEBUG = True
4
-TEMPLATE_DEBUG = DEBUG
5
-PROD = False
6
-USE_SSL = False
7
-
8
-LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
9
-
10
-# FIXME: We need to change this to mysql, instead of sqlite.
11
-DATABASES = {
12
-    'default': {
13
-        'ENGINE': 'django.db.backends.sqlite3',
14
-        'NAME': os.path.join(LOCAL_PATH, 'dashboard_openstack.sqlite3'),
15
-    },
16
-}
17
-
18
-CACHE_BACKEND = 'dummy://'
19
-
20
-# Add apps to dash installation.
21
-INSTALLED_APPS = (
22
-    'dashboard',
23
-    'django.contrib.contenttypes',
24
-    'django.contrib.sessions',
25
-    'django.contrib.messages',
26
-    'django.contrib.staticfiles',
27
-    'django_openstack',
28
-    'django_openstack.templatetags',
29
-    'mailer',
30
-)
31
-
32
-
33
-# Send email to the console by default
34
-EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
35
-# Or send them to /dev/null
36
-#EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
37
-
38
-# django-mailer uses a different settings attribute
39
-MAILER_EMAIL_BACKEND = EMAIL_BACKEND
40
-
41
-# Configure these for your outgoing email host
42
-# EMAIL_HOST = 'smtp.my-company.com'
43
-# EMAIL_PORT = 25
44
-# EMAIL_HOST_USER = 'djangomail'
45
-# EMAIL_HOST_PASSWORD = 'top-secret!'
46
-
47
-# FIXME: This needs to be changed to allow for multi-node setup.
48
-OPENSTACK_KEYSTONE_URL = "http://localhost:5000/v2.0/"
49
-OPENSTACK_KEYSTONE_ADMIN_URL = "http://localhost:35357/v2.0"
50
-OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
51
-
52
-# NOTE(tres): Available services should come from the service
53
-#             catalog in Keystone.
54
-SWIFT_ENABLED = False
55
-
56
-# Configure quantum connection details for networking
57
-QUANTUM_ENABLED = False
58
-QUANTUM_URL = '127.0.0.1'
59
-QUANTUM_PORT = '9696'
60
-QUANTUM_TENANT = '1234'
61
-QUANTUM_CLIENT_VERSION='0.1'
62
-
63
-# No monitoring links currently
64
-EXTERNAL_MONITORING = []
65
-
66
-# Uncomment the following segment to silence most logging
67
-# django.db and boto DEBUG logging is extremely verbose.
68
-#LOGGING = {
69
-#        'version': 1,
70
-#        # set to True will disable all logging except that specified, unless
71
-#        # nothing is specified except that django.db.backends will still log,
72
-#        # even when set to True, so disable explicitly
73
-#        'disable_existing_loggers': False,
74
-#        'handlers': {
75
-#            'null': {
76
-#                'level': 'DEBUG',
77
-#                'class': 'django.utils.log.NullHandler',
78
-#                },
79
-#            'console': {
80
-#                'level': 'DEBUG',
81
-#                'class': 'logging.StreamHandler',
82
-#                },
83
-#            },
84
-#        'loggers': {
85
-#            # Comment or Uncomment these to turn on/off logging output
86
-#            'django.db.backends': {
87
-#                'handlers': ['null'],
88
-#                'propagate': False,
89
-#                },
90
-#            'django_openstack': {
91
-#                'handlers': ['null'],
92
-#                'propagate': False,
93
-#            },
94
-#        }
95
-#}
96
-
97
-# How much ram on each compute host?
98
-COMPUTE_HOST_RAM_GB = 16
99 1
new file mode 100644
... ...
@@ -0,0 +1,98 @@
0
+import os
1
+
2
+DEBUG = True
3
+TEMPLATE_DEBUG = DEBUG
4
+PROD = False
5
+USE_SSL = False
6
+
7
+LOCAL_PATH = os.path.dirname(os.path.abspath(__file__))
8
+
9
+# FIXME: We need to change this to mysql, instead of sqlite.
10
+DATABASES = {
11
+    'default': {
12
+        'ENGINE': 'django.db.backends.sqlite3',
13
+        'NAME': os.path.join(LOCAL_PATH, 'dashboard_openstack.sqlite3'),
14
+    },
15
+}
16
+
17
+CACHE_BACKEND = 'dummy://'
18
+
19
+# Add apps to horizon installation.
20
+INSTALLED_APPS = (
21
+    'dashboard',
22
+    'django.contrib.contenttypes',
23
+    'django.contrib.sessions',
24
+    'django.contrib.messages',
25
+    'django.contrib.staticfiles',
26
+    'django_openstack',
27
+    'django_openstack.templatetags',
28
+    'mailer',
29
+)
30
+
31
+
32
+# Send email to the console by default
33
+EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
34
+# Or send them to /dev/null
35
+#EMAIL_BACKEND = 'django.core.mail.backends.dummy.EmailBackend'
36
+
37
+# django-mailer uses a different settings attribute
38
+MAILER_EMAIL_BACKEND = EMAIL_BACKEND
39
+
40
+# Configure these for your outgoing email host
41
+# EMAIL_HOST = 'smtp.my-company.com'
42
+# EMAIL_PORT = 25
43
+# EMAIL_HOST_USER = 'djangomail'
44
+# EMAIL_HOST_PASSWORD = 'top-secret!'
45
+
46
+# FIXME: This needs to be changed to allow for multi-node setup.
47
+OPENSTACK_KEYSTONE_URL = "http://localhost:5000/v2.0/"
48
+OPENSTACK_KEYSTONE_ADMIN_URL = "http://localhost:35357/v2.0"
49
+OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"
50
+
51
+# NOTE(tres): Available services should come from the service
52
+#             catalog in Keystone.
53
+SWIFT_ENABLED = False
54
+
55
+# Configure quantum connection details for networking
56
+QUANTUM_ENABLED = False
57
+QUANTUM_URL = '127.0.0.1'
58
+QUANTUM_PORT = '9696'
59
+QUANTUM_TENANT = '1234'
60
+QUANTUM_CLIENT_VERSION='0.1'
61
+
62
+# No monitoring links currently
63
+EXTERNAL_MONITORING = []
64
+
65
+# Uncomment the following segment to silence most logging
66
+# django.db and boto DEBUG logging is extremely verbose.
67
+#LOGGING = {
68
+#        'version': 1,
69
+#        # set to True will disable all logging except that specified, unless
70
+#        # nothing is specified except that django.db.backends will still log,
71
+#        # even when set to True, so disable explicitly
72
+#        'disable_existing_loggers': False,
73
+#        'handlers': {
74
+#            'null': {
75
+#                'level': 'DEBUG',
76
+#                'class': 'django.utils.log.NullHandler',
77
+#                },
78
+#            'console': {
79
+#                'level': 'DEBUG',
80
+#                'class': 'logging.StreamHandler',
81
+#                },
82
+#            },
83
+#        'loggers': {
84
+#            # Comment or Uncomment these to turn on/off logging output
85
+#            'django.db.backends': {
86
+#                'handlers': ['null'],
87
+#                'propagate': False,
88
+#                },
89
+#            'django_openstack': {
90
+#                'handlers': ['null'],
91
+#                'propagate': False,
92
+#            },
93
+#        }
94
+#}
95
+
96
+# How much ram on each compute host?
97
+COMPUTE_HOST_RAM_GB = 16
... ...
@@ -2,7 +2,7 @@
2 2
 
3 3
 # **stack.sh** is an opinionated openstack developer installation.
4 4
 
5
-# This script installs and configures *nova*, *glance*, *dashboard* and *keystone*
5
+# This script installs and configures *nova*, *glance*, *horizon* and *keystone*
6 6
 
7 7
 # This script allows you to specify configuration options of what git
8 8
 # repositories to use, enabled services, network configuration and various
... ...
@@ -90,7 +90,7 @@ function apt_get() {
90 90
 }
91 91
 
92 92
 
93
-# OpenStack is designed to be run as a regular user (Dashboard will fail to run
93
+# OpenStack is designed to be run as a regular user (Horizon will fail to run
94 94
 # as root, since apache refused to startup serve content from root user).  If
95 95
 # stack.sh is run as root, it automatically creates a stack user with
96 96
 # sudo privileges and runs as that user.
... ...
@@ -129,7 +129,7 @@ if [[ $EUID -eq 0 ]]; then
129 129
     fi
130 130
     exit 1
131 131
 else
132
-    # Our user needs passwordless priviledges for certain commands which nova 
132
+    # Our user needs passwordless priviledges for certain commands which nova
133 133
     # uses internally.
134 134
     # Natty uec images sudoers does not have a '#includedir'. add one.
135 135
     sudo grep -q "^#includedir.*/etc/sudoers.d" /etc/sudoers ||
... ...
@@ -144,7 +144,7 @@ fi
144 144
 
145 145
 # Set the destination directories for openstack projects
146 146
 NOVA_DIR=$DEST/nova
147
-DASH_DIR=$DEST/dash
147
+HORIZON_DIR=$DEST/horizon
148 148
 GLANCE_DIR=$DEST/glance
149 149
 KEYSTONE_DIR=$DEST/keystone
150 150
 NOVACLIENT_DIR=$DEST/python-novaclient
... ...
@@ -152,7 +152,7 @@ OPENSTACKX_DIR=$DEST/openstackx
152 152
 NOVNC_DIR=$DEST/noVNC
153 153
 
154 154
 # Specify which services to launch.  These generally correspond to screen tabs
155
-ENABLED_SERVICES=${ENABLED_SERVICES:-g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-vnc,dash,mysql,rabbit}
155
+ENABLED_SERVICES=${ENABLED_SERVICES:-g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-vnc,horizon,mysql,rabbit}
156 156
 
157 157
 # Nova hypervisor configuration.  We default to libvirt whth  **kvm** but will
158 158
 # drop back to **qemu** if we are unable to load the kvm module.  Stack.sh can
... ...
@@ -248,7 +248,7 @@ FLAT_INTERFACE=${FLAT_INTERFACE:-eth0}
248 248
 # MySQL & RabbitMQ
249 249
 # ----------------
250 250
 
251
-# We configure Nova, Dashboard, Glance and Keystone to use MySQL as their
251
+# We configure Nova, Horizon, Glance and Keystone to use MySQL as their
252 252
 # database server.  While they share a single server, each has their own
253 253
 # database and tables.
254 254
 
... ...
@@ -277,8 +277,8 @@ GLANCE_HOSTPORT=${GLANCE_HOSTPORT:-$HOST_IP:9292}
277 277
 # Service Token - Openstack components need to have an admin token
278 278
 # to validate user tokens.
279 279
 read_password SERVICE_TOKEN "ENTER A SERVICE_TOKEN TO USE FOR THE SERVICE ADMIN TOKEN."
280
-# Dash currently truncates usernames and passwords at 20 characters
281
-read_password ADMIN_PASSWORD "ENTER A PASSWORD TO USE FOR DASH AND KEYSTONE (20 CHARS OR LESS)."
280
+# Horizon currently truncates usernames and passwords at 20 characters
281
+read_password ADMIN_PASSWORD "ENTER A PASSWORD TO USE FOR HORIZON AND KEYSTONE (20 CHARS OR LESS)."
282 282
 
283 283
 LOGFILE=${LOGFILE:-"$PWD/stack.sh.$$.log"}
284 284
 (
... ...
@@ -356,8 +356,8 @@ git_clone $KEYSTONE_REPO $KEYSTONE_DIR $KEYSTONE_BRANCH
356 356
 # a websockets/html5 or flash powered VNC console for vm instances
357 357
 git_clone $NOVNC_REPO $NOVNC_DIR $NOVNC_BRANCH
358 358
 # django powered web control panel for openstack
359
-git_clone $DASH_REPO $DASH_DIR $DASH_BRANCH $DASH_TAG
360
-# python client library to nova that dashboard (and others) use
359
+git_clone $HORIZON_REPO $HORIZON_DIR $HORIZON_BRANCH $HORIZON_TAG
360
+# python client library to nova that horizon (and others) use
361 361
 git_clone $NOVACLIENT_REPO $NOVACLIENT_DIR $NOVACLIENT_BRANCH
362 362
 # openstackx is a collection of extensions to openstack.compute & nova
363 363
 # that is *deprecated*.  The code is being moved into python-novaclient & nova.
... ...
@@ -374,8 +374,8 @@ cd $GLANCE_DIR; sudo python setup.py develop
374 374
 cd $NOVACLIENT_DIR; sudo python setup.py develop
375 375
 cd $NOVA_DIR; sudo python setup.py develop
376 376
 cd $OPENSTACKX_DIR; sudo python setup.py develop
377
-cd $DASH_DIR/django-openstack; sudo python setup.py develop
378
-cd $DASH_DIR/openstack-dashboard; sudo python setup.py develop
377
+cd $HORIZON_DIR/django-openstack; sudo python setup.py develop
378
+cd $HORIZON_DIR/openstack-dashboard; sudo python setup.py develop
379 379
 
380 380
 # Add a useful screenrc.  This isn't required to run openstack but is we do
381 381
 # it since we are going to run the services in screen for simple
... ...
@@ -432,36 +432,36 @@ EOF
432 432
 fi
433 433
 
434 434
 
435
-# Dashboard
435
+# Horizon
436 436
 # ---------
437 437
 
438
-# Setup the django dashboard application to serve via apache/wsgi
438
+# Setup the django horizon application to serve via apache/wsgi
439 439
 
440
-if [[ "$ENABLED_SERVICES" =~ "dash" ]]; then
440
+if [[ "$ENABLED_SERVICES" =~ "horizon" ]]; then
441 441
 
442
-    # Dash currently imports quantum even if you aren't using it.  Instead
442
+    # Horizon currently imports quantum even if you aren't using it.  Instead
443 443
     # of installing quantum we can create a simple module that will pass the
444 444
     # initial imports
445
-    mkdir -p  $DASH_DIR/openstack-dashboard/quantum || true
446
-    touch $DASH_DIR/openstack-dashboard/quantum/__init__.py
447
-    touch $DASH_DIR/openstack-dashboard/quantum/client.py
445
+    mkdir -p  $HORIZON_DIR/openstack-dashboard/quantum || true
446
+    touch $HORIZON_DIR/openstack-dashboard/quantum/__init__.py
447
+    touch $HORIZON_DIR/openstack-dashboard/quantum/client.py
448 448
 
449 449
 
450
-    # ``local_settings.py`` is used to override dashboard default settings.
451
-    cp $FILES/dash_settings.py $DASH_DIR/openstack-dashboard/local/local_settings.py
450
+    # ``local_settings.py`` is used to override horizon default settings.
451
+    cp $FILES/horizon_settings.py $HORIZON_DIR/openstack-dashboard/local/local_settings.py
452 452
 
453
-    # Initialize the dashboard database (it stores sessions and notices shown to
453
+    # Initialize the horizon database (it stores sessions and notices shown to
454 454
     # users).  The user system is external (keystone).
455
-    cd $DASH_DIR/openstack-dashboard
455
+    cd $HORIZON_DIR/openstack-dashboard
456 456
     dashboard/manage.py syncdb
457 457
 
458 458
     # create an empty directory that apache uses as docroot
459
-    sudo mkdir -p $DASH_DIR/.blackhole
459
+    sudo mkdir -p $HORIZON_DIR/.blackhole
460 460
 
461
-    ## Configure apache's 000-default to run dashboard
461
+    ## Configure apache's 000-default to run horizon
462 462
     sudo cp $FILES/000-default.template /etc/apache2/sites-enabled/000-default
463 463
     sudo sed -e "s,%USER%,$USER,g" -i /etc/apache2/sites-enabled/000-default
464
-    sudo sed -e "s,%DASH_DIR%,$DASH_DIR,g" -i /etc/apache2/sites-enabled/000-default
464
+    sudo sed -e "s,%HORIZON_DIR%,$HORIZON_DIR,g" -i /etc/apache2/sites-enabled/000-default
465 465
     sudo service apache2 restart
466 466
 fi
467 467
 
... ...
@@ -769,7 +769,7 @@ screen_it n-vol "cd $NOVA_DIR && $NOVA_DIR/bin/nova-volume"
769 769
 screen_it n-net "cd $NOVA_DIR && $NOVA_DIR/bin/nova-network"
770 770
 screen_it n-sch "cd $NOVA_DIR && $NOVA_DIR/bin/nova-scheduler"
771 771
 screen_it n-vnc "cd $NOVNC_DIR && ./utils/nova-wsproxy.py 6080 --web . --flagfile=../nova/bin/nova.conf"
772
-screen_it dash "cd $DASH_DIR && sudo tail -f /var/log/apache2/error.log"
772
+screen_it horizon "cd $HORIZON_DIR && sudo tail -f /var/log/apache2/error.log"
773 773
 
774 774
 # Install Images
775 775
 # ==============
... ...
@@ -838,10 +838,10 @@ for ret in "${PIPESTATUS[@]}"; do [ $ret -eq 0 ] || exit $ret; done
838 838
 # Using the cloud
839 839
 # ===============
840 840
 
841
-# If you installed the dashboard on this server, then you should be able
841
+# If you installed the horizon on this server, then you should be able
842 842
 # to access the site using your browser.
843
-if [[ "$ENABLED_SERVICES" =~ "dash" ]]; then
844
-    echo "dashboard is now available at http://$HOST_IP/"
843
+if [[ "$ENABLED_SERVICES" =~ "horizon" ]]; then
844
+    echo "horizon is now available at http://$HOST_IP/"
845 845
 fi
846 846
 
847 847
 # If keystone is present, you can point nova cli to this server
... ...
@@ -15,10 +15,10 @@ NOVNC_REPO=https://github.com/cloudbuilders/noVNC.git
15 15
 NOVNC_BRANCH=diablo
16 16
 
17 17
 # django powered web control panel for openstack
18
-DASH_REPO=https://github.com/cloudbuilders/openstack-dashboard.git
19
-DASH_BRANCH=diablo
18
+HORIZON_REPO=https://github.com/openstack/horizon.git
19
+HORIZON_BRANCH=stable/diablo
20 20
 
21
-# python client library to nova that dashboard (and others) use
21
+# python client library to nova that horizon (and others) use
22 22
 NOVACLIENT_REPO=https://github.com/rackspace/python-novaclient.git
23 23
 NOVACLIENT_BRANCH=master
24 24
 
... ...
@@ -13,7 +13,7 @@ function run_bm {
13 13
 
14 14
 # Launch the head node - headnode uses a non-ip domain name,
15 15
 # because rabbit won't launch with an ip addr hostname :(
16
-run_bm STACKMASTER $HEAD_HOST "ENABLED_SERVICES=g-api,g-reg,key,n-api,n-sch,n-vnc,dash,mysql,rabbit"
16
+run_bm STACKMASTER $HEAD_HOST "ENABLED_SERVICES=g-api,g-reg,key,n-api,n-sch,n-vnc,horizon,mysql,rabbit"
17 17
 
18 18
 # Wait till the head node is up
19 19
 if [ ! "$TERMINATE" = "1" ]; then
... ...
@@ -146,7 +146,7 @@ git_clone $NOVA_REPO $COPY_DIR/$DEST/nova $NOVA_BRANCH
146 146
 git_clone $GLANCE_REPO $COPY_DIR/$DEST/glance $GLANCE_BRANCH
147 147
 git_clone $KEYSTONE_REPO $COPY_DIR/$DESTkeystone $KEYSTONE_BRANCH
148 148
 git_clone $NOVNC_REPO $COPY_DIR/$DEST/noVNC $NOVNC_BRANCH
149
-git_clone $DASH_REPO $COPY_DIR/$DEST/dash $DASH_BRANCH $DASH_TAG
149
+git_clone $HORIZON_REPO $COPY_DIR/$DEST/horizon $HORIZON_BRANCH $HORIZON_TAG
150 150
 git_clone $NOVACLIENT_REPO $COPY_DIR/$DEST/python-novaclient $NOVACLIENT_BRANCH
151 151
 git_clone $OPENSTACKX_REPO $COPY_DIR/$DEST/openstackx $OPENSTACKX_BRANCH
152 152
 git_clone $KEYSTONE_REPO $COPY_DIR/$DEST/keystone $KEYSTONE_BRANCH
... ...
@@ -39,7 +39,7 @@ WAIT_TILL_LAUNCH=${WAIT_TILL_LAUNCH:-1}
39 39
 
40 40
 # Param string to pass to stack.sh.  Like "EC2_DMZ_HOST=192.168.1.1 MYSQL_USER=nova"
41 41
 # By default, n-vol is disabled for lxc, as iscsitarget doesn't work properly in lxc
42
-STACKSH_PARAMS=${STACKSH_PARAMS:-"ENABLED_SERVICES=g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-vnc,dash,mysql,rabbit"}
42
+STACKSH_PARAMS=${STACKSH_PARAMS:-"ENABLED_SERVICES=g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-vnc,horizon,mysql,rabbit"}
43 43
 
44 44
 # Option to use the version of devstack on which we are currently working
45 45
 USE_CURRENT_DEVSTACK=${USE_CURRENT_DEVSTACK:-1}
... ...
@@ -140,7 +140,7 @@ git_clone $NOVA_REPO $CACHEDIR/$DEST/nova $NOVA_BRANCH
140 140
 git_clone $GLANCE_REPO $CACHEDIR/$DEST/glance $GLANCE_BRANCH
141 141
 git_clone $KEYSTONE_REPO $CACHEDIR/$DESTkeystone $KEYSTONE_BRANCH
142 142
 git_clone $NOVNC_REPO $CACHEDIR/$DEST/noVNC $NOVNC_BRANCH
143
-git_clone $DASH_REPO $CACHEDIR/$DEST/dash $DASH_BRANCH $DASH_TAG
143
+git_clone $HORIZON_REPO $CACHEDIR/$DEST/horizon $HORIZON_BRANCH $HORIZON_TAG
144 144
 git_clone $NOVACLIENT_REPO $CACHEDIR/$DEST/python-novaclient $NOVACLIENT_BRANCH
145 145
 git_clone $OPENSTACKX_REPO $CACHEDIR/$DEST/openstackx $OPENSTACKX_BRANCH
146 146
 git_clone $KEYSTONE_REPO $CACHEDIR/$DEST/keystone $KEYSTONE_BRANCH
... ...
@@ -23,7 +23,7 @@ function run_lxc {
23 23
 
24 24
 # Launch the head node - headnode uses a non-ip domain name,
25 25
 # because rabbit won't launch with an ip addr hostname :(
26
-run_lxc STACKMASTER $HEAD_HOST "ENABLED_SERVICES=g-api,g-reg,key,n-api,n-sch,n-vnc,dash,mysql,rabbit"
26
+run_lxc STACKMASTER $HEAD_HOST "ENABLED_SERVICES=g-api,g-reg,key,n-api,n-sch,n-vnc,horizon,mysql,rabbit"
27 27
 
28 28
 # Wait till the head node is up
29 29
 if [ ! "$TERMINATE" = "1" ]; then
... ...
@@ -90,7 +90,7 @@ git_clone $NOVA_REPO $DEST/nova $NOVA_BRANCH
90 90
 git_clone $GLANCE_REPO $DEST/glance $GLANCE_BRANCH
91 91
 git_clone $KEYSTONE_REPO $DEST/keystone $KEYSTONE_BRANCH
92 92
 git_clone $NOVNC_REPO $DEST/novnc $NOVNC_BRANCH
93
-git_clone $DASH_REPO $DEST/dash $DASH_BRANCH $DASH_TAG
93
+git_clone $HORIZON_REPO $DEST/horizon $HORIZON_BRANCH $HORIZON_TAG
94 94
 git_clone $NOVACLIENT_REPO $DEST/python-novaclient $NOVACLIENT_BRANCH
95 95
 git_clone $OPENSTACKX_REPO $DEST/openstackx $OPENSTACKX_BRANCH
96 96
 
... ...
@@ -138,7 +138,7 @@ git_clone $NOVA_REPO $DEST/nova $NOVA_BRANCH
138 138
 git_clone $GLANCE_REPO $DEST/glance $GLANCE_BRANCH
139 139
 git_clone $KEYSTONE_REPO $DEST/keystone $KEYSTONE_BRANCH
140 140
 git_clone $NOVNC_REPO $DEST/novnc $NOVNC_BRANCH
141
-git_clone $DASH_REPO $DEST/dash $DASH_BRANCH
141
+git_clone $HORIZON_REPO $DEST/horizon $HORIZON_BRANCH
142 142
 git_clone $NOVACLIENT_REPO $DEST/python-novaclient $NOVACLIENT_BRANCH
143 143
 git_clone $OPENSTACKX_REPO $DEST/openstackx $OPENSTACKX_BRANCH
144 144
 
... ...
@@ -25,13 +25,13 @@ need to run devstack (like git).  Do this to install required software:
25 25
 
26 26
     wget --no-check-certificate https://github.com/cloudbuilders/devstack/raw/xen/tools/xen/prepare_dom0.sh
27 27
     chmod 755 prepare_dom0.sh
28
-    ./prepare_dom0.sh 
28
+    ./prepare_dom0.sh
29 29
 
30 30
 This script will also clone devstack in /root/devstack
31 31
 
32 32
 Step 3: Configure your localrc
33 33
 -----------------------------
34
-Devstack uses a localrc for user-specific configuration.  Note that 
34
+Devstack uses a localrc for user-specific configuration.  Note that
35 35
 the XENAPI_PASSWORD must be your dom0 root password.
36 36
 Of course, use real passwords if this machine is exposed.
37 37
 
... ...
@@ -59,6 +59,6 @@ But in a nutshell, it performs the following:
59 59
 
60 60
 Step 5: Do cloudy stuff!
61 61
 --------------------------
62
-* Play with dashboard
62
+* Play with horizon
63 63
 * Play with the CLI
64 64
 * Log bugs to devstack and core projects, and submit fixes!