Glance-API: add HTTP to glance known stores
In Juno, HTTP store is not enabled by default. Let's enable HTTP it by default so we can create an image from an URL. Change-Id: I893d493bac57f21b1a2174a21f8de132bf2bf830
This commit is contained in:
parent
06d33d63da
commit
212a3e164f
@ -106,9 +106,9 @@
|
|||||||
#
|
#
|
||||||
# [*known_stores*]
|
# [*known_stores*]
|
||||||
# (optionnal) Tell to Glance API which backends can be used
|
# (optionnal) Tell to Glance API which backends can be used
|
||||||
# Can be 'rbd', 'file', or and 'swift'.
|
# Can be 'rbd', 'http', 'file', or and 'swift'.
|
||||||
# Should be an array.
|
# Should be an array.
|
||||||
# Defaults to ['rbd']
|
# Defaults to ['rbd', 'http']
|
||||||
#
|
#
|
||||||
# [*filesystem_store_datadir*]
|
# [*filesystem_store_datadir*]
|
||||||
# (optional) Full path of data directory to store the images.
|
# (optional) Full path of data directory to store the images.
|
||||||
@ -157,7 +157,7 @@ class cloud::image::api(
|
|||||||
$log_facility = 'LOG_LOCAL0',
|
$log_facility = 'LOG_LOCAL0',
|
||||||
$use_syslog = true,
|
$use_syslog = true,
|
||||||
$backend = 'rbd',
|
$backend = 'rbd',
|
||||||
$known_stores = ['rbd'],
|
$known_stores = ['rbd', 'http'],
|
||||||
$filesystem_store_datadir = '/var/lib/glance/images/',
|
$filesystem_store_datadir = '/var/lib/glance/images/',
|
||||||
$nfs_device = false,
|
$nfs_device = false,
|
||||||
$nfs_options = 'defaults',
|
$nfs_options = 'defaults',
|
||||||
|
@ -71,7 +71,7 @@ describe 'cloud::image::api' do
|
|||||||
:pipeline => 'keystone',
|
:pipeline => 'keystone',
|
||||||
:log_dir => false,
|
:log_dir => false,
|
||||||
:log_file => false,
|
:log_file => false,
|
||||||
:known_stores => ['rbd'],
|
:known_stores => ['rbd','http'],
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user