Skip to content

Commit 7d0450d

Browse files
hrwdincercelik
authored andcommitted
build: enable Octavia for Ubuntu/binary
Change-Id: Icc68b404d8713a9fcf0026374378d1645fe30d52
1 parent e6d7c81 commit 7d0450d

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

docker/octavia/octavia-api/Dockerfile.j2

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
2222
] %}
2323
{% endif %}
2424
{% elif base_package_type == 'deb' %}
25-
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
26-
&& /bin/false
25+
{% set octavia_api_packages = [
26+
'octavia-api',
27+
'apache2',
28+
'libapache2-mod-wsgi-py3'
29+
] %}
2730
{% endif %}
2831

2932

docker/octavia/octavia-base/Dockerfile.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1313
'openstack-octavia-common'
1414
] %}
1515
{% elif base_package_type == 'deb' %}
16-
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
17-
&& /bin/false
16+
{% set octavia_base_packages = [
17+
'octavia-common'
18+
] %}
1819
{% endif %}
1920

2021
{{ macros.install_packages(octavia_base_packages | customizable("packages")) }}

docker/octavia/octavia-health-manager/Dockerfile.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1111
'openstack-octavia-health-manager'
1212
] %}
1313
{% elif base_package_type == 'deb' %}
14-
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
15-
&& /bin/false
14+
{% set octavia_health_manager_packages = [
15+
'octavia-health-manager'
16+
] %}
1617
{% endif %}
1718

1819
{{ macros.install_packages(octavia_health_manager_packages | customizable("packages")) }}

docker/octavia/octavia-housekeeping/Dockerfile.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1111
'openstack-octavia-housekeeping'
1212
] %}
1313
{% elif base_package_type == 'deb' %}
14-
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
15-
&& /bin/false
14+
{% set octavia_housekeeping_packages = [
15+
'octavia-housekeeping'
16+
] %}
1617
{% endif %}
1718

1819
{{ macros.install_packages(octavia_housekeeping_packages | customizable("packages")) }}

docker/octavia/octavia-worker/Dockerfile.j2

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1111
'openstack-octavia-worker'
1212
] %}
1313
{% elif base_package_type == 'deb' %}
14-
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
15-
&& /bin/false
14+
{% set octavia_worker_packages = [
15+
'octavia-worker'
16+
] %}
1617
{% endif %}
1718

1819
{{ macros.install_packages(octavia_worker_packages | customizable("packages")) }}

kolla/image/build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@
123123
"monasca-thresh",
124124
"nova-mksproxy",
125125
"novajoin-base",
126-
"octavia-base",
127126
# There is no qdrouterd package for ubuntu bionic
128127
"qdrouterd",
129128
"searchlight-base",

0 commit comments

Comments
 (0)