10189 Commits

Author SHA1 Message Date
Zuul
49c2f48916 Merge "Fix mongo command for supporting other port" 2019-06-18 17:40:02 +00:00
Zuul
0bd468004e Merge "Do not create Keystone domain-specific config directory if useless" 2019-06-18 17:02:08 +00:00
Doug Szumski
d89a89c26b Format internal Fluentd logs
This change formats internal Fluent logs in a similar way to other
logs. It makes it easier for a user to identify issues with Fluent
parsing logs. Any failure to parse a log will be ingested into the
logging framework and can easily be located by searching for
'pattern not match' or by filtering for Fluent log warnings.

Change-Id: Iea6d12c07a2f4152f2038d3de2ef589479b3332b
2019-06-18 15:56:16 +01:00
ZijianGuo
cd836dd39f Fix the redis_connection_string for osprofiler and make it generic
* When using redis as the backend of osprofiler, it cannot connect to
redis because the redis_connection_string is incorrect.

* Let other places that use redis also use this variable.

Change-Id: I14de6597932d05cd7f804a35c6764ba4ae9087cd
Closes-Bug: #1833200
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2019-06-18 21:52:52 +08:00
Zuul
2fd984544d Merge "Comment out all variables in globals.yml" 2019-06-18 12:19:10 +00:00
Zuul
80f7926204 Merge "Make cron jobs generator command task in keystone non-changing" 2019-06-18 12:19:08 +00:00
Doug Szumski
cfeb9dd9ef Don't drop unmatched Kolla service logs
Kolla service logs which don't match a Fluentd rewriterule get dropped.
This change prevents that by tagging them with 'unmatched'.

Change-Id: I0a2484d878d5c86977fb232a57c52f874ca7a34c
2019-06-18 12:19:09 +01:00
Doug Szumski
cb404743be Increase log coverage for Monasca
Monasca Python service logs prior to this change were being dropped
due to missing entries in the Fluent record_transformer config file.
This change adds support for ingesting those logs, and explicitly
removes support for ingesting Monasca Log API logs to reduce the risk
of feedback, for example if debug logging is turned on in the Monasca
Log API.

Change-Id: I9e3436a8f946873867900eed5ff0643d84584358
2019-06-18 12:17:32 +01:00
Doug Szumski
4b31fdcf35 Ingest non-standard Monasca logs
Presently, errors can appear in Fluentd and Monasca Log API logs due
to log output from some Monasca services, which do not use Oslo log,
being processed alongside other OpenStack logs which do.

This change parses these log files separately to prevent these errors.

Change-Id: Ie3cbb51424989b01727b5ebaaeba032767073462
2019-06-18 12:14:58 +01:00
Radosław Piliszek
0ea991e4d2 Make Ceph upgrade check Ceph release to avoid EPERM
Since we have different upgrade paths, we must use the actually
installed Ceph release name when doing require-osd-release

Closes-Bug: #1832989

Change-Id: I6aaa4b4ac0fb739f7ad885c13f55b6db969996a2
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-18 11:35:43 +02:00
Zuul
f1deb7467c Merge "Fix placement log perms in config.json" 2019-06-17 17:48:54 +00:00
Radosław Piliszek
802dfce4a8 Make cron jobs generator command task in keystone non-changing
The task does not change any state but is used to set a fact
from parsed output.

Also adjust task name.

Change-Id: I5fe322546d82a373522645485be18fe7bfc57999
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-17 18:55:51 +02:00
Zuul
6cae4dedfe Merge "Remove nova-consoleauth" 2019-06-17 16:28:45 +00:00
chenxing
31526d4c26 doc: Start using openstackdoctheme's extlink extension
This ensures we have version-specific references to other projects [1].
Note that this doesn't mean the URLs are actually valid - we need to do
more work (linkcheck?) here, but it's an improvement nonetheless.

[1] https://docs.openstack.org/openstackdocstheme/latest/#external-link-helper

