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:
@@ -106,9 +106,9 @@
|
||||
#
|
||||
# [*known_stores*]
|
||||
# (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.
|
||||
# Defaults to ['rbd']
|
||||
# Defaults to ['rbd', 'http']
|
||||
#
|
||||
# [*filesystem_store_datadir*]
|
||||
# (optional) Full path of data directory to store the images.
|
||||
@@ -157,7 +157,7 @@ class cloud::image::api(
|
||||
$log_facility = 'LOG_LOCAL0',
|
||||
$use_syslog = true,
|
||||
$backend = 'rbd',
|
||||
$known_stores = ['rbd'],
|
||||
$known_stores = ['rbd', 'http'],
|
||||
$filesystem_store_datadir = '/var/lib/glance/images/',
|
||||
$nfs_device = false,
|
||||
$nfs_options = 'defaults',
|
||||
|
@@ -71,7 +71,7 @@ describe 'cloud::image::api' do
|
||||
:pipeline => 'keystone',
|
||||
:log_dir => false,
|
||||
:log_file => false,
|
||||
:known_stores => ['rbd'],
|
||||
:known_stores => ['rbd','http'],
|
||||
)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user