glance/etc
Matt Riedemann cb7b189f4c Use (# of CPUs) glance workers by default
The config docs have historically recommended that the number of
glance  workers should be set to the number of CPUs available for
best performance, so we should make this the default.

Commit 75c96a48fc7e5dfb59d8258142b01422f81b0253 did the same thing in
Nova in Icehouse and the plan is to do the same thing for Cinder
and Trove workers.

The config files are updated to match the help string in the code.

There is no upgrade impact since glance-api.conf previously
hard-coded the workers value to 1 so anyone upgrading to this
will still get whatever value was set in glance-api.conf prior
to this change.

DocImpact: glance workers will now be equal to the number of
           CPUs available by default if not explicitly specified
           in glance-api.conf and/or glance-registry.conf.

UpgradeImpact: There is no upgrade impact to glance-api workers
           since glance-api.conf previously hard-coded the workers
           value to 1 so anyone upgrading to tihs will still get
           whatever value was set in glance-api.conf prior to
           this change. There is an upgrade impact to the
           glance-registry workers since glance-registry.conf
           did not hard-code the workers value to 1 before change
           I0cee0d284eef9ce5dcb26720499f2c4d31eaca0f, which is
           overwritten here. So anyone upgrading to this change
           that does not have workers specified in
           glance-registry.conf will now be running multiple
           workers by default when they restart the glance
           registry service.

Closes-Bug: #1333325

Change-Id: I6795c6e22268bb3fb67331edc7af641aefa904cc
2014-06-27 09:46:12 -07:00
..
glance-api-paste.ini Include pipeline option for using identity headers 2013-07-29 20:25:19 +00:00
glance-api.conf Use (# of CPUs) glance workers by default 2014-06-27 09:46:12 -07:00
glance-cache.conf VMware Datastore storage backend 2014-01-30 18:14:15 -08:00
glance-registry-paste.ini Makes possible to enable Registry API v1 and v2 2014-03-14 13:12:04 +00:00
glance-registry.conf Use (# of CPUs) glance workers by default 2014-06-27 09:46:12 -07:00
glance-scrubber.conf Document default log location in config files 2013-11-05 16:52:00 -05:00
glance-swift.conf.sample Remove user and key from location in swift 2014-06-24 12:13:26 +05:30
logging.cnf.sample First round of logging functionality: 2011-02-01 13:18:40 -05:00
policy.json make uploading an image as public admin only by default 2014-06-03 05:47:24 -07:00
property-protections-policies.conf.sample Using policies for protected properties 2013-10-17 01:55:00 +00:00
property-protections-roles.conf.sample Using policies for protected properties 2013-10-17 01:55:00 +00:00
schema-image.json Removed controversial common image property 'os_libosinfo_shortid' 2013-02-26 20:55:58 +00:00