Skip to content

Commit 0664165

Browse files
authored
Merge pull request #60 from openstack/stable/stein
Merge upstream Stein
2 parents ed5ea74 + 7038e3f commit 0664165

File tree

13 files changed

+86
-20
lines changed

13 files changed

+86
-20
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ cover/
3939
.project
4040
.pydevproject
4141

42+
# Files generated by Visual Studio Code
43+
.vscode/
44+
4245
# Files created by reno build
4346
releasenotes/build
4447

.zuul.d/base.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
- ^releasenotes/.*$
5555
- ^specs/.*$
5656
- ^test-requirements.txt$
57+
- ^\.zuul\.d/
58+
- ^\..+
59+
- ^contrib/
60+
- ^LICENSE$
61+
- ^tox\.ini$
5762
vars:
5863
publisher: false
5964
extra-vars:

.zuul.d/centos.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
# FIXME(yoctozepto): set to voting when TripleO CI is fixed
1212
voting: false
1313
files:
14-
- ^.zuul.d/centos.yaml$
1514
- ^docker/.*$
1615
- ^kolla/.*$
1716
- ^requirements.txt$

docker/base/Dockerfile.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,8 @@ RUN sed -i \
404404
{% endif %}
405405

406406
{% if base_distro == 'centos' or base_distro == 'rhel' %}
407-
RUN sed -ri '/-session(\s+)optional(\s+)pam_systemd.so/d' /etc/pam.d/system-auth
407+
RUN sed -ri '/-session(\s+)optional(\s+)pam_systemd.so/d' /etc/pam.d/system-auth \
408+
&& sed -ri '/^[^#]/ s/systemd//g' /etc/nsswitch.conf
408409
{% endif %}
409410

410411
COPY set_configs.py /usr/local/bin/kolla_set_configs

docker/monasca/monasca-grafana/Dockerfile.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ ARG monasca_grafana_url=https://github.com/monasca/grafana/archive/$monasca_graf
5353
# NOTE(yoctozepto): Update npm to 6.x version to avoid issues with metadata parsing.
5454
# NPM installs itself in /usr/local/bin (the default in Ubuntu) which is not in the PATH.
5555
# This is forced for all distros to avoid conflicts with native packages.
56-
RUN gem install rake:"~>12" fpm \
56+
# NOTE(mgoddard): childprocess 3.0.0 and ffi 1.13.0 depend on Ruby 2.3.
57+
RUN gem install rake:"~>12" ffi:"<1.13.0" childprocess:"<2.0.0" fpm \
5758
&& curl -sSL -o /tmp/monasca-grafana.tgz ${monasca_grafana_url} \
5859
&& mkdir -p ${monasca_grafana_build_path} \
5960
&& tar --strip 1 -xvf /tmp/monasca-grafana.tgz -C ${monasca_grafana_build_path} \

docker/sensu/sensu-client/Dockerfile.j2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
99
{% set sensu_client_packages = [
1010
'ceph-common',
1111
'cyrus-sasl-devel',
12-
'docker-client',
1312
'gcc-c++',
1413
'make',
1514
'mariadb',
1615
'ntp',
1716
'ruby-devel'
1817
] %}
18+
{% if base_distro != 'oraclelinux' %}
19+
# NOTE(mgoddard): Installing docker-client fails on OracleLinux.
20+
{% set sensu_client_packages = sensu_client_packages + [
21+
'docker-client',
22+
] %}
23+
{% endif %}
1924