Change-Id: I118e4d211617c5df66ff04dc04e308a1d2fc67ad
2019-06-17 23:00:42 +08:00
Radosław Piliszek
ce680bcfe2 Avoid parallel discover_hosts (nova-related race condition)
In a rare event both kolla-ansible and nova-scheduler try to do
the mapping at the same time and one of them fails.
Since kolla-ansible runs host discovery on each deployment,
there is no need to change the default of no periodic host discovery.

I added some notes for future. They are not critical.
I made the decision explicit in the comments.
I changed the task name to satisfy recommendations.
I removed the variable because it is not used (to avoid future doubts).

Closes-Bug: #1832987

Change-Id: I3128472f028a2dbd7ace02abc179a9629ad74ceb
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-16 20:42:39 +02:00
Xing Zhang
f7bfce20ad
Fix mongo command for supporting other port
If we change mongodb_port, the command for bootstraping mongodb
should not connect to the default mongodb port 27017.

Change-Id: I330999be577d6416df162ea33fa1f7a19df56029
2019-06-16 18:32:24 +08:00
Radosław Piliszek
24b3df90ba Do not run Zuul kolla-ansible-base jobs when modifying globals.yml
The file is not used in Zuul jobs. It is templated independently.

Change-Id: Ia39898cdb165e30dab74de727048be2ebb2290c8
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-16 11:13:10 +02:00
Radosław Piliszek
16e58a463a Comment out all variables in globals.yml
To be consistent.

Also fix surrounding comments.

Change-Id: Id1a65ab3379ca76192e9291f941b9b675a05ff09
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-16 10:53:58 +02:00
Jeffrey Zhang
4e032923c0 Remove nova-consoleauth
The nova-consoleauth service was deprecated during the Rocky release [1]
and has not been necessary since unless you're using cells v1. As Kolla
has never supported cells v1, which is finally being removed during
Train [2], we can get ahead of the curve and stop deploying
nova-consoleauth immediately.

[1] https://specs.openstack.org/openstack/nova-specs/specs/rocky/implemented/convert-consoles-to-objects.html
[2] https://blueprints.launchpad.net/nova/+spec/remove-cells-v1/

Change-Id: I099080979f5497537e390f531005a517ab12aa7a
2019-06-16 16:39:07 +08:00
Radosław Piliszek
5729af8ab7 Do not create Keystone domain-specific config directory if useless
The task was duplicated below (and this other one is conditional).
Additionally fix related tasks names.

Change-Id: I76a6dd84e78277f87b04951eb4e75bbdfc1c38bf
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-06-14 18:07:42 +02:00
Zuul
cb0cb441c2 Merge "Update service_provider for FWaaS v2" 2019-06-13 19:24:21 +00:00
Zuul
f7c0e3cdbe Merge "Remove obsolete roles middleware" 2019-06-13 19:24:20 +00:00
Zuul
64c31d1552 Merge "Remove ceilometer transformers config" 2019-06-13 19:24:18 +00:00
Zuul
f0e5f76c64 Merge "Elevate privileges for copying gnocchi policy.json" 2019-06-13 19:24:17 +00:00
Zuul
297cade18c Merge "Fixes VMTP deploys." 2019-06-13 19:24:15 +00:00
Zuul
9c342241f7 Merge "Fix mongo command for checking replication status" 2019-06-13 19:24:14 +00:00
Zuul
922a262345 Merge "Fix issues obtaining Keystone token with Monasca Grafana" 2019-06-13 19:15:43 +00:00
Zuul
29b755eb15 Merge "Remove Neutron LBaaS support" 2019-06-13 19:15:42 +00:00
Zuul
bc117137e6 Merge "Add support for idempotent container stop and removal" 2019-06-13 19:15:40 +00:00
Zuul
b24c3d3b54 Merge "Add load monitoring plugin config for Monasca" 2019-06-13 19:15:39 +00:00
Zuul
ede5f41be3 Merge "Supporting monitoring time synchronisation with Monasca" 2019-06-13 18:58:33 +00:00
Zuul
2af1df6c99 Merge "Fix issue finding custom, host specific plugins" 2019-06-13 18:58:32 +00:00
Zuul
ee895413eb Merge "Stop duplicating Nova cells" 2019-06-13 18:56:00 +00:00
Pierre Riteau
cc011ceb41 Remove heat_watch_server_url configuration option
The AWS-compatible CloudWatch API has been removed from Heat in Queens.
Remove its configuration option from the heat.conf template.

