OpenStack Block Storage (Cinder)
Go to file
Ollie Leahy d09b7c78b3 Allow user to specify audit period.
The script 'cinder-volume-usage-audit' is generally run by cron to
generate volume and snapshot exists audit notifications that can be
consumed by ceilometer or other auditing systems. In this mode it sends
notifications for volumes that existed in the 'last completed audit
period' as calculated by cinder.utils.last_completed_audit_period()

However, it may sometimes be necessary to be able to send notifications
for audit periods other than than the last completed audit period. For
example if the host running the audit script was down for a period.

This patch provides three optional command line parameters to the script
cinder-volume-usage-audit. If no parameters are provided then the
operation of the script is unchanged. If parameters are provided then
they have the following effects:

--start_time specifies a date and time that is used in place of the
start of the last completed audit period.

--end_time specifies a date and time that is used in place of the end of
the last completed audit period.

--send_actions As well as sending exits notifications the script will
send any create or delete notifications that would have been sent during
the specified audit period.

Closes-Bug: #1259147

Change-Id: I0cfe963ea59d811ba4bac0bd3de31382a088b8c8
2014-01-17 09:25:50 +00:00
bin Allow user to specify audit period. 2014-01-17 09:25:50 +00:00
cinder Move driver initialization check into the method 2014-01-14 20:23:00 +01:00
doc Drop Chance/SimpleScheduler Implementation 2014-01-09 18:29:27 +08:00
etc/cinder Update cinder.conf.sample for keystoneclient change 2014-01-13 12:22:50 -05:00
tools Switch to Oslo's config generator 2014-01-02 15:35:16 +01:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore Updates .gitignore 2013-11-28 09:52:23 +00:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Update my mailmap 2013-10-25 16:29:14 +08:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Add CONTRIBUTING file. 2012-11-22 12:47:49 -07:00
HACKING.rst Adding helpful URL links to README.rst and HACKING.rst 2013-12-27 19:29:17 -06:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Adding helpful URL links to README.rst and HACKING.rst 2013-12-27 19:29:17 -06:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Switch to Oslo's config generator 2014-01-02 15:35:16 +01:00
pylintrc Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
requirements.txt Merge "Switch create volume commands to Taskflow 0.1.1" 2013-12-14 05:55:24 +00:00
run_tests.sh Merge "Don't need to init testr explicitly" 2013-09-03 09:26:17 +00:00
setup.cfg Add AllocatedCapacityWeigher 2013-12-30 17:06:12 +08:00
setup.py Updated from global requirements 2013-10-10 20:24:27 +00:00
test-requirements.txt Updated from global requirements 2013-12-10 23:40:52 +00:00
tox.ini Fix and enable gating on F401 2013-12-20 15:01:23 +01:00

README.rst

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