55 Commits

Author SHA1 Message Date
caoyuan
bd1b4e4eef Update the horizon port into all.yml
TrivialFix

Change-Id: Ib38161ecb82b480e4c901efb95efccff33e5a90e
2017-01-03 14:23:54 +08:00
Jenkins
fca27bf0bf Merge "Move horizon precheck into its own role" 2017-01-03 02:40:08 +00:00
Jenkins
70ccea2bbe Merge "Enable magnum dashboard when enable_magnum is yes" 2017-01-02 19:59:15 +00:00
caoyuan
779b0f8310 Move horizon precheck into its own role
Change-Id: I4e2f8e21bfd295d235d1264e427328e4baa85df3
Partially-implements: blueprint condition-pre-check
2017-01-02 22:41:38 +08:00
Jenkins
ff666950de Merge "Use default user group consistently" 2016-12-22 06:37:41 +00:00
Paul Bourke
0db481bfea Enable magnum dashboard when enable_magnum is yes
Change-Id: I820c61771f0ea8f12946f16908e4b8424ba53704
Depends-On: Iaf599ceea70879b8302ffcdf9615f18007e93134
2016-12-20 19:37:47 +08:00
Vladislav Belogrudov
25fcdfb986 Use default user group consistently
Default user group should be set much earlier in deployment
and should be used consistently accross all projects.

Change-Id: Id399f9ddebc903bb9c3eeb5a0ff6f33ca6d6828c
Closes-Bug: #1650501
2016-12-19 11:43:23 +03:00
caoyuan
d173e60cb5 Remove the unnecessary space
TrivialFix

Change-Id: Ibe921e2568a33345960e6bccc76d9b72156845be
2016-12-19 11:34:37 +08:00
portdirect
94efc9ea39 Fix syntax error in horizon custom policies file
Fixes syntax error in Horizon custom policy implementation

Change-Id: Id2386968dbe8ec9cac9cd00f465a833f5db7f217
Closes-Bug: #1649480
2016-12-13 06:47:59 +00:00
Jenkins
199015ce5d Merge "Horizon custom policies" 2016-12-13 04:04:54 +00:00
Jenkins
dc6467d7f4 Merge "Revert "Enable designate dashboard when enable_designate is yes"" 2016-12-12 17:07:28 +00:00
Jenkins
6d7c24d4f7 Merge "Enable mistral dashboard when enable_mistral is yes" 2016-12-12 13:57:10 +00:00
caoyuan
b3ab37d0c8 Enable mistral dashboard when enable_mistral is yes
Depends-On: I37c73e6304ed005fe019dcdd105c1f333137fa60

Change-Id: I544810afaa5c740f67702ba34e146c19b480de8d
Closes-Bug: #1647267
2016-12-10 14:14:21 +00:00
caoyuan
f301bba26c Enable watcher dashboard when enable_watcher is yes
Depends-On: Ief5898f6bf1caa3a7fe6b2a96be2bdb79e402f28

Change-Id: I2ea4bd9308637056c6cb1b1d515efd1020a60d1b
Closes-Bug: #1647162
2016-12-10 14:13:48 +00:00
Paul Bourke
492116b654 Revert "Enable designate dashboard when enable_designate is yes"
The designate role has not merged yet so there is no 'enable_designate'
variable.

This reverts commit 316f3ea4a9c3798b6f52baba20040340a81c0529.

Change-Id: I287a5ac04db00a9c19224deb41983be584f4e35a
2016-12-08 16:50:44 +00:00
Jenkins
347a86dbaa Merge "Enable searchlight ui when searchlight enabled" 2016-12-08 09:00:08 +00:00
Jenkins
628418f3ea Merge "Enable designate dashboard when enable_designate is yes" 2016-12-07 12:35:06 +00:00
Eduardo Gonzalez
bba32efdae Horizon custom policies
Apply custom policies for different OpenStack services.

Change-Id: I26df2d0d7c52215ffbedbfa66acd352063e885ae
Partially-Implements: blueprint custom-policies
2016-12-06 17:41:52 +00:00
Jeffrey Zhang
ba173ceb10 Revert "Enable zaqar ui when zaqar enabled"
This reverts commit 9fc5157cc7172eea6cd875692a44e13cab1b8226.

zaqar role is not implemented and there is no enable_zaqar variable,
too.

