Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 1 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 2 | ===== |
| 3 | Usage |
| 4 | ===== |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 5 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 6 | Horizon is the canonical implementation of OpenStack Dashboard, which |
| 7 | provides a web-based user interface to OpenStack services including Nova, |
Ales Komarek | 231eb65 | 2017-04-11 16:01:19 +0200 | [diff] [blame] | 8 | Swift, Keystone, etc. |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 9 | |
Ales Komarek | 231eb65 | 2017-04-11 16:01:19 +0200 | [diff] [blame] | 10 | Sample Pillars |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 11 | ============== |
| 12 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 13 | Simplest Horizon setup: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 14 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 15 | .. code-block:: yaml |
| 16 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 17 | horizon: |
| 18 | server: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 19 | enabled: true |
Ales Komarek | 2e7d83b | 2016-11-22 22:58:12 +0100 | [diff] [blame] | 20 | secret_key: secret |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 21 | host: |
| 22 | name: cloud.lab.cz |
| 23 | cache: |
| 24 | engine: 'memcached' |
| 25 | host: '127.0.0.1' |
| 26 | port: 11211 |
| 27 | prefix: 'CACHE_HORIZON' |
Oleksii Chupryn | 7d3d648 | 2017-03-07 11:23:27 +0200 | [diff] [blame] | 28 | api_versions: |
| 29 | identity: 2 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 30 | identity: |
| 31 | engine: 'keystone' |
| 32 | host: '127.0.0.1' |
| 33 | port: 5000 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 34 | mail: |
| 35 | host: '127.0.0.1' |
| 36 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 37 | Multidomain setup for Horizon: |
Dmitry Stremkovskiy | 381e560 | 2017-07-18 18:50:13 +0300 | [diff] [blame] | 38 | |
| 39 | .. code-block:: yaml |
| 40 | |
| 41 | horizon: |
| 42 | server: |
| 43 | enabled: true |
| 44 | default_domain: MYDOMAIN |
| 45 | multidomain: True |
| 46 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 47 | Simple branded Horizon: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 48 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 49 | .. code-block:: yaml |
| 50 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 51 | horizon: |
| 52 | server: |
| 53 | enabled: true |
| 54 | branding: 'OpenStack Company Dashboard' |
| 55 | default_dashboard: 'admin' |
| 56 | help_url: 'http://doc.domain.com' |
| 57 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 58 | Horizon with policy files metadata. With source mine you can obtain real |
| 59 | time policy file state from targeted node (OpenStack control node), |
| 60 | provided you have policy file published to specified grain key. Source |
| 61 | file will obtain static policy definition from formula files directory. |
Adam Tengler | 08874e3 | 2017-05-05 17:24:29 +0000 | [diff] [blame] | 62 | |
| 63 | .. code-block:: yaml |
| 64 | |
| 65 | horizon: |
| 66 | server: |
| 67 | enabled: true |
| 68 | policy: |
| 69 | identity: |
| 70 | source: mine |
| 71 | host: ctl01.my-domain.local |
| 72 | name: keystone_policy.json |
| 73 | grain_name: keystone_policy |
| 74 | enabled: true |
| 75 | compute: |
| 76 | source: file |
| 77 | name: nova_policy.json |
| 78 | enabled: true |
| 79 | network: |
| 80 | source: file |
| 81 | name: neutron_policy.json |
| 82 | enabled: true |
| 83 | image: |
| 84 | source: file |
| 85 | name: glance_policy.json |
| 86 | enabled: true |
| 87 | volume: |
| 88 | source: file |
| 89 | name: cinder_policy.json |
| 90 | enabled: true |
| 91 | telemetry: |
| 92 | source: file |
| 93 | name: ceilometer_policy.json |
| 94 | enabled: true |
| 95 | orchestration: |
| 96 | source: file |
| 97 | name: heat_policy.json |
| 98 | enabled: true |
Ales Komarek | 231eb65 | 2017-04-11 16:01:19 +0200 | [diff] [blame] | 99 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 100 | Horizon with enabled SSL security (when SSL is realised by proxy): |
Ales Komarek | 231eb65 | 2017-04-11 16:01:19 +0200 | [diff] [blame] | 101 | |
| 102 | .. code-block:: yaml |
| 103 | |
| 104 | horizon: |
| 105 | server: |
| 106 | enabled: True |
| 107 | secure: True |
| 108 | |
| 109 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 110 | Horizon package setup with SSL: |
Adam Tengler | 250e9b3 | 2018-06-26 14:39:31 +0000 | [diff] [blame] | 111 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 112 | .. important:: For the sake of backwards compatibility, the ``ssl_no_verify`` |
| 113 | attribute defaults to ``true`` when |
| 114 | ``horizon:server:identity:encryption`` is set to ``'ssl'``. |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 115 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 116 | .. code-block:: yaml |
| 117 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 118 | horizon: |
| 119 | server: |
| 120 | enabled: true |
| 121 | secret_key: MEGASECRET |
| 122 | version: juno |
Adam Tengler | 250e9b3 | 2018-06-26 14:39:31 +0000 | [diff] [blame] | 123 | ssl_no_verify: false |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 124 | ssl: |
| 125 | enabled: true |
| 126 | authority: CA_Authority |
| 127 | host: |
| 128 | name: cloud.lab.cz |
| 129 | cache: |
| 130 | engine: 'memcached' |
| 131 | host: '127.0.0.1' |
| 132 | port: 11211 |
| 133 | prefix: 'CACHE_HORIZON' |
Oleksii Chupryn | 7d3d648 | 2017-03-07 11:23:27 +0200 | [diff] [blame] | 134 | api_versions: |
| 135 | identity: 2 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 136 | identity: |
| 137 | engine: 'keystone' |
| 138 | host: '127.0.0.1' |
| 139 | port: 5000 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 140 | mail: |
| 141 | host: '127.0.0.1' |
| 142 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 143 | Horizon with custom ``SESSION_ENGINE`` (default is |
| 144 | ``signed_cookies``, valid options are: ``signed_cookies``, |
| 145 | ``cache``, ``file``) and ``SESSION_TIMEOUT``: |
Adam Tengler | ddef050 | 2017-05-04 11:36:54 +0000 | [diff] [blame] | 146 | |
| 147 | .. code-block:: yaml |
| 148 | |
| 149 | horizon: |
| 150 | server: |
| 151 | enabled: True |
| 152 | secure: True |
| 153 | session: |
| 154 | engine: 'cache' |
| 155 | timeout: 43200 |
| 156 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 157 | Multi-regional Horizon setup: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 158 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 159 | .. code-block:: yaml |
| 160 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 161 | horizon: |
| 162 | server: |
| 163 | enabled: true |
| 164 | version: juno |
| 165 | secret_key: MEGASECRET |
| 166 | cache: |
| 167 | engine: 'memcached' |
| 168 | host: '127.0.0.1' |
| 169 | port: 11211 |
| 170 | prefix: 'CACHE_HORIZON' |
Oleksii Chupryn | 7d3d648 | 2017-03-07 11:23:27 +0200 | [diff] [blame] | 171 | api_versions: |
| 172 | identity: 2 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 173 | identity: |
| 174 | engine: 'keystone' |
| 175 | host: '127.0.0.1' |
| 176 | port: 5000 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 177 | mail: |
| 178 | host: '127.0.0.1' |
| 179 | regions: |
| 180 | - name: cluster1 |
| 181 | address: http://cluster1.example.com:5000/v2.0 |
| 182 | - name: cluster2 |
| 183 | address: http://cluster2.example.com:5000/v2.0 |
| 184 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 185 | Horizon setup with sensu plugin: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 186 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 187 | .. code-block:: yaml |
| 188 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 189 | horizon: |
| 190 | server: |
| 191 | enabled: true |
| 192 | version: juno |
| 193 | sensu_api: |
| 194 | host: localhost |
| 195 | port: 4567 |
Ales Komarek | 2e7d83b | 2016-11-22 22:58:12 +0100 | [diff] [blame] | 196 | plugin: |
| 197 | monitoring: |
| 198 | app: horizon_monitoring |
| 199 | source: |
| 200 | type: git |
| 201 | address: git@repo1.robotice.cz:django/horizon-monitoring.git |
| 202 | rev: develop |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 203 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 204 | Sensu multi API: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 205 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 206 | .. code-block:: yaml |
| 207 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 208 | horizon: |
| 209 | server: |
| 210 | enabled: true |
| 211 | version: juno |
| 212 | sensu_api: |
| 213 | dc1: |
| 214 | host: localhost |
| 215 | port: 4567 |
| 216 | dc2: |
| 217 | host: anotherhost |
| 218 | port: 4567 |
| 219 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 220 | Horizon setup with jenkins plugin: |
Ales Komarek | 2e7d83b | 2016-11-22 22:58:12 +0100 | [diff] [blame] | 221 | |
| 222 | .. code-block:: yaml |
| 223 | |
| 224 | horizon: |
| 225 | server: |
| 226 | enabled: true |
| 227 | version: juno |
| 228 | jenkins_api: |
| 229 | url: https://localhost:8080 |
| 230 | user: admin |
| 231 | password: pwd |
| 232 | plugin: |
| 233 | jenkins: |
| 234 | app: horizon_jenkins |
| 235 | source: |
| 236 | type: pkg |
| 237 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 238 | Horizon setup with billometer plugin: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 239 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 240 | .. code-block:: yaml |
| 241 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 242 | horizon: |
| 243 | server: |
| 244 | enabled: true |
| 245 | version: juno |
| 246 | billometer_api: |
| 247 | host: localhost |
| 248 | port: 9753 |
| 249 | api_version: 1 |
Ales Komarek | 2e7d83b | 2016-11-22 22:58:12 +0100 | [diff] [blame] | 250 | plugin: |
| 251 | billing: |
| 252 | app: horizon_billing |
| 253 | source: |
| 254 | type: git |
| 255 | address: git@repo1.robotice.cz:django/horizon-billing.git |
| 256 | rev: develop |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 257 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 258 | Horizon setup with Contrail plugin: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 259 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 260 | .. code-block:: yaml |
| 261 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 262 | horizon: |
| 263 | server: |
| 264 | enabled: true |
| 265 | version: icehouse |
Ales Komarek | 2e7d83b | 2016-11-22 22:58:12 +0100 | [diff] [blame] | 266 | plugin: |
| 267 | contrail: |
| 268 | app: contrail_openstack_dashboard |
| 269 | override: true |
| 270 | source: |
| 271 | type: git |
| 272 | address: git@repo1.robotice.cz:django/horizon-contrail.git |
| 273 | rev: develop |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 274 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 275 | Horizon setup with sentry log handler: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 276 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 277 | .. code-block:: yaml |
| 278 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 279 | horizon: |
| 280 | server: |
| 281 | enabled: true |
| 282 | version: juno |
| 283 | ... |
| 284 | logging: |
| 285 | engine: raven |
| 286 | dsn: http://pub:private@sentry1.test.cz/2 |
| 287 | |
| 288 | Multisite with Git source |
| 289 | ------------------------- |
| 290 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 291 | Simple Horizon setup from Git repository: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 292 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 293 | .. code-block:: yaml |
| 294 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 295 | horizon: |
| 296 | server: |
| 297 | enabled: true |
| 298 | app: |
| 299 | default: |
| 300 | secret_key: MEGASECRET |
| 301 | source: |
| 302 | engine: git |
| 303 | address: https://github.com/openstack/horizon.git |
| 304 | rev: stable/havana |
| 305 | cache: |
| 306 | engine: 'memcached' |
| 307 | host: '127.0.0.1' |
| 308 | port: 11211 |
| 309 | prefix: 'CACHE_DEFAULT' |
Oleksii Chupryn | 7d3d648 | 2017-03-07 11:23:27 +0200 | [diff] [blame] | 310 | api_versions: |
| 311 | identity: 2 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 312 | identity: |
| 313 | engine: 'keystone' |
| 314 | host: '127.0.0.1' |
| 315 | port: 5000 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 316 | mail: |
| 317 | host: '127.0.0.1' |
| 318 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 319 | Themed multisite setup: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 320 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 321 | .. code-block:: yaml |
| 322 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 323 | horizon: |
| 324 | server: |
| 325 | enabled: true |
| 326 | app: |
| 327 | openstack1c: |
| 328 | secret_key: MEGASECRET1 |
| 329 | source: |
| 330 | engine: git |
| 331 | address: https://github.com/openstack/horizon.git |
| 332 | rev: stable/havana |
| 333 | plugin: |
| 334 | contrail: |
| 335 | app: contrail_openstack_dashboard |
| 336 | override: true |
| 337 | source: |
| 338 | type: git |
| 339 | address: git@repo1.robotice.cz:django/horizon-contrail.git |
| 340 | rev: develop |
| 341 | theme: |
| 342 | app: site1_theme |
| 343 | source: |
| 344 | type: git |
| 345 | address: git@repo1.domain.com:django/horizon-site1-theme.git |
| 346 | cache: |
| 347 | engine: 'memcached' |
| 348 | host: '127.0.0.1' |
| 349 | port: 11211 |
| 350 | prefix: 'CACHE_SITE1' |
Oleksii Chupryn | 7d3d648 | 2017-03-07 11:23:27 +0200 | [diff] [blame] | 351 | api_versions: |
| 352 | identity: 2 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 353 | identity: |
| 354 | engine: 'keystone' |
| 355 | host: '127.0.0.1' |
| 356 | port: 5000 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 357 | mail: |
| 358 | host: '127.0.0.1' |
| 359 | openstack2: |
| 360 | secret_key: MEGASECRET2 |
| 361 | source: |
| 362 | engine: git |
| 363 | address: https://repo1.domain.com/openstack/horizon.git |
| 364 | rev: stable/icehouse |
| 365 | plugin: |
| 366 | contrail: |
| 367 | app: contrail_openstack_dashboard |
| 368 | override: true |
| 369 | source: |
| 370 | type: git |
| 371 | address: git@repo1.domain.com:django/horizon-contrail.git |
| 372 | rev: develop |
| 373 | monitoring: |
| 374 | app: horizon_monitoring |
| 375 | source: |
| 376 | type: git |
| 377 | address: git@domain.com:django/horizon-monitoring.git |
| 378 | rev: develop |
| 379 | theme: |
| 380 | app: bootswatch_theme |
| 381 | source: |
| 382 | type: git |
| 383 | address: git@repo1.robotice.cz:django/horizon-bootswatch-theme.git |
| 384 | rev: develop |
| 385 | cache: |
| 386 | engine: 'memcached' |
| 387 | host: '127.0.0.1' |
| 388 | port: 11211 |
| 389 | prefix: 'CACHE_SITE2' |
Oleksii Chupryn | 7d3d648 | 2017-03-07 11:23:27 +0200 | [diff] [blame] | 390 | api_versions: |
| 391 | identity: 3 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 392 | identity: |
| 393 | engine: 'keystone' |
| 394 | host: '127.0.0.1' |
| 395 | port: 5000 |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 396 | mail: |
| 397 | host: '127.0.0.1' |
| 398 | |
Adam Tengler | 383e571 | 2018-06-26 20:09:54 +0000 | [diff] [blame] | 399 | Set advanced theme options (for Horizon version Mitaka and newer). |
| 400 | |
| 401 | Full example: |
| 402 | |
| 403 | .. code-block:: yaml |
| 404 | |
| 405 | horizon: |
| 406 | server: |
| 407 | themes: |
| 408 | default: default # optional, default: "default" |
| 409 | directory: themes # optional, default: "themes" |
| 410 | cookie_name: theme # optional, default: "theme" |
| 411 | available: |
| 412 | default: # slug |
| 413 | name: "Default" # display name |
| 414 | description: "Default style theme" |
| 415 | path: "themes/default" # optional, default: "<directory>/<slug>", e.g. "themes/default" |
| 416 | enabled: True |
| 417 | material: |
| 418 | name: "Material" |
| 419 | description: "Google's Material Design style theme" |
| 420 | path: "themes/material" |
| 421 | enabled: True |
| 422 | |
| 423 | Minimal example: |
| 424 | |
| 425 | .. code-block:: yaml |
| 426 | |
| 427 | horizon: |
| 428 | server: |
| 429 | theme: |
| 430 | available: |
| 431 | default: # slug |
| 432 | name: "Default" # display name |
| 433 | description: "Default style theme" |
| 434 | material: |
| 435 | name: "Material" |
| 436 | description: "Google's Material Design style theme" |
| 437 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 438 | API versions override: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 439 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 440 | .. code-block:: yaml |
| 441 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 442 | horizon: |
| 443 | server: |
| 444 | enabled: true |
| 445 | app: |
| 446 | openstack_api_overrride: |
| 447 | secret_key: MEGASECRET1 |
| 448 | api_versions: |
| 449 | identity: 3 |
| 450 | volume: 2 |
| 451 | source: |
| 452 | engine: git |
| 453 | address: https://github.com/openstack/horizon.git |
| 454 | rev: stable/havana |
| 455 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 456 | Control dashboard behavior: |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 457 | |
Adam Tengler | dbd1f05 | 2016-01-25 21:12:26 +0100 | [diff] [blame] | 458 | .. code-block:: yaml |
| 459 | |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 460 | horizon: |
| 461 | server: |
| 462 | enabled: true |
| 463 | app: |
| 464 | openstack_dashboard_overrride: |
Ales Komarek | 2e7d83b | 2016-11-22 22:58:12 +0100 | [diff] [blame] | 465 | secret_key: password |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 466 | dashboards: |
| 467 | settings: |
| 468 | enabled: true |
| 469 | project: |
| 470 | enabled: false |
| 471 | order: 10 |
| 472 | admin: |
| 473 | enabled: false |
| 474 | order: 20 |
| 475 | source: |
| 476 | engine: git |
| 477 | address: https://github.com/openstack/horizon.git |
| 478 | rev: stable/juno |
| 479 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 480 | Enable WebSSO feature. Define a list of choices |
| 481 | [supported choices: oidc, saml2], ``credentials`` choice |
| 482 | will be automatically appended and choice description is |
| 483 | predefined. DEPRECATED |
Aleksieiev, Oleksii | 318d9de | 2018-05-18 16:37:18 -0700 | [diff] [blame] | 484 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 485 | WebSSO with credentials and saml2: |
Alexander Noskov | 787a812 | 2016-12-07 13:00:49 +0400 | [diff] [blame] | 486 | |
| 487 | .. code-block:: yaml |
| 488 | |
| 489 | horizon: |
| 490 | server: |
| 491 | enabled: true |
| 492 | websso: |
| 493 | login_url: "WEBROOT + 'auth/login/'" |
| 494 | logout_url: "WEBROOT + 'auth/logout/'" |
Aleksieiev, Oleksii | 318d9de | 2018-05-18 16:37:18 -0700 | [diff] [blame] | 495 | login_redirect_url: "WEBROOT + 'project/'" |
Alexander Noskov | 787a812 | 2016-12-07 13:00:49 +0400 | [diff] [blame] | 496 | websso_choices: |
| 497 | - saml2 |
Alexander Noskov | 787a812 | 2016-12-07 13:00:49 +0400 | [diff] [blame] | 498 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 499 | Enable WebSSO feature. Define a map of choices in the following |
| 500 | format: ``{"<choice_name>": {"description": "<choice_description>"}``. |
Aleksieiev, Oleksii | 318d9de | 2018-05-18 16:37:18 -0700 | [diff] [blame] | 501 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 502 | WebSSO with saml2 and credentials: |
Aleksieiev, Oleksii | 318d9de | 2018-05-18 16:37:18 -0700 | [diff] [blame] | 503 | |
| 504 | .. code-block:: yaml |
| 505 | |
| 506 | horizon: |
| 507 | server: |
| 508 | enabled: true |
| 509 | websso: |
| 510 | login_url: "WEBROOT + 'auth/login/'" |
| 511 | logout_url: "WEBROOT + 'auth/logout/'" |
| 512 | login_redirect_url: "WEBROOT + 'project/'" |
| 513 | websso_choices: |
| 514 | saml2: |
| 515 | description: "Security Assertion Markup Language" |
| 516 | credentials: |
| 517 | description: "Keystone Credentials" |
| 518 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 519 | WebSSO with IDP mapping: |
Aleksieiev, Oleksii | 318d9de | 2018-05-18 16:37:18 -0700 | [diff] [blame] | 520 | |
| 521 | .. code-block:: yaml |
| 522 | |
| 523 | horizon: |
| 524 | server: |
| 525 | enabled: true |
| 526 | websso: |
| 527 | login_url: "WEBROOT + 'auth/login/'" |
| 528 | logout_url: "WEBROOT + 'auth/logout/'" |
| 529 | login_redirect_url: "WEBROOT + 'project/'" |
| 530 | websso_choices: |
| 531 | credentials: |
| 532 | description: "Keystone Credentials" |
| 533 | saml2: |
| 534 | description: "Security Assertion Markup Language" |
| 535 | oidc: |
| 536 | description: "OpenID Connect" |
| 537 | myidp_oidc: |
| 538 | description: "Acme Corporation - OpenID Connect" |
| 539 | myidp_saml2: |
| 540 | description: "Acme Corporation - SAML2" |
| 541 | idp_mapping: |
| 542 | myidp_oidc: |
| 543 | id: myidp |
| 544 | protocol: oidc |
| 545 | myidp_saml2: |
| 546 | id: myidp |
| 547 | protocol: saml2 |
Ales Komarek | 231eb65 | 2017-04-11 16:01:19 +0200 | [diff] [blame] | 548 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 549 | Read more |
| 550 | ========= |
Filip Pytloun | f8a1d5b | 2015-10-06 16:28:32 +0200 | [diff] [blame] | 551 | |
| 552 | * https://github.com/openstack/horizon |
| 553 | * http://dijks.wordpress.com/2012/07/06/how-to-change-screen-resolution-of-novnc-client-in-openstack-essex-dashboard-nova-horizon/ |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 554 | |
Ales Komarek | 231eb65 | 2017-04-11 16:01:19 +0200 | [diff] [blame] | 555 | |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 556 | Documentation and Bugs |
| 557 | ====================== |
| 558 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 559 | * http://salt-formulas.readthedocs.io/ |
| 560 | Learn how to install and update salt-formulas |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 561 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 562 | * https://github.com/salt-formulas/salt-formula-horizon/issues |
| 563 | In the unfortunate event that bugs are discovered, report the issue to the |
| 564 | appropriate issue tracker. Use the Github issue tracker for a specific salt |
| 565 | formula |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 566 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 567 | * https://launchpad.net/salt-formulas |
| 568 | For feature requests, bug reports, or blueprints affecting the entire |
| 569 | ecosystem, use the Launchpad salt-formulas project |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 570 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 571 | * https://launchpad.net/~salt-formulas-users |
| 572 | Join the salt-formulas-users team and subscribe to mailing list if required |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 573 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 574 | * https://github.com/salt-formulas/salt-formula-horizon |
| 575 | Develop the salt-formulas projects in the master branch and then submit pull |
| 576 | requests against a specific formula |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 577 | |
OlgaGusarenko | 8c33bca | 2018-07-30 18:33:34 +0300 | [diff] [blame^] | 578 | * #salt-formulas @ irc.freenode.net |
| 579 | Use this IRC channel in case of any questions or feedback which is always |
| 580 | welcome |
Filip Pytloun | 219343c | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 581 | |