4500 Commits

Author SHA1 Message Date
Doug Szumski
5eb58050f1 Add load monitoring plugin config for Monasca
This simple plugin supports gathering load metrics from /proc.

Change-Id: I536aff093a2af3c6d0d69ae6cbe454aee950f358
2019-06-07 10:54:55 +01:00
Doug Szumski
76e98472f4 Supporting monitoring time synchronisation with Monasca
This plugin is useful for monitoring host clock synchronisation with
an NTP reference. If the delta becomes too large, the metrics from
this plugin can be used to trigger an alarm.

Change-Id: Id1fe6d7c823f8404c19c81ccdeb8b311bcb46e47
2019-06-07 10:54:50 +01:00
Zuul
2d3344e8cd Merge "Fix Blazar Nova aggregate in multi-region setup" 2019-06-06 15:46:30 +00:00
Zuul
4c4a9dc5fb Merge "Make bootstrap more idempotent" 2019-06-06 14:04:12 +00:00
Radosław Piliszek
c8a57d0c19 Make bootstrap more idempotent
No need to touch the sudoers.d file each time
Creation and mode setting is handled by lineinfile itself

Change-Id: Ia36e21b04d3a08fab3c748f6298f142c1d73ee6d
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-06 12:34:17 +02:00
Zuul
fbad0d9cce Merge "Spelling mistake in manila.conf.j2" 2019-06-05 14:50:43 +00:00
Zuul
f9d40d2d77 Merge "Remove unused [service_credentials] config sections" 2019-06-05 14:19:03 +00:00
Jason
f20cbf4958
Fix Blazar Nova aggregate in multi-region setup
The Nova aggregate was always defaulting to some region (usually first
in the Keystone endpoint list) when registering the Nova aggregate for
Blazar. Add in a region override to ensure we are always writing to the
region being deployed.

Change-Id: I3f921ac51acab1b1020a459c07c755af7023e026
2019-06-05 08:18:42 -05:00
Zuul
9d5b405328 Merge "nova: Fix DBNotAllowed during compute startup" 2019-06-04 03:58:15 +00:00
Zuul
2208b0214e Merge "Adds Qinling Ansible role" 2019-06-03 20:29:41 +00:00
Zuul
0f6cd86f3a Merge "Add support for ceilometer custom pipeline.yaml" 2019-06-03 19:35:55 +00:00
Zuul
3d1b53f301 Merge "Make kolla-ansible support extra volumes" 2019-06-03 18:51:24 +00:00
Zuul
300d9ffcc1 Merge "Add support for ceilometer custom event yaml" 2019-06-03 18:29:39 +00:00
Zuul
c3f011f128 Merge "Enable kolla-ansible to use a custom metrics files with Cloudkitty" 2019-06-03 18:06:57 +00:00
sunguangning
f4b49ae5e9 Spelling mistake in manila.conf.j2
Co-Authored-By: liaoweizhong <liaoweizhong@unionpay.com>

Change-Id: I04a9c4bff817601f718bb43f41f3418571b11cf4
Closes-bug: #1830853
2019-06-03 10:55:01 +00:00
Gaetan Trellu
edb3489820 Adds Qinling Ansible role
Qinling is an OpenStack project to provide "Function as a Service".
This project aims to provide a platform to support serverless functions.

Change-Id: I239a0130f8c8b061b531dab530d65172b0914d7c
Implements: blueprint ansible-qinling-support
Story: 2005760
Task: 33468
2019-05-31 10:25:28 -04:00
Pierre Riteau
abf10736c7 Remove unused [service_credentials] config sections
Several services inherited [service_credentials] config sections which
they don't use in their code.

Change-Id: Iccf4358e85fb3d7ed25bc1762ff532b2c32bea4a
2019-05-31 13:25:00 +01:00
Zuul
6c042adfa2 Merge "there is no easy_install in Debian 'buster'" 2019-05-31 11:19:20 +00:00
ZijianGuo
c89b901524 Add support for ceilometer custom pipeline.yaml
This file can be modified to adjust polling intervals or other configurations.
We can add a custom 'pipeline.yaml' file to override it.

Change-Id: I325523edc4f7e37db55a2e21fe52e76138e6d114
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2019-05-23 17:57:16 +08:00
Pierre Riteau
14bf98ddd5 Make "Check if firewalld is installed" task quieter
Stop showing the task has having made changes and silence warning about
not using the yum module (which we could use for the check, but not as
easily).

