d09b7c78b3
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 |
||
---|---|---|
bin | ||
cinder | ||
doc | ||
etc/cinder | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.md | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
pylintrc | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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