2025
{% if distro_python_version.startswith('3') %}
2126
{% set sensu_client_packages = sensu_client_packages + [

kolla/common/config.py

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
'bifrost-base': {
316316
'type': 'url',
317317
'location': ('$tarballs_base/bifrost/'
318-
'bifrost-6.0.3.tar.gz')},
318+
'bifrost-6.0.4.tar.gz')},
319319
'blazar-base': {
320320
'type': 'url',
321321
'location': ('$tarballs_base/blazar/'
@@ -331,7 +331,7 @@
331331
'cinder-base': {
332332
'type': 'url',
333333
'location': ('$tarballs_base/cinder/'
334-
'cinder-14.0.4.tar.gz')},
334+
'cinder-14.1.0.tar.gz')},
335335
'congress-base': {
336336
'type': 'url',
337337
'location': ('$tarballs_base/congress/'
@@ -379,11 +379,11 @@
379379
'heat-base': {
380380
'type': 'url',
381381
'location': ('$tarballs_base/heat/'
382-
'openstack-heat-12.0.0.tar.gz')},
382+
'openstack-heat-12.1.0.tar.gz')},
383383
'horizon': {
384384
'type': 'url',
385385
'location': ('$tarballs_base/horizon/'
386-
'horizon-15.2.0.tar.gz')},
386+
'horizon-15.3.0.tar.gz')},
387387
'horizon-plugin-blazar-dashboard': {
388388
'type': 'url',
389389
'location': ('$tarballs_base/blazar-dashboard/'
@@ -507,7 +507,7 @@
507507
'keystone-base': {
508508
'type': 'url',
509509
'location': ('$tarballs_base/keystone/'
510-
'keystone-15.0.0.tar.gz')},
510+
'keystone-15.0.1.tar.gz')},
511511
'kuryr-base': {
512512
'type': 'url',
513513
'location': ('$tarballs_base/kuryr/'
@@ -523,7 +523,7 @@
523523
'manila-base': {
524524
'type': 'url',
525525
'location': ('$tarballs_base/manila/'
526-
'manila-8.1.0.tar.gz')},
526+
'manila-8.1.2.tar.gz')},
527527
'mistral-base': {
528528
'type': 'url',
529529
'location': ('$tarballs_base/mistral/'
@@ -572,7 +572,7 @@
572572
'neutron-base': {
573573
'type': 'url',
574574
'location': ('$tarballs_base/neutron/'
575-
'neutron-14.1.0.tar.gz')},
575+
'neutron-14.2.0.tar.gz')},
576576
'neutron-base-plugin-neutron-fwaas': {
577577
'type': 'url',
578578
'location': ('$tarballs_base/neutron-fwaas/'
@@ -648,15 +648,15 @@
648648
'neutron-server-ovn-plugin-networking-ovn': {
649649
'type': 'url',
650650
'location': ('$tarballs_base/networking-ovn/'
651-
'networking-ovn-6.0.1.tar.gz')},
651+
'networking-ovn-6.1.0.tar.gz')},
652652
'neutron-metadata-agent-ovn-plugin-networking-ovn': {
653653
'type': 'url',
654654
'location': ('$tarballs_base/networking-ovn/'
655-
'networking-ovn-6.0.1.tar.gz')},
655+
'networking-ovn-6.1.0.tar.gz')},
656656
'nova-base': {
657657
'type': 'url',
658658
'location': ('$tarballs_base/nova/'
659-
'nova-19.1.0.tar.gz')},
659+
'nova-19.2.0.tar.gz')},
660660
'nova-base-plugin-blazar': {
661661
'type': 'url',
662662
'location': ('$tarballs_base/blazar-nova/'
@@ -672,7 +672,7 @@
672672
'octavia-base': {
673673
'type': 'url',
674674
'location': ('$tarballs_base/octavia/'
675-
'octavia-4.1.1.tar.gz')},
675+
'octavia-4.1.2.tar.gz')},
676676
'panko-base': {
677677
'type': 'url',
678678
'location': ('$tarballs_base/panko/'
@@ -749,10 +749,6 @@
749749
'type': 'url',
750750
'location': ('$tarballs_base/telemetry-tempest-plugin/'
751751
'telemetry_tempest_plugin-0.3.0.tar.gz')},
752-
'tempest-plugin-tripleo-common': {
753-
'type': 'url',
754-
'location': ('$tarballs_base/tripleo-common-tempest-plugin/'
755-
'tripleo-common-tempest-plugin-master.tar.gz')},
756752
'tempest-plugin-trove': {
757753
'type': 'url',
758754
'location': ('$tarballs_base/trove-tempest-plugin/'

kolla/image/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,17 @@
198198
"monasca-thresh",
199199
"nova-mksproxy",
200200
"ovsdpdk",
201+
"rsyslog",
201202
"searchlight-base",
202203
"solum-base",
204+
"tripleoclient",
203205
"vmtp",
204206
"zun-base"
205207
],
206208
'oraclelinux+source': [
207209
"bifrost-base",
208210
"ovsdpdk",
211+
"rsyslog",
209212
"tripleoclient",
210213
# TODO(jeffrey4l): remove tripleo-ui when following bug is fixed
211214
# https://bugs.launchpad.net/tripleo/+bug/1744215
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
fixes:
3+
- |
4+
Drop systemd support from nsswitch.conf on RHEL-based distros. This avoids
5+
unneeded systemd nss lookups inside containers and it also avoids possible
6+
selinux denials when a container bind mounts /run and makes the dbus socket
7+
available inside the container only to be denied by selinux on the host.

tests/playbooks/pre.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,49 @@
1616
path: "{{ kolla_build_logs_dir }}"
1717
state: directory
1818

19+
- block:
20+
21+
- name: Ensure yum-utils is installed
22+
# NOTE(mgoddard): The CentOS image used in CI has epel-release installed,
23+
# but the configure-mirrors role used by Zuul disables epel. Since we
24+
# install epel-release and expect epel to be enabled, enable it here.
25+
package:
26+
name: yum-utils
27+
state: present
28+
29+
- name: Enable the EPEL repository
30+
command: yum-config-manager --enable epel
31+
32+
become: true
33+
when:
34+
- ansible_os_family == "RedHat"
35+
36+
- name: Install Python2 modules
37+
become: true
38+
package:
39+
name:
40+
- python-pip
41+
- python-setuptools
42+
- python-wheel
43+
- python-virtualenv
44+
45+
- name: Install virtualenv on Debian systems
46+
# NOTE(hrw): On RedHat systems it is part of python3-virtualenv
47+
package:
48+
name:
49+
- virtualenv
50+
become: true
51+
when:
52+
ansible_os_family == "Debian"
53+
54+
- name: Upgrade pip to latest version
55+
# NOTE(mnasiadka): pip 8.x delivered with EPEL has problems installing
56+
# zipp and configparser
57+
become: true
58+
command: "pip install --upgrade pip"
59+
1960
- name: Ensure tox is installed
2061
pip:
2162
name: tox
63+
virtualenv: "{{ ansible_user_dir }}/tox-venv"
2264
become: true

0 commit comments

Comments
 (0)