11098 Commits

Author SHA1 Message Date
Zuul
3190a2fdaa Merge "CI: Remove ceph-base and remove file check from ceph-ansible-base" 2020-02-13 20:12:26 +00:00
Zuul
d8300d5ae7 Merge "Fix swift entries in group_vars/globals.yml" 2020-02-13 18:26:20 +00:00
Dincer Celik
7b0022b957 Follow up on Ansible version checking
The bash part of version checking fails when ANSIBLE_DEBUG is set
while running kolla-ansible, so need to skip it.

Change-Id: I4adc986365c4b0c11eb69e128eb7d037a24a2baf
2020-02-13 21:05:47 +03:00
Zuul
4b26c4dd2c Merge "CI: Fix deploy guide jobs" 2020-02-13 16:43:18 +00:00
Zuul
931a2b8366 Merge "CI: Ignore zuul.d" 2020-02-13 16:40:46 +00:00
Michal Nasiadka
24e8d65711 CI: Remove ceph-base and remove file check from ceph-ansible-base
Change-Id: I2c20bfda66996b58760f24bf4c41122874d27b41
2020-02-13 15:42:27 +01:00
Michal Nasiadka
ab3151d8f2 Fix swift entries in group_vars/globals.yml
Change-Id: I41c2fb7d476d553aeaca34feef1d045967c284fb
2020-02-13 15:33:13 +01:00
Radosław Piliszek
707f0c855e CI: Generate ARA HTML
Since move to Swift ARA database does not render server-side,
let's make it render HTML locally as suggested.

Change-Id: I1190526c02d1f312d5284544d6e5be433dd839fa
2020-02-13 13:43:10 +01:00
Zuul
cd3c51197e Merge "Remove kolla-ceph" 2020-02-13 10:09:24 +00:00
Radosław Piliszek
410fcc6363 Fix Prometheus mysqld exporter pointing to VIP address
Change-Id: I4f553bd0888e200ddf744604c5029e67a95ee2cd
Closes-bug: #1863041
2020-02-13 10:27:45 +01:00
Zuul
340418d930 Merge "Docs: Document EXTRA_OPTS" 2020-02-13 02:24:45 +00:00
Zuul
e298475488 Merge "Use internal API for masakari-monitor" 2020-02-12 18:48:23 +00:00
Zuul
06eabcb919 Merge "Upgrade virtualenv in pre" 2020-02-12 16:57:38 +00:00
Zuul
a9d5d31934 Merge "External Ceph: Fix hardcoded gnocchi keyring" 2020-02-12 13:48:42 +00:00
Michal Nasiadka
241e34748d Upgrade virtualenv in pre
Since virtualenv 20.0 (amongst other changes) six version >1.12.0 is required.
This change adds upgrade of virtualenv and six in pre - to be reverted once
infra CentOS images are sorted out.

Change-Id: I0ca0347bb6ebc5d8f5d22f708211e01221165262
2020-02-12 13:48:25 +01:00
Radosław Piliszek
adbe115e39 Use more permissive regex to remove the offending 127.0.1.1
line from /etc/hosts

Ubuntu always uses 127.0.1.1 for that with some tricky sauce
around `hostname` depending on whether it contains '.' or not.
And when I mean `hostname` it's the one returned by `hostname`
command with no arguments.

ansible_hostname is always a single word so we can match on that.

I did not want to remove just any 127.0.1.1 in case someone
is using it for other purposes. :-)

Change-Id: I8bd3d42a5e3bd0f63336ed60a0af90d52b1650d6
Closes-bug: #1862739
2020-02-12 12:16:26 +01:00
Mark Goddard
9b484c25e4 Docs: Document EXTRA_OPTS
Also better organise the 'tips and tricks' section.

Change-Id: If20a89ae93b64b5a1b5895bb9dc73c4e70adaba7
Related-Bug: #1862649
2020-02-12 10:42:42 +00:00
Gaëtan Trellu
7f951ea56e Use internal API for masakari-monitor
By default api_interface is set to public, masakari-monitor
on compute nodes should communicate via the internal API to
reach masakari-api.

Change-Id: I454f44e57d7b17d93d4aefc4cbbed93aefe874b1
Closes-Bug: #1858431
2020-02-12 10:23:50 +00:00
Zuul
3269b13ddd Merge "Ironic: fix documentation again" 2020-02-12 03:53:04 +00:00
Zuul
ece2606aeb Merge "CI: Add TLS tests" 2020-02-12 01:20:19 +00:00
Michal Nasiadka
4e6fe7a6da Remove kolla-ceph
Kolla-Ansible Ceph deployment mechanism has been deprecated in Train [1].

This change removes the Ansible code and associated CI jobs.

[1]: https://review.opendev.org/669214