Change-Id: If40fdf8d672ee5e0b375513364734f245fa1d682
2016-12-06 20:14:39 +08:00
liyingjun
ad3085bffd Enable searchlight ui when searchlight enabled
Depends-On: Ie65c374dd319e38fe50fc3dca15c64d07edc8e1a
Change-Id: I9867f1b96b732b473fe043ab57e3338582f7dd9a
Closes-bug: #1646690
2016-12-06 19:05:59 +08:00
jianyi
5cb2ec8ee9 Enable senlin dashboard when enable_senlin is yes
Depends-On: I27ac67f42ad04ac5cf6d18b6f56506949aa4887c
Change-Id: I42c8cc7a750d1fd0c4e6ca491ef13d14c968d67b
Closes-Bug: #1646023
2016-12-06 13:58:12 +08:00
caoyuan
9fc5157cc7 Enable zaqar ui when zaqar enabled
Depends-On:I430340b38ff7642f46d76ec621ae65dcae8157c3

Change-Id: If669601691d1505049ba4196bd3c5856091ed921
Closes-Bug: #1647164
2016-12-04 23:24:08 +08:00
zhubingbing
316f3ea4a9 Enable designate dashboard when enable_designate is yes
Depends-On: Ic28d984dd2ca3db3633ee535d9475907fa4e2d3b

Change-Id: Ia0b874e3397d1f73dab15e0957e75814bcdfd3ac
Closes-Bug: #1646688
2016-12-03 15:22:19 +00:00
Jenkins
fe0bebc973 Merge "Enable trove dashboard when enable_trove is yes" 2016-12-02 13:15:55 +00:00
zhubingbing
6abbdf4cb5 Enable trove dashboard when enable_trove is yes
Depends-On: I1e9295da273055bfb870c7a87a32b989f3f61e8b

Change-Id: I18733775627d7f81cca0b7aa91f006ac48f1a755
Closes-Bug: #1646337
2016-12-01 15:46:37 +00:00
Jeffrey Zhang
8cada351b0 Enable cloudkitty ui when enable_cloudkitty is yes
Change-Id: If4a9e1db02e89362b01181149327983fc1c556f2
Depends-On: I6bb33de6d19ba42710e6d4138059c23076b759ec
Closes-Bug: #1641053
2016-12-01 14:50:38 +00:00
Jenkins
3f36d15bc4 Merge "Enable sahara dashboard when enable_sahara is yes" 2016-11-30 15:19:51 +00:00
Jeffrey Zhang
2bdd0299b8 Enable ironic ui when enable_ironic is yes
Depends-On: Ie094b92b9a8e20696cee84698013d09306dd6e7f
Change-Id: Ib1bbf1e5cb1536a41ab8c3082026ba90811f8df7
Closes-Bug: #1645104
2016-11-29 10:06:56 +08:00
Jeffrey Zhang
de4c13058e Enable sahara dashboard when enable_sahara is yes
Depends-On: I0ee4672252710605970751efa756a2dd405ad8c8
Change-Id: I066178554c6efcb84e6c1129b82502a567191553
Closes-Bug: #1645195
2016-11-29 10:01:44 +08:00
Mauricio Lima
8a34f246ad Load manila-ui in horizon
Change-Id: I082c0a694eb138938abec2f4bc09002fd1d0ef9d
2016-11-28 10:01:05 -03:00
Jeffrey Zhang
c89cbff6a2 Fix neutron lbaas dashboard
Load neutron lbaas dynamic when neutron lbaas is enabled.

Change-Id: I47913824fea87b721f254633c16d1dc6903b4f5d
Closes-Bug: #1639325
2016-11-10 13:16:37 +08:00
Jeffrey Zhang
fa45801946 Move precheck into its own role
* Merge prechecks.yml and site.yml playbook
* Create empty precheck.yml into all roles.

Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd
Implements: blueprint condition-pre-check
2016-11-03 14:48:58 +08:00
Jeffrey Zhang
fa856556d5 Remove do_reconfigure.yml file for all roles
do_reconfigure.yml is introduced to use serial directive. But we use
it in wrong. Now serial has moved to playbook file. So it is time to
remove the do_reconfigure.yml file

Closes-Bug: #1628152
Change-Id: I8d42d27e6bc302a0e575b0353956eaef9b2ca9fd
2016-09-27 15:04:00 +00:00
Jenkins
ce3abeb0eb Merge "Allow use of database for Horizon sessions" 2016-09-22 04:00:28 +00:00
Mick Thompson
4c1482b999 Added serial option to site.yml.
Useful for upgrade etc., which is preferablly done serially.

Example usage: tools/kolla-ansible deploy OR tools/kolla-ansible upgrade

Closes-Bug: #1576708

DocImpact

