diff options
| -rw-r--r-- | docker/glance/glance-api/Dockerfile.j2 | 9 | ||||
| -rw-r--r-- | releasenotes/notes/bug-1868574.yaml | 6 |
2 files changed, 12 insertions, 3 deletions
diff --git a/docker/glance/glance-api/Dockerfile.j2 b/docker/glance/glance-api/Dockerfile.j2 index 2eff6e383..e6a972ab4 100644 --- a/docker/glance/glance-api/Dockerfile.j2 +++ b/docker/glance/glance-api/Dockerfile.j2 @@ -6,11 +6,14 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% import "macros.j2" as macros with context %} {% if base_distro in ['centos', 'oraclelinux'] %} - {% set glance_api_packages = ['qemu-img-ev'] %} + {% set glance_api_packages = ['nfs-utils', 'qemu-img-ev'] %} {% elif base_distro == 'rhel' %} - {% set glance_api_packages = ['qemu-img'] %} + {% set glance_api_packages = ['nfs-utils', 'qemu-img'] %} {% elif base_package_type == 'deb' %} - {% set glance_api_packages = ['qemu-utils'] %} + {% set glance_api_packages = [ + 'nfs-common', + 'qemu-utils' + ] %} {% endif %} {{ macros.install_packages(glance_api_packages | customizable("packages")) }} diff --git a/releasenotes/notes/bug-1868574.yaml b/releasenotes/notes/bug-1868574.yaml new file mode 100644 index 000000000..b23013a41 --- /dev/null +++ b/releasenotes/notes/bug-1868574.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes Glance inability to use Cinder NFS backend for images by including + NFS client components in the Glance API image. + `LP#1868574 <https://launchpad.net/bugs/1868574>`__ |
