4105 Commits

Author SHA1 Message Date
wu.chunyang
31a6de01f3 dev mode: Add support for sahara
Provide support fot kolla dev mode in sahara. When
'kolla_dev_mode' or 'sahara_dev_mode' variables are
enabled, source code of sahara  project will be  cloned
and  mounted automatically

Partially implements: blueprint mount-sources

Change-Id: I496ea4443ec8ffc4dc9d0f0d3e6a4514d16ed336
Co-Authored-By: zhulingjie <easyzlj@gmail.com>
2018-06-08 02:40:10 +00:00
Zuul
e88b9a7ad4 Merge "osprofiler support redis" 2018-06-07 11:27:55 +00:00
Zuul
74d239bb88 Merge "[kibana] enforce index creation for ELK > 5 (debian)" 2018-06-06 15:49:52 +00:00
Zuul
5155cd1f93 Merge "Fix the ceph warning after upgrade to luminous" 2018-06-06 14:20:23 +00:00
wu.chunyang
176a72e656 fix sahara service-type
the sahara service-type is data-processing,not data_processing
if use data_processing,the sahara client will take mistake.
refer to [1]

[1] https://docs.openstack.org/sahara/latest/install/installation-guide.html#common-installation-steps
Co-Authored-By: zhulingjie <easyzlj@gmail.com>

Change-Id: I4c6704a81921bf713073451dc4e93e44234e5a7c
2018-06-06 11:36:39 +00:00
Zuul
77054d81ea Merge "Use its own host gruop for ceilometer" 2018-06-06 07:13:25 +00:00
chenxing
ab79c3ee28 Fix the ceph warning after upgrade to luminous
Change-Id: Ia94c10ca8292d803bc20650fb1d496002455338f
Closes-Bug: #1771968
2018-06-06 10:36:20 +08:00
Wonil Choi
7c16c1b664 Rename wrong ovsdpdk precheck file
task file name for prechecks is precheck.yml so rename prechecks.yml to
precheck.yml for ovsdpdk.

Closes-Bug: #1774758

Change-Id: I51415ae4dd0f0fcbe45310ba27cad479ba62bac6
Signed-off-by: Wonil Choi <wonil22.choi@samsung.com>
2018-06-05 09:38:28 +00:00
Zuul
9579fa8ddf Merge "dev mode: Add support for ironic" 2018-06-05 08:31:31 +00:00
Zuul
e3494638a2 Merge "Compatible with ubuntu 18.04" 2018-06-05 02:30:54 +00:00
wu.chunyang
291c04c87f dev mode: Add support for ironic
Allows users to develop on ironic using Kolla.

Partially implements: blueprint mount-sources

Change-Id: I74540f5bcbf723f097f3dea96dcaf067834c493a
2018-06-04 13:06:02 +00:00
Zuul
682df77af8 Merge "Add freezer-scheduler hosts into site.yml" 2018-06-04 11:14:53 +00:00
Zuul
9c4d3e01f8 Merge "dev mode: Add support for barbican" 2018-06-04 09:51:13 +00:00
Zuul
b77e66bf33 Merge "Use multipathd hostgroup in the multipathd role" 2018-06-04 08:17:12 +00:00
Zuul
f7950466e3 Merge "Rabbitmq bootstrap enhancement" 2018-06-01 16:56:11 +00:00
Zuul
0dc608ee37 Merge "dev mode: Add support for mistral" 2018-06-01 08:15:28 +00:00
MinSun
ddc564d21f Rabbitmq bootstrap enhancement
Using rabbitmq service defined in default when
boot rabbitmq_bootstrap.
Not a bug here, just an enhancement.

Change-Id: I79f0f7efe3308ed4eb898b85a6370be1bd637d9a
2018-06-01 13:49:11 +08:00
zhulingjie
894d825c7d Use its own host gruop for ceilometer
Change-Id: I8dca3e04d12c7da97f23ff9a297b692f86bbc85b
2018-06-01 04:36:18 +00:00
Zhangfei Gao
ce809aea23 osprofiler support redis
Currently osprofiler only choose elasticsearch,
which is only supported on x86.
On other platform like aarch64 osprofiler can
not be used since no elasticsearch package.