Change-Id: I9e3608b5db521930409a29981767f468ea234679
2019-05-22 16:38:54 +01:00
ZijianGuo
136210c403 Add support for ceilometer custom event yaml
* event_definitions.yaml:
  This file provides a standard set of events and corresponding traits
that may be of interest.

* event_pipeline.yaml:
  This file can be modified to adjust which notifications to capture and
where to publish the events.

Change-Id: I9c1698e07b65102af9b3ee448ad07f8fa6428b74
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2019-05-22 20:44:56 +08:00
Marcin Juszkiewicz
6cf60d2385 there is no easy_install in Debian 'buster'
Change-Id: I49588f9ceef60472428d835b95d26a36eaf2b47e
2019-05-20 16:29:26 +02:00
Marcin Juszkiewicz
1c866201e3 prechecks: be nice, use print in Py3 way
Change-Id: I7a99567b3d16830e1db641e82a7c9e4eca1ae4e6
2019-05-20 12:53:13 +02:00
Mark Goddard
002eec951f nova: Fix DBNotAllowed during compute startup
backport: stein, rocky

During startup of nova-compute, we see the following error message:

Error gathering result from cell 00000000-0000-0000-0000-000000000000:
DBNotAllowed: nova-compute

This issue was observed in devstack [1], and fixed [2] by removing
database configuration from the compute service.

This change takes the same approach, removing DB config from nova.conf
in the nova-compute* containers.

[1] https://bugs.launchpad.net/devstack/+bug/1812398
[2] 8253787137

Change-Id: I18c99ff4213ce456868e64eab63a4257910b9b8e
Closes-Bug: #1829705
2019-05-20 10:24:28 +01:00
binhong.hua
12ff28a693 Make kolla-ansible support extra volumes
When integrating 3rd party component into openstack with kolla-ansible,
maybe have to mount some extra volumes to container.

Change-Id: I69108209320edad4c4ffa37dabadff62d7340939
Implements: blueprint support-extra-volumes
2019-05-17 11:55:04 +08:00
Zuul
22a6e0216e Merge "Add support for Ceilometer custom gnocchi_resources.yaml" 2019-05-16 11:00:27 +00:00
Zuul
042f2a0406 Merge "Provide support for neutron dev mode in kolla" 2019-05-16 11:00:24 +00:00
Erol Guzoglu
11823e632d Configure region_name in cloudkitty.conf
Change-Id: I3395810f353c1a26eafcf0b97eb416d7083efde1
2019-05-14 16:41:40 +03:00
Rafael Weingärtner
b316587dae Enable kolla-ansible to use a custom metrics files with Cloudkitty
Cloudkitty has a default (built-in the container) metrics.yml file
 in the /etc/cloudkitty/metrics.yml files. We would like to be able
 to overwrite/customize these metrics configurations via kolla-ansible.
 Cloudkitty is able to use a custom metric file via "metrics_conf".
 Therefore, we are enabling this configuration via Kolla-ansible.

Change-Id: Id9019298482c040be05f540e71dacfdf0bd77469
Signed-off-by: Rafael Weingärtner <rafael@apache.org>
2019-05-14 08:25:07 -03:00
Zuul
959e473a1c Merge "Ansible flush_handlers ignores conditional clauses" 2019-05-14 08:04:09 +00:00
ZijianGuo
6532c62c0d Install a list of packages to speed up package installation
Change-Id: I89313d7c279f95e80c593cf02309c8a9f8e6e318
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2019-05-09 21:45:42 +08:00
Raimund Hook
6804a5a682 Ansible flush_handlers ignores conditional clauses
The flush_handlers clause doesn't honour conditional clauses.
Instead, it prints a warning and runs anyway:
[WARNING]: flush_handlers task does not support when conditional

See: https://github.com/ansible/ansible/pull/41126

TrivialFix

Change-Id: Iaf70c2e932ae6dfb723bdb2ba658acdbfe74ebe2
2019-05-09 11:51:59 +01:00
Zuul
0d5ccfefae Merge "Enable deflate when using tls for horizon" 2019-05-07 19:34:21 +00:00
Zuul
eef2bdb80f Merge "Updating Jinja filters to conform to Ansible 2.5+" 2019-05-07 19:32:06 +00:00
Jeffrey Zhang
06a8161a18 Enable deflate when using tls for horizon
deflate is disable because of breach attach[0] issue. But it has be
fixed on horizon size through[1], so we cloud enable deflate all the
time.

