Fixes bug 1050135.

Regenerate cinder.conf.sample and fix a couple related bugs.

Change-Id: I3e472f9c69ad4888dc15f901f4bc7cd825fb5ba1
This commit is contained in:
Avishay Traeger
2012-09-11 17:11:41 +03:00
parent fde1827200
commit a130956e66
3 changed files with 322 additions and 8 deletions

View File

@@ -22,15 +22,15 @@ import webob.dec
import webob.exc
from cinder import flags
from cinder.openstack.common import log as logging
from cinder.openstack.common import cfg
from cinder.openstack.common import log as logging
from cinder import wsgi
#default request size is 112k
max_request_body_size_opt = cfg.IntOpt('osapi_max_request_body_size',
default=114688,
help='')
help='Max size for body of a request')
FLAGS = flags.FLAGS
FLAGS.register_opt(max_request_body_size_opt)

View File

@@ -55,7 +55,7 @@ sf_opts = [
default='',
help='Password for SF Cluster Admin'),
cfg.StrOpt('sf_allow_tenant_qos',
cfg.BoolOpt('sf_allow_tenant_qos',
default=True,
help='Allow tenants to specify QOS on create'), ]