summaryrefslogtreecommitdiffstats
path: root/bin/instance-usage-audit
Commit message (Collapse)AuthorAgeFilesLines
* Prefix all nova binaries with 'nova-'.Dan Prince2012-06-061-83/+0
| | | | | | Fixes LP Bug #1008625. Change-Id: I2b0dc97133b3039818a52e0b8456dc31cdbd714e
* Use openstack.common.cfg.CONF.Russell Bryant2012-06-041-1/+0
| | | | | | | | | | | | Part of blueprint common-rpc. This patch makes the rpc code use the global config object from openstack-common. Based on some recent discussions on the mailing list, this may not be the final way configuration handling is done here, but it is certainly better than the register_opts() hack that is removed by this patch. Change-Id: Id128126e0bc064a2a1c710c6bd32fb3d137dc7f6
* Use cfg's new global CONF objectMark McLoughlin2012-05-301-2/+1
| | | | | | | | | | Implements blueprint cfg-global-object Replace nova.flags.FLAGS with openstack.common.cfg.CONF. In future, we can do a s/FLAGS/CONF/ across the codebase. Change-Id: Ib293873089a5399febd7a3b0410f66e9bef115f1
* Merge "Remove old flagfile support."Jenkins2012-05-161-1/+1
|\
| * Remove old flagfile support.Ghe Rivero2012-05-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements blueprint remove-old-flagfile nova-manage can still be used to convert old flagfiles style files to new .ini files: $ ./bin/nova-manage config convert --help Usage: nova-manage config convert <args> [options] Options: -h, --help show this help message and exit --infile=<path> old-style flagfile to convert to config --outfile=<path> path for output file. Writes configto stdout if not specified. Change-Id: Ib8fbbd858b1db7faef70d7d97955e5042bf378f2 Signed-off-by: Ghe Rivero <ghe@debian.org>
* | Alphabetize importsJoe Gordon2012-05-141-1/+1
| | | | | | | | | | | | | | Except for nova/api/, nova/tests/, nova/virt/ In preparation for automated checking being enabled (N306) Change-Id: I5af70ea13b470ce58695ef0a5e0ff9da3ac1b135
* | Adding notifications for volumesCraig Vyvial2012-05-141-2/+2
|/ | | | | | | | | Added notifications for volumes have been added with tests. This includes create/delete/exists events for volumes. blueprint nova-notifications Change-Id: I21b74974fac22c3621ccf7564dc5c0d339f8751a
* Do not fail on notify when quantum and melange are out of sync.Jason Kölker2012-05-081-1/+2
| | | | | | | | This patch adds the `ignore_missing_network_data` flag which will log exceptions rather than raising them when generating usage exists notifications. Change-Id: Ie11bc9028790c2d1b3de1f4709a9e17a67e06f26
* A previous patch decoupled the RPC drivers from the nova.flags, breaking ↵Matt Dietz2012-05-011-0/+2
| | | | | | | | instance audit usage in the process. This configures the instance audit usage to configure the RPC drivers properly with FLAGS so that the job can run. Change-Id: Ia189d18d7b25a839de67439ccd363103c5af2f8f
* Adds better bookending and robustness around the instance audit usage generationMatt Dietz2012-04-301-2/+9
| | | | Change-Id: Ib5f68ea0b8d4ed866b5dade268e63cf99241ce4b
* Typo fix in bin/instance-usage-audit.Rick Harris2012-04-241-1/+1
| | | | | | | The notify method now requires a context, which in this case should be `admin_context` not `context`. Change-Id: I53275d0e1c9a898a7c0d9685382bb52ffb2efa2c
* Adding context to usage notifications.Rick Harris2012-04-231-1/+1
| | | | | | | | This patch passes context objects all the way down to the usage generating code. This allows that code (in future) patches to make context-dependent calls in order to augment the usage_info dict. Change-Id: I6592d7aecd99750cab6a91bbadc2c761155d2d4d
* Renamed current_audit_period function to last_completed_audit_period to ↵Brian Elliott2012-04-121-1/+1
| | | | | | clarify its purpose. Change-Id: I7bcfbd1a0545f992b1deae54e4deb956ae33e15d
* Fix up docstringJoe Gordon2012-03-141-3/+3
| | | | Change-Id: I0b9e29455393c34e2861360418297b60bd073d9d
* More cleanup of Imports to match HACKINGJoe Gordon2012-01-191-4/+2
| | | | | | Found using https://github.com/cloudscaling/nova-HACKING Change-Id: Iaf95d7c65d4c6ff1fa4b045d83a4266cc8f27efe
* Adds more usage data to Nova's usage notifications.Monsyne Dragon2011-10-121-51/+13
| | | | | | | | | | Adds in bandwidth, state and IP data on standard notifications, and new notifications on add/remove IP. These were missing before, and are needed to meet spec. This fixes bug 849117 Change-Id: Ie586ff3a91a56e5f5eff8abc6905ba6a0b624451
* make two functions instead of fast flag and add compute api commands instead ↵Vishvananda Ishaya2011-08-301-3/+2
| | | | of hitting db directly
* Refactored usage generationMonsyne Dragon2011-06-281-13/+3
|
* Fix issues due to renming of imange_id attrib. Monsyne Dragon2011-06-281-1/+1
|
* Fix pep8 nits in audit script Monsyne Dragon2011-06-281-27/+26
|
* Re-merging code for generating system-usages to get around bzr merge ↵Monsyne Dragon2011-06-281-0/+127
braindeadness.