Change-Id: If6f7dd28bbb75308ef434c166c28a5cf4a624cbd
2019-06-13 17:58:46 +01:00
Michal Nasiadka
b850eeec9c Fix placement log perms in config.json
Currently placement-api is configured to log to
/var/log/kolla/placement/placement-api.log, but config.json is changing
permissions of /var/log/kolla/placement/placement.log - this patch
changes this.

Change-Id: I7f1591bdbc7c03302befc3ca6ebf1b13c95640c2
2019-06-13 08:22:21 +00:00
Zuul
806e6be181 Merge "Set log message field name in Monasca Fluentd plugin" 2019-06-11 12:43:41 +00:00
Mark Goddard
845040ad3f Add CI job for ironic
Adds four new CI jobs for testing centos/ubuntu binary/source deploys
with ironic enabled. These are run only when there are changes to the
ironic role.

Performs some simple testing by creating a node using the fake-hardware
hardware type and creating a server.

Change-Id: Ie669e57ce2af53257b4ca05f45193cb73f48827a
Depends-On: https://review.opendev.org/664011
2019-06-11 10:22:04 +01:00
Zuul
860f4ea605 Merge "Include cron_generator script in coverage report" 2019-06-11 08:05:40 +00:00
Mark Goddard
6b87514b14 Disable and remove OracleLinux CI jobs
We have agreed to remove support for Oracle Linux, starting by
disabling
the CI jobs.

http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006896.html

Change-Id: I79f6ec98383b1f59b8317a3720f6f9923d6bb21d
2019-06-10 08:49:10 +01:00
ZijianGuo
08f5c50e74 Fix mongo command for checking replication status
By default, the mongo command connection address is '127.0.0.1:27017'.
If we change mongodb_port, It cause the handle 'Checking current
replication status' always connect to '127.0.0.1:27017'. So we need
add options like '--host' and '--port'.

Change-Id: I172ef3d19ff2bea97db3a5207c1a984cd188ceba
Signed-off-by: ZijianGuo <guozijn@gmail.com>
2019-06-10 10:58:51 +08:00
Zuul
a7d7838689 Merge "fluentd: Configure td-agent only for x86_64" 2019-06-07 22:30:43 +00:00
Doug Szumski
9a402018fc Include cron_generator script in coverage report
Change-Id: Ic011c25c491d7d2e1d1d656d8d1653e14bb2d1f1
2019-06-07 15:01:03 +00:00
Zuul
1151e5802b Merge "Fix the deploy guide build failed" 2019-06-07 13:16:10 +00:00
Doug Szumski
4be219fcb7 Fix issue finding custom, host specific plugins
The results from the find operation need to be registered per host,
because they depend on the host which runs the search. This bug
impacts users specifying custom plugins for specific hosts.

Change-Id: I41b2986b2f4ccd8fdc6553e83737e4106b6a2c07
2019-06-07 14:01:45 +01:00
Carlos Goncalves
f427920daf Remove Neutron LBaaS support
The project has been retired and there will be no Train release [1].
This patch removes Neutron LBaaS support in Kolla.

[1] https://review.opendev.org/#/c/658494/

Change-Id: Ic0d3da02b9556a34d8c27ca21a1ebb3af1f5d34c
2019-06-07 13:50:19 +01:00
Mark Goddard
d2ae42ce6d Add support for idempotent container stop and removal
This is useful when removing a container that is no longer supported.

Change-Id: I08d79ce7dd2f3d11e466930de85412017cd5f747
2019-06-07 13:50:01 +01:00
Zuul
ef9e85470b Merge "Check for 'become' in tasks that use Docker in pep8" 2019-06-07 10:47:24 +00:00
Zuul
888e50f01b Merge "Use become for all docker tasks" 2019-06-07 10:47:23 +00:00
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