compress application/json too in default.

[0] https://wiki.openstack.org/wiki/OSSN/OSSN-0037
[1] https://review.openstack.org/#/c/596549/

Change-Id: I364c8a71633fac846dbaac8eaa0b78191e6d7d0e
Closes-Bug: #1827976
2019-05-07 11:30:56 +08:00
Raimund Hook
726ba75341 Updated ansible uri module HEADERS_ field
This fixes a deprecation warning that gets displayed when running
the kibana/post_config 'Get kibana default indexes' task.

HEADERS_ has been deprecated since ansible 2.1 and will be
removed in 2.9.

https://docs.ansible.com/ansible/latest/modules/uri_module.html

TrivialFix

Change-Id: I177113c606119505c6cb69c66a326f7cbdaf2196
2019-05-04 18:48:03 +01:00
Raimund Hook
84ea42bd7c Updating Jinja filters to conform to Ansible 2.5+
Since Ansible 2.5, the use of jinja tests as filters has been
deprecated.

I've run the script provided by the ansible team to 'fix' the
jinja filters to conform to the newer syntax.

This fixes the deprecation warnings.

Change-Id: I844ecb7bec94e561afb09580f58b1bf83a6d00bd
Closes-bug: #1827370
2019-05-02 14:58:09 +01:00
Zuul
d12e3ef67a Merge "Check if glance_upgrading is defined before using it" 2019-04-26 09:48:33 +00:00
Krzysztof Klimonda
f5b5260866 Check if glance_upgrading is defined before using it
glance_upgrading variable is defined only during rolling upgrades, but
its value is checked on every call to "Restart glance-api container" handler.

Closes-Bug: #1826511
Change-Id: Idc95306c50a09666ac0a12e975307a42aef9e352
2019-04-26 06:58:08 +00:00
Ning Yao
4b1a1d57a9 Add support for Ceilometer custom gnocchi_resources.yaml
By default, Ceilometer uses gnocchi_resources.yaml as cfg_file that defines
the metric archive policy and metrics send to gnocchi. Users may want to define
their own strategy.

Change-Id: I49ba34588101ac2b4f450067c8c9a354134063bb
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
2019-04-25 15:30:54 +08:00
Zuul
a893c439e7 Merge "Move to opendev" 2019-04-24 03:44:36 +00:00
Zuul
a16576e9c0 Merge "Do some Train TODOs" 2019-04-23 06:02:10 +00:00
Zuul
55e8a83f2d Merge "Remove placement migration code" 2019-04-23 05:51:01 +00:00
ZhongShengping
41f3a817ac Move to opendev
1.Use opendev.org instead of git.openstack.org.
2.Use review.opendev.org instead of review.openstack.org.

You can see the discussion below:
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html

Change-Id: Ice4509204df788a1a44a06fb89fb44cfe6b54b94
2019-04-23 13:28:39 +08:00
chenxing
20ef211f6a Increase retries numbers of grafana check task
20 seconds may be too short to wait for grafana ready, Let's keep the
check task 60 seconds.

backport: rocky

Change-Id: Ib219ad215d1ef2147ba3591f8c398feb4f3c8888
Closes-Bug: #1821285
2019-04-20 10:13:52 +00:00
Yang Youseok
50a72cac17 Provide support for neutron dev mode in kolla
Add a possibility to mount sources as volumes to containers,
in "more than documentation" way. That will let us to use kolla
as a replacement for devstack.

Partially implements: blueprint mount-sources

Change-Id: I4868ed6829bd037e1012d1f40c4a1d1b9995bf95
2019-04-19 12:25:37 +09:00
Zuul
707847a6e9 Merge "Set external web URL for Prometheus services" 2019-04-18 10:32:42 +00:00
Zuul
afc3fc0ab2 Merge "Fix ubuntu binary deploys" 2019-04-18 10:00:16 +00:00
Doug Szumski
9d495504be Set external web URL for Prometheus services
This change ensures that URLs returned from these services reference
the HAProxy endpoint, rather than the host on which the service is
running.

Closes-Bug: #1825150
Change-Id: I7f966ff749ea37620f1bde7019a598cb9505fa45
2019-04-17 11:24:52 +01:00
Zuul
b28ffeb27d Merge "Remove RabbitMQ support from Bifrost" 2019-04-15 11:30:57 +00:00