Change-Id: Ie2167f02ad2f525d3b0f553e2c047516acf55bc2
2020-02-11 11:42:06 +01:00
Mark Goddard
58816f738e Ironic: fix documentation again
Ports need physical-network to be set for a flat network, otherwise they
will not bind.

Closes-Bug: #1862628
Change-Id: I9d579b4317a8acbc3e51bbd9c0236846b75d598b
2020-02-11 10:05:20 +00:00
Michal Nasiadka
d43fd1864b External Ceph: Fix hardcoded gnocchi keyring
Change-Id: I507ebba82227e5f4567de6f5a0cb76f8ee46b2e3
Closes-Bug: #1862393
2020-02-11 08:59:07 +00:00
Zuul
b8fb5666c3 Merge "Ironic: fix documentation" 2020-02-11 08:02:45 +00:00
Zuul
d927750faa Merge "Docs: show other versions" 2020-02-11 07:58:44 +00:00
Zuul
a38c672ab4 Merge "Add --clean to kolla-mergepwd" 2020-02-10 19:00:16 +00:00
Radosław Piliszek
2564b391ed CI: Fix deploy guide jobs
This fixes files relevant for them because k-a uses common files
for both docs and deploy guide.
We need this to finally get rid of Rocky mentions despite our
recent fixes to docs.

Change-Id: I46c564f3d3e53c54148186fbadfd7380c4f2fd30
2020-02-10 14:07:53 +00:00
Radosław Piliszek
b7ffe4c270 CI: Ignore zuul.d
Zuul handles jobs updates just fine, no need to run k-a jobs
when touching zuul.d for different reasons.

Change-Id: I4e4dd1ff26ff46c47c84a9c144d9c91ae3e93a04
2020-02-10 15:06:55 +01:00
Mark Goddard
a8529db5fc Ironic: fix documentation
Backport: train

* Ironic dropped CoreOS IPA images in Train - use CentOS DIB images
* Nova flavor requires dropping standard resources
* Link to sections in ironic docs

Change-Id: Id65ada7cd6766d3a907a5a1da54978b56319979c
2020-02-10 13:02:54 +00:00
Radosław Piliszek
c83c5b0edc Docs: fix cells upgrade guide
Change-Id: Ia122aa157413e71eb50bd22e3c9f44a2e5c0bf4f
2020-02-08 16:29:40 +01:00
Radosław Piliszek
ed225a36d8 Add --clean to kolla-mergepwd
to clean old keys on merge.

Change-Id: Ifcc99e7c737707eea9e951db066dc94fd85bd9f7
2020-02-08 16:28:33 +01:00
Radosław Piliszek
a7f88f2d81 Docs: show other versions
Change-Id: Ib92607d5b5804e6fb166d9c2b20a803e130cb268
2020-02-07 18:55:35 +01:00
Zuul
4200089716 Merge "Generate self signed TLS certificates" 2020-02-07 17:33:49 +00:00
Zuul
c108e07db9 Merge "Use kolla_toolbox to execute REST methods" 2020-02-07 17:33:48 +00:00
Zuul
b3c8ff59f1 Merge "Copy CA into containers." 2020-02-07 17:25:01 +00:00
Pierre Riteau
fc3492bcb1 Use InfluxDB default [http]/max-row-limit setting
Since version 1.2.2, InfluxDB uses 0 (unlimited) as default value for
[http]/max-row-limit [1].

Using the default value resolves an issue with the CloudKitty v1 API
returning only 10000 dataframes.

[1] https://docs.influxdata.com/influxdb/v1.7/about_the_project/releasenotes-changelog/#v1-2-2-2017-03-14

Change-Id: I6eb8c1216e3a9295b7d8cb7fbcbb8778ae7caf7e
Closes-Bug: #1862358
2020-02-07 16:41:29 +01:00
Alexis Deberg
bbf58f5723 Swift: remove meta field from rsync command
Remove the {meta} from the default settings in the account, container
and object services templates.

Change-Id: I079fddf8feb020bed93bf44b8aaec0882823e15c
Closes-Bug: #1862058
2020-02-06 17:04:18 -05:00
Mark Goddard
5b38fbfc23 CI: Use auto-detected python interpreter except on CentOS 7
This switches to python 3 as the remote python interpreter on
Debian/Ubuntu jobs, with CentOS 7 as the only exception using python 2.

Also switch to auto-detection of the interpeter except for CentOS 7,
which should be based on the one used by ansible-playbook (python 3).

Change-Id: Ie4aff6123dfc7267fe78f4bd736565fb72fe135e
Partially-Implements: python-3
2020-02-06 13:25:21 +00:00
Radosław Piliszek
287adab05e CentOS 8: Add deploy jobs in CI
Adds new CI job definitions for CentOS 8:

- kolla-ansible-centos8-source
- kolla-ansible-centos8-binary
- kolla-ansible-centos8-source-ceph-ansible
- kolla-ansible-centos8-source-cinder-lvm
- kolla-ansible-centos8-source-mariadb
- kolla-ansible-centos8-source-bifrost
- kolla-ansible-centos8-source-zun
- kolla-ansible-centos8-source-swift
- kolla-ansible-centos8-source-scenario-nfv
- kolla-ansible-centos8-source-ironic
- kolla-ansible-centos8-binary-ironic
- kolla-ansible-centos8-source-masakari
- kolla-ansible-centos8-source-cells

The following jobs are added to the check pipeline:

- kolla-ansible-centos8-source
- kolla-ansible-centos8-binary
- kolla-ansible-centos8-source-cinder-lvm
- kolla-ansible-centos8-source-mariadb
- kolla-ansible-centos8-source-zun
- kolla-ansible-centos8-source-swift
- kolla-ansible-centos8-source-scenario-nfv
- kolla-ansible-centos8-source-ironic
- kolla-ansible-centos8-binary-ironic
- kolla-ansible-centos8-source-cells

The following jobs are not yet passing so are not added to the check
pipeline:

- kolla-ansible-centos8-source-ceph-ansible
- kolla-ansible-centos8-source-bifrost
- kolla-ansible-centos8-source-masakari

The kolla-ansible-centos8-source job is added to the gate.

Upgrade jobs will be added when CentOS 8 support exists in Train.

Depends-On: https://review.opendev.org/704337
Depends-On: https://review.opendev.org/704848
Depends-On: https://review.opendev.org/704965

Co-Authored-By: Mark Goddard <mark@stackhpc.com>

Change-Id: Ibd806feee71721b122b77d7eff33228ca1cc2853
Partially-Implements: blueprint centos-rhel-8
2020-02-06 11:43:50 +00:00
Radosław Piliszek
5b0894299e CI: Replace cinder-lvm scenario with zun scenario
As discussed during the meeting. [1]

[1] http://eavesdrop.openstack.org/meetings/kolla/2020/kolla.2020-02-05-15.00.html

Change-Id: I339fc7f01f640a32ff35d19ded54b6f8e2fdec15
2020-02-05 18:25:18 +01:00
Zuul
c5b4ca4f1f Merge "Ceph-Ansible upgrade jobs" 2020-02-05 14:47:42 +00:00
Zuul
1160fa3d1c Merge "doc: external Ceph - add manila ceph caps note" 2020-02-05 11:43:02 +00:00
Zuul
4f83be3281 Merge "CI: build swift images for swift scenario" 2020-02-05 10:38:45 +00:00
Zuul
157acea6d5 Merge "CentOS 8: Deploy CentOS 8 containers" 2020-02-05 10:34:06 +00:00
Zuul
36c2201a3b Merge "Fix keystone fernet bootstrap" 2020-02-05 10:31:52 +00:00
Michal Nasiadka
f9046c2dd9 Ceph-Ansible upgrade jobs
Change-Id: Ifc87adbac6bef0aaab2ad0e80739654b3e3123ad
2020-02-05 08:15:29 +00:00
Doug Szumski
f19eb7de88 Disable Fluentd Monasca plugin retry limit
By default a retry limit of 17 exists. When the limit is reached buffered
logs are discarded. To avoid this, we disable the retry limit. The risk of
bringing down the host by filling the Fluent data docker volume is managed
by the maximum buffer size which is 2GB by default.

In summary, after this change, the net behaviour is that Fluentd should
buffer up to a maximum of 2GB of logs locally, and attept to post them to
the Monasca Log API at intervals not exceeding 30 minutes.

Closes-Bug: #1855702
Change-Id: I0d5a3dab29635c00411f4f51e5a0721726df2abd
2020-02-04 17:00:00 +00:00
Doug Szumski
5293b1294f Enable buffering to file for Monasca logs
This enables buffering to file, rather than memory for Monasca logs.
A dedicated docker volume is used for the file buffer. If a post
to the Monasca Log API fails, retries will be made using an exponential
backoff algorithm with a maximum retry interval of 30mins. The maximum
interval is set relatively low to try and reduce the risk of large
buffers accumulating, and therefore the risk of overloading the Monasca
Log API.

Closes-Bug: #1855700
Change-Id: Ib5286e9dbaf2bc92d2f4960b2131223ab5dbdbec
2020-02-04 16:59:54 +00:00
Zuul
ac876459ba Merge "Remove unused python path calculation from vmtp" 2020-02-04 14:10:40 +00:00
Zuul
14a9ec7916 Merge "Python 3: Use distro_python_version for monasca agent CA file" 2020-02-04 14:07:12 +00:00