From b9500bcb331ced7e90ee50dede74c85ecf9c71b8 Mon Sep 17 00:00:00 2001 From: Carlos Camacho Date: Thu, 19 Oct 2017 16:38:47 +0200 Subject: [PATCH] Allow the configuration of image_member_quota from THT Allow the configuration of image_member_quota in Glance API. This error blocks the ability of sharing images if the default value (128) is reached. Closes-bug: 1724879 Depends-on: Idc72c85943baf3d720500d2c30a813663f2927da Change-Id: I6a3d4d9666378bbc5610d96bcedc81cf4c5d7de7 --- puppet/services/glance-api.yaml | 7 +++++++ ...llow-configure-image-member-quota-59e228bc62ec7792.yaml | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 releasenotes/notes/allow-configure-image-member-quota-59e228bc62ec7792.yaml diff --git a/puppet/services/glance-api.yaml b/puppet/services/glance-api.yaml index 10e556b390..69644559d7 100644 --- a/puppet/services/glance-api.yaml +++ b/puppet/services/glance-api.yaml @@ -61,6 +61,12 @@ parameters: default: tag: openstack.glance.api path: /var/log/glance/api.log + GlanceImageMemberQuota: + default: 128 + description: | + Maximum number of image members per image. + Negative values evaluate to unlimited. + type: number EnableInternalTLS: type: boolean default: false @@ -212,6 +218,7 @@ outputs: glance::api::show_image_direct_url: true glance::api::show_multiple_locations: {if: [glance_multiple_locations, true, false]} glance::api::os_region_name: {get_param: KeystoneRegion} + glance::api::image_member_quota: {get_param: GlanceImageMemberQuota} # NOTE: bind IP is found in Heat replacing the network name with the # local node IP for the given network; replacement examples # (eg. for internal_api): diff --git a/releasenotes/notes/allow-configure-image-member-quota-59e228bc62ec7792.yaml b/releasenotes/notes/allow-configure-image-member-quota-59e228bc62ec7792.yaml new file mode 100644 index 0000000000..95b9ae6bc0 --- /dev/null +++ b/releasenotes/notes/allow-configure-image-member-quota-59e228bc62ec7792.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - Allow the configuration of image_member_quota + in Glance API. This error blocks the ability + of sharing images if the default value (128) + is reached.