Jay S. Bryant 3d301346a7 Fix unnecessary WSGI worker warning at API startup
There was a bug in WSGIService in the way that it was
checking the osapi_volume_workers option.  It was using
getattr() to see if the option was set, if not it was supposed
to set the value to processutils.get_worker_count().  This,
however, never happened because getattr interpreted the default
'None' value to be a value.  So, on any system with no value set
the self.workers < 1 check would be hit and a warning would be
output.

Nova had changed their approach to this option to avoid this
problem.  This patch pulls Nova's approach into Cinder for
consistency.  Cinder will now use processutils.get_worker_count()
if no option is set in /etc/cinder/cinder.conf and when the user sets
osapi_volume_workers to 0.  A negative value will cause an
InvalidInput exception to be thrown.

Unittests have been added for this functionality.

Change-Id: I4ec2fdd0d19195cccffd63cdd1af1b9ca9884c7d
Closes-bug: #1367454
2014-09-23 16:20:09 -05:00
2014-09-18 06:49:17 +00:00
2014-09-23 09:05:57 +00:00
2014-04-25 18:31:06 +03:00
2013-11-28 09:52:23 +00:00
2012-05-03 10:48:26 -07:00
2014-05-07 12:03:15 -07:00
2013-06-14 14:02:17 +00:00
2012-05-03 10:48:26 -07:00
2012-05-03 10:48:26 -07:00
2012-08-10 11:56:00 -04:00
2014-07-21 16:10:41 +03:00
2012-05-03 10:48:26 -07:00
2014-08-18 16:37:32 -06:00
2014-05-22 07:04:39 +00:00
2014-08-14 13:10:58 +08:00

The Choose Your Own Adventure README for Cinder

You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.

To monitor it from a distance: follow @openstack on twitter.

To tame it for use in your own cloud: read http://docs.openstack.org

To study its anatomy: read http://cinder.openstack.org

To dissect it in detail: visit http://github.com/openstack/cinder

To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder

To watch it: http://jenkins.openstack.org

To hack at it: read HACKING.rst

Description
OpenStack Block Storage (Cinder)
Readme 915 MiB
Languages
Python 99.7%
Smarty 0.3%