Change-Id: I34b2e16f8ce53e472a4682a4738c4ac0f5abf00c
2016-09-13 09:26:51 +00:00
Paul Bourke
d3f65a812f Allow use of database for Horizon sessions
Database-backed sessions are scalable (using an appropriate database
strategy), persistent, and can be made high-concurrency and
highly-available [0]

Default is off.

[0] http://docs.openstack.org/developer/horizon/topics/deployment.html#database

Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com>
Closes-Bug: 1618781

Change-Id: Ib68a21397dc020d20e07dcc51d3d0fdc1de102ff
2016-09-08 12:49:02 +01:00
Jeffrey Zhang
9ac7f96652 Create the _member_ role in the horizon role
The horizon need a normal exist in the keystone.

Change-Id: Ia3e4fb5245b4a943fc833f29a5a8d5eb1ee48fe9
Closes-Bug: #1579822
2016-08-18 11:15:01 +00:00
Jenkins
08c7cc7b2d Merge "Replace horizon default config with custom config" 2016-08-17 16:05:49 +00:00
Duong Ha-Quang
34975e291e Port with_ loop variable syntax to Ansbile 2
Migrate to full variable syntax in with_ loop
instead of bare variables for:
- ceph
- ceilometer
- glance
- heat
- horizon
- keystone
- mariadb
- memcached
- neutron
- nova
- rabbitmq

Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08
Partial-Implements: blueprint ansible2
2016-08-09 23:23:21 +07:00
jackning
d707c59b42 Replace horizon default config with custom config
Ansible's template action supports replacing horizon default config with
custom config, it should only add with_first_found param to
config.yml to support this.

Change-Id: I45b8eed5b8d6c4d42672d99e41bc4eff7023a26f
Closes-Bug: #1570677
2016-08-08 23:45:03 +00:00
Jeffrey Zhang
0fcee87549 map the host localtime to the container
Closes-Bug: #1577148
Change-Id: I636cefc63cf532434a41af3898b63dffa711e280
2016-05-03 09:27:51 +08:00
Serguei Bezverkhi
8ec7811037 Changes horizon log location to kolla_logs volume
Changes location of Horizon log, they will be stored on common log volume
kolla_logs.

Change-Id: Ie9d56999a83efd05ab7c3dcb00b4dc42c9bce8f8
Closes-Bug: 1560250
2016-03-22 18:26:18 -04:00
Jeffrey Zhang
9a5150275b Reconfigure horizon service
Implements reconfiguring the horizon service.

Closes-Bug: #1553526

Change-Id: I8bb2398ebdf4b10fe8386f5b2b25802172e1cbd3
2016-03-07 11:42:27 +08:00
Jeffrey Zhang
d26c259754 Add the default empty reconfigure.yml file to all roles
DocImpact

Partially-implements: bp kolla-reconfig
Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-25 09:32:53 +08:00
Jeffrey Zhang
5c1bcb8d16 Playbook for horizon upgrade
Partially-Implements: blueprint upgrade-kolla
Implements: blueprint upgrade-horizon
Change-Id: I11f11a684becd43cb137fe2c5694ca7e887b38ba
2016-02-03 06:18:57 +00:00
Michal Jastrzebski
375965ddfb Add stub upgrade.yml
After introduction of pull action and turing every main.yml into
{{action}}.yml we lost ability to perform upgrade

Change-Id: Ie9fa2cd083b061033abc733fba53d54f9c55e393
Fixes-Bug: #1538210
2016-01-26 11:52:19 -06:00
Maciej Szankin
57fdb0ceed Consistency changes in configs
TrivialFix

Change-Id: Iafd92e4e962dec5a225582ff058ab3603e5a50bb
2016-01-19 14:58:11 +01:00
SamYaple
715942ce30 Allow horizon role to pull images
Change-Id: Iea91c39733d56a9291287a78a44756d8d38ca71d
Partially-Implements: blueprint pre-pull-images
2016-01-06 04:23:28 +00:00
SamYaple
0ddc6df9bc Convert horizon to kolla_docker
Change-Id: Ic34e016c1a8dad2599d9afd69829de00ae232fb6
Partially-Implements: blueprint kolla-docker-module
2015-12-31 16:38:56 +00:00
SamYaple
ed82afa8e9 Simplify config creation
Convert config creation from a playbook to an action_plugin. This
reduces the complexity and confusion while retaining the same augment
structure and flexibility.

This allows us to remove the 0-byte files as requirements. They will
still be used if they are present (this means we require additional
documentation around them).

DocImpact
Closes-Bug: #1528430
Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
2015-12-22 04:28:53 +00:00