Skip to content

Commit 3fc92f4

Browse files
committed
Merge upstream stable/stein
Change-Id: I9d28bb6f656c39acf36b5b2ee8113b03ea176cd9
2 parents cd465b9 + ebfc0a7 commit 3fc92f4

File tree

69 files changed

+381
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+381
-79
lines changed

docker/aodh/aodh-api/extend_start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
66
# Loading Apache2 ENV variables
77
. /etc/apache2/envvars
8+
install -d /var/run/apache2/
89
rm -rf /var/run/apache2/*
910
else
1011
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

docker/barbican/barbican-api/extend_start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ if [[ "$(whoami)" == 'root' ]]; then
1414
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
1515
# Loading Apache2 ENV variables
1616
. /etc/apache2/envvars
17+
install -d /var/run/apache2/
1718
rm -rf /var/run/apache2/*
1819
else
1920
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

docker/base/Dockerfile.j2

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,12 @@ COPY sources.list.{{ base_distro }} /etc/apt/sources.list
295295
{% else %}
296296
COPY sources.list.{{ base_distro }}.{{ base_arch }} /etc/apt/sources.list
297297
{% endif %}
298+
COPY sources.list /etc/apt/sources.list.d/kolla-custom.list
298299
{% endblock %}
299300

300301
{% block base_ubuntu_package_apt_preferences %}
301302
COPY apt_preferences.{{ base_distro }} /etc/apt/preferences
303+
COPY apt_preferences /etc/apt/preferences.d/kolla-custom
302304
{% endblock %}
303305

304306
{% set base_apt_packages = [

docker/base/apt_preferences

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# used for adding custom options by 'apt_preferences' option of kolla-build.conf

docker/base/apt_preferences.debian

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# We do not want packages from this repo
2+
Package: *
3+
Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster
4+
Pin-Priority: 100
5+
6+
# Unless it is kibana (on aarch64)
7+
Package: kibana
8+
Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster
9+
Pin-Priority: 600
10+
11+
# on x86-64 use upstream package for kibana
12+
Package: kibana
13+
Pin: release o=elastic,b=amd64
14+
Pin-Priority: 700
15+
16+
# We need fixed libvirt for aarch64
17+
Package: *libvirt*
18+
Pin: release o=obs://private/home:marcin.juszkiewicz/debian-buster
19+
Pin-Priority: 600
20+
21+
# on x86-64 we want libvirt from Debian
22+
Package: *libvirt*
23+
Pin: release o=Debian,b=amd64
24+
Pin-Priority: 700
25+
26+
# on ppc64le we want libvirt from Debian
27+
Package: *libvirt*
28+
Pin: release o=Debian,b=ppc64le
29+
Pin-Priority: 700

docker/base/sources.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# used for adding custom repos by 'apt_sources_list' option of kolla-build.conf

docker/base/sources.list.debian

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ deb http://buster-stein.debian.net/debian buster-stein-backports-nochange main
1818

1919
# td-agent for fluentd
2020
deb http://packages.treasuredata.com/3/debian/stretch stretch contrib
21+
22+
# kibana for non-x86 and fixed libvirt for aarch64
23+
deb https://obs.linaro.org/repos/home:/marcin.juszkiewicz/debian-buster ./

docker/cinder/cinder-api/extend_start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
99
fi
1010

1111
if [[ "${!KOLLA_OSM[@]}" ]]; then
12-
if [[ -z ${MAX_NUMBER} ]]; then
12+
if [[ "${!MAX_NUMBER[@]}" ]]; then
1313
cinder-manage db online_data_migrations --max_count ${MAX_NUMBER}
1414
else
1515
cinder-manage db online_data_migrations
@@ -24,6 +24,7 @@ if [[ "$(whoami)" == 'root' ]]; then
2424
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
2525
# Loading Apache2 ENV variables
2626
. /etc/apache2/envvars
27+
install -d /var/run/apache2/
2728
rm -rf /var/run/apache2/*
2829
else
2930
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

docker/cloudkitty/cloudkitty-api/extend_start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
66
# Loading Apache2 ENV variables
77
. /etc/apache2/envvars
8+
install -d /var/run/apache2/
89
rm -rf /var/run/apache2/*
910
else
1011
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

docker/crane/extend_start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ if [[ "$(whoami)" == 'root' ]]; then
77
if [[ "${KOLLA_BASE_DISTRO}" =~ debian|ubuntu ]]; then
88
# Loading Apache2 ENV variables
99
. /etc/apache2/envvars
10+
install -d /var/run/apache2/
1011
rm -rf /var/run/apache2/*
1112
else
1213
rm -rf /var/run/httpd/* /run/httpd/* /tmp/httpd*

0 commit comments

Comments
 (0)