aboutsummaryrefslogtreecommitdiff
path: root/docker/nova
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-06-04 10:39:19 +0000
committerGerrit Code Review <review@openstack.org>2018-06-04 10:39:19 +0000
commit5caa5e30de05f5879fe56c3b0cb56329c8116d87 (patch)
treefb48538e55cee16d6211f00b1f9aa2384d63eec7 /docker/nova
parent9ef9cbeb8f3504a4d80716e5e6ae7e9e6bb372d6 (diff)
parent14374e715d2a5057a28126c7193cfb6270eabaab (diff)
downloadkolla-5caa5e30de05f5879fe56c3b0cb56329c8116d87.tar.gz
kolla-5caa5e30de05f5879fe56c3b0cb56329c8116d87.zip
Merge "Bump Ubuntu base image to 18.04"
Diffstat (limited to 'docker/nova')
-rw-r--r--docker/nova/nova-compute/Dockerfile.j228
-rw-r--r--docker/nova/nova-libvirt/Dockerfile.j212
2 files changed, 9 insertions, 31 deletions
diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2
index de8f1c821..6138fc399 100644
--- a/docker/nova/nova-compute/Dockerfile.j2
+++ b/docker/nova/nova-compute/Dockerfile.j2
@@ -44,21 +44,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python-guestfs',
'python-ironicclient',
'python-oslo.vmware',
- 'sysfsutils'
+ 'python-rtslib-fb',
+ 'sysfsutils',
+ 'targetcli-fb'
] %}
- # Debian/stretch uses rtslib-fb (like CentOS does)
# systemd is needed to get python-guestfs installed
{% if base_distro == 'debian' %}
{% set nova_compute_packages = nova_compute_packages + [
- 'python-rtslib-fb',
- 'systemd/stretch-backports',
- 'targetcli-fb'
- ] %}
- {% elif base_distro == 'ubuntu' %}
- {% set nova_compute_packages = nova_compute_packages + [
- 'python-rtslib',
- 'targetcli'
+ 'systemd/stretch-backports'
] %}
{% endif %}
@@ -103,7 +97,9 @@ RUN rm -f /etc/nova/nova-compute.conf
'parted',
'python-guestfs',
'python-libvirt',
- 'qemu-utils'
+ 'python-rtslib-fb',
+ 'qemu-utils',
+ 'targetcli-fb'
] %}
{% if base_arch == "aarch64" %}
@@ -112,18 +108,10 @@ RUN rm -f /etc/nova/nova-compute.conf
] %}
{% endif %}
- # Debian/stretch uses rtslib-fb (like CentOS does)
# systemd is needed to get python-guestfs installed
{% if base_distro == 'debian' %}
{% set nova_compute_packages = nova_compute_packages + [
- 'python-rtslib-fb',
- 'systemd/stretch-backports',
- 'targetcli-fb'
- ] %}
- {% elif base_distro == 'ubuntu' %}
- {% set nova_compute_packages = nova_compute_packages + [
- 'python-rtslib',
- 'targetcli'
+ 'systemd/stretch-backports'
] %}
{% endif %}
diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2
index 6b4e05398..49ab79291 100644
--- a/docker/nova/nova-libvirt/Dockerfile.j2
+++ b/docker/nova/nova-libvirt/Dockerfile.j2
@@ -44,6 +44,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_arch != "ppc64le" %}
{% set nova_libvirt_packages = nova_libvirt_packages + [
'dmidecode',
+ 'xen-utils'
] %}
{% endif %}
@@ -52,17 +53,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'libpam-systemd/stretch-backports',
'usermode'
] %}
- {% if base_arch != "ppc64le" %}
- {% set nova_libvirt_packages = nova_libvirt_packages + [
- 'xen-utils-4.8'
- ] %}
- {% endif %}
- {% elif base_distro in ['ubuntu'] %}
- {% if base_arch != "ppc64le" %}
- {% set nova_libvirt_packages = nova_libvirt_packages + [
- 'xen-utils-4.6'
- ] %}
- {% endif %}
{% endif %}
{% endif %}