Enable osprofiler by enable_osprofiler: "yes",
which choose elasticsearch by default.
Choose redis by enable_redis: "yes" & osprofiler_backend: "redis"
On platform without elasticsearch support like aarch64
set enable_elasticsearch: "no"

Change-Id: I68fe7a33e11d28684962fc5d0b3d326e90784d78
2018-06-01 09:34:04 +08:00
Zuul
9568f1c790 Merge "Fix Nova authentication in Cinder configuration file" 2018-05-31 11:58:42 +00:00
Zuul
1b55a093dc Merge "Adds parameter to configure HAProxy defaults balance" 2018-05-31 11:49:58 +00:00
Zuul
ffa5e57f20 Merge "Add support for enabling ipxe boot with ironic" 2018-05-31 11:37:52 +00:00
Zuul
360f2b9464 Merge "Add custom option for docker" 2018-05-31 11:15:40 +00:00
Kevin Tibi
b6bab5b931 Add custom option for docker
Some options can't be add in the daemon.json
The only way to configure daemon is to add option in the service file

Change-Id: I88697951ed6518f62bca30bb52288ad0e487ec03
2018-05-30 17:45:27 +02:00
Zuul
e858650006 Merge "Add cAdvisor for Prometheus monitoring" 2018-05-30 15:05:16 +00:00
zhulingjie
6e033e6377 Add freezer-scheduler hosts into site.yml
freezer-scheduer container will run on freezer-scheduler hosts[0],
but it missing in site.yml, when freezer-api and freezer-scheduler
run on different hosts, it will failed.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L376

Change-Id: I1bd36c7c57345ee63cd153df8bd0603badf0d8a2
2018-05-30 10:30:33 -04:00
Zuul
1336b5e6c8 Merge "Mariadb bootstrap_cluster enhancement" 2018-05-30 13:23:34 +00:00
Zuul
759e4ae634 Merge "check cron container error" 2018-05-30 11:34:02 +00:00
Zuul
ed3aff41ee Merge "To avoid creating empty volume for heat" 2018-05-30 09:50:14 +00:00
MinSun
bee02d36a0 Mariadb bootstrap_cluster enhancement
Using mariadb service defined in default when boot bootstrap_mariadb
Not a bug here, just an enhancement.

Change-Id: I1f8b51fb6177a8524483e600701924dbfc3403cb
2018-05-30 10:49:38 +08:00
MinSun
2e123aedc7 check cron container error
In common role, when check common container for cron restart,
we should use cron_container.changed instead of
check_common_containers.changed

Change-Id: Ifaaa437f5e205e970371fbb3660b68df352eb440
Closes-Bug: #1773923
2018-05-30 09:01:25 +08:00
Zuul
295f6c7ee7 Merge "Remove keystone_authtoken section for aodh" 2018-05-29 15:31:21 +00:00
Mark Giles
41254b6c46 Add cAdvisor for Prometheus monitoring
cAdvisor (Container Advisor) provides metrics on resource usage and
performance characteristics of running containers.  This change
deploys a cadvisor container and configures prometheus to scrape
data from it.

Change-Id: I55dd4fee954f9be68efda397746861ddaaa0a565
Partially-Implements: blueprint prometheus
2018-05-29 08:55:58 -04:00
zhulingjie
f8fd06011a Remove keystone_authtoken section for aodh
1. Now, the aodh use [service_credentials] to get credentials[0],
remove the unused [keystone_authtoken]
2. Move memcache stuff into service_credentials section

refer to https://review.openstack.org/#/c/570393/

Change-Id: I08cf3ec4e9ca32cc83d74bd4204e7e170b01feb7
2018-05-29 09:24:34 +00:00
Zuul
b4de44b8be Merge "[elasticsearch] Change ES_HEAP_SIZE to ES_JAVA_OPTS." 2018-05-27 20:30:43 +00:00
ZhijunWei
b3b0d28eb6 To avoid creating empty volume for heat
1. when set heat_dev_mode to no, the volume will be empty[0],
this ps to avoid creating empty volume.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/heat/defaults/main.yml#L13

Change-Id: Id22469442a4713f53646ffec2c5a960722fccb44
2018-05-26 03:37:25 +00:00
Will Szumski
0a1ccc2612 Add support for enabling ipxe boot with ironic
When enable_ironic_ipxe is set in /etc/kolla/globals.yml,
the following happens:

- a new docker container, ironic_ipxe, is created. This contains
  an apache webserver used to serve up the boot images
- ironic is configured to use ipxe

Change-Id: I08fca1864a00afb768494406c49e968920c83ae7
Implements: blueprint ironic-ipxe
2018-05-25 08:20:47 +00:00
Jorge Niedbalski
3b61cc702d [prometheus] Add memcached_exporter.
This patch adds the prometheus_memcached_exporter[0] to the
list of  available exporters, following the conventions
used by the previously integrated exporters.

[0] https://github.com/openstack/kolla/tree/master/docker/prometheus-memcached-exporter

Change-Id: I103b0ee19ef2fd17ce19a27d60773675ad234c1c
Closes-Bug: #1773303
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-25 01:45:13 -04:00
Zuul
f602007148 Merge "nova: make libvirt port configurable and check if the port is free" 2018-05-24 15:11:18 +00:00
Nikita Gerasimov
418a6c8896 Adds parameter to configure HAProxy defaults balance
Introduce new option "haproxy_defaults_balance" to set balance in
defaults section.

Change-Id: Iaf12717ffac94ac2308758bd8ec87f088af26b69
Closes-Bug: #1773178
2018-05-24 17:47:05 +03:00
Zuul
3849fbc5f6 Merge "Remove keystone_authtoken section for vitrage" 2018-05-24 12:18:13 +00:00
Zuul
c100c135bd Merge "fix blazar error in deployment" 2018-05-24 11:23:11 +00:00
Vladislav Belogrudov
8af7372c3d Fix Nova authentication in Cinder configuration file
Cinder requires access to Nova during Nova assisted backups and
snapshots. Both fail without proper Nova authentication section
in cinder.conf file.

Change-Id: I5d1fc3b466bf2df919e426d2052c1ee31c27030d
Closes-Bug: #1772959
2018-05-23 20:04:44 +03:00
Jorge Niedbalski
317a107988 [kibana] enforce index creation for ELK > 5 (debian)
The default index isn't created automatically when using
ELK > 5.x. This commit adds a new task into the post-deploy
taskset to force the creation of the default index.

This patch also enforces the kibana config to set index
as defaultIndex without the need for the defaultIndex property
to already exists , preventing the error exposed on the public bug.

Also added a new option named kibana_default_index_options, with
a default index.mapper.dynamic set to true, this option
can be extended by the operator and they will be applied to the index.

Change-Id: Ica63a5fb30947f7ebae6cf8c80500a7dd0907211
Closes-Bug: #1772687
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-23 09:53:14 -04:00
Zuul
913e6572c1 Merge "horizon: allow to configure by custom_local_settings.j2" 2018-05-23 08:16:26 +00:00
ZhijunWei
e180a98094 Remove keystone_authtoken section for vitrage
1. Now, the vitrage use [service_credentials] to get credentials[0],
remove the unused [keystone_authtoken]
2. Move memcache stuff into service_credentials section

[0]: 5c4bd36e80/vitrage/opts.py (L56)

Change-Id: Id22e59ff572a2fef08906bf6cc48578981d2efd6
2018-05-23 07:06:17 +00:00
wu.chunyang
373416658a fix blazar error in deployment
when deploy this project,it report an error "
blazar_policy_jsons" not found, which result in
faild. this ps to fix it

Change-Id: Ifa4c0f33642e355be8849f2298d4a73c5e6c602c
2018-05-22 14:18:38 +00:00
Jorge Niedbalski
a9693b85ac [elasticsearch] Change ES_HEAP_SIZE to ES_JAVA_OPTS.
After enabling the elasticsearch debian/ubuntu
images the container doesn't starts with ELK 5.4.1
as ES_HEAP_SIZE has been deprecated.

We should use ES_JAVA_OPTS with the -Xms/Xmx options instead.

Closes-Bug: #1772482

Change-Id: I9b368468d41421d679a9c4ad6fdf595863de7a1a
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-21 15:39:53 -04:00
Zuul
2ca94a62d1 Merge "Update the deprecated vnc options" 2018-05-21 15:32:53 +00:00
Zuul
44465b6832 Merge "Fix the permissions of mgr and mds keyring" 2018-05-21 15:32:29 +00:00