]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Add protocol to help of glance_api_servers option
authorMichał Dulko <michal.dulko@intel.com>
Thu, 22 Oct 2015 19:49:13 +0000 (21:49 +0200)
committerMichał Dulko <michal.dulko@intel.com>
Thu, 22 Oct 2015 19:49:13 +0000 (21:49 +0200)
Help for glance_api_servers option lacked information that it is
possible to specify protocol there (http or https) and suggested that
it isn't possible to use HTTPS in connection from Cinder to Glance.
This commit expands the message to include such information.

Change-Id: I5afa33193b6dda2477e5a28fa042e625d449257b
Closes-Bug: 1509065

cinder/common/config.py

index de45905fa70a53397161a53f16040423df088101..14793fa25c12e71498a0b1dc734beae1615d7de2 100644 (file)
@@ -65,8 +65,9 @@ global_opts = [
                help='Default glance port'),
     cfg.ListOpt('glance_api_servers',
                 default=['$glance_host:$glance_port'],
-                help='A list of the glance API servers available to cinder '
-                     '([hostname|ip]:port)'),
+                help='A list of the URLs of glance API servers available to '
+                     'cinder ([http[s]://][hostname|ip]:port). If protocol '
+                     'is not specified it defaults to http.'),
     cfg.IntOpt('glance_api_version',
                default=1,
                help='Version of the glance API to use'),