Add nfs dependencies to glance container
Glance API image lacked nfs programs/utils to be able to mount NFS exports. This affected Glance usage with Cinder backend when NFS was used as Cinder backend. Closes-Bug: #1868574 Change-Id: I3aac1e6a7f7c5f839b036f15713af949fba206cc
This commit is contained in:
parent
fe8820be56
commit
cac9d46aa6
|
@ -13,8 +13,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||
{% else %}
|
||||
{% set glance_api_packages = ['qemu-img-ev'] %}
|
||||
{% endif %}
|
||||
{% set glance_api_packages = glance_api_packages + ['nfs-utils'] %}
|
||||
{% 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")) }}
|
||||
|
|
|
@ -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>`__
|
Loading…
Reference in New Issue