7 years agoupdated spec file for recent stuff added to gacks
smbaker [Tue, 24 Jul 2012 05:29:49 +0000]
updated spec file for recent stuff added to gacks

7 years agowhere clause generator for gacksdb, filtering for get_invoices
smbaker [Tue, 24 Jul 2012 05:22:32 +0000]
where clause generator for gacksdb, filtering for get_invoices

7 years agomail_invoices API function and client
smbaker [Tue, 24 Jul 2012 05:21:55 +0000]
mail_invoices API function and client

7 years agoadd get_accounts function
smbaker [Tue, 24 Jul 2012 02:05:49 +0000]
add get_accounts function

7 years agodisplay invoice summary screen
smbaker [Tue, 24 Jul 2012 01:41:07 +0000]
display invoice summary screen

7 years agoAPI argument to allow getting invoice summary along with invoice
smbaker [Tue, 24 Jul 2012 01:39:47 +0000]
API argument to allow getting invoice summary along with invoice

7 years agoremove obsolete code
smbaker [Tue, 24 Jul 2012 01:05:15 +0000]
remove obsolete code

7 years agomove get_summary into the invoice class
smbaker [Tue, 24 Jul 2012 01:04:54 +0000]
move get_summary into the invoice class

7 years agosupport for username/password authentication mechanism
smbaker [Mon, 23 Jul 2012 03:52:55 +0000]
support for username/password authentication mechanism

7 years agouse gacksdb for account_secret, fix problem with sending invoices on a sunday
smbaker [Mon, 23 Jul 2012 03:51:54 +0000]
use gacksdb for account_secret, fix problem with sending invoices on a sunday

7 years agouse gacksconfig for mysql variables
smbaker [Mon, 23 Jul 2012 03:50:57 +0000]
use gacksconfig for mysql variables

7 years agomove gacksdb-related variables to config file; add config support for gacksauth
smbaker [Mon, 23 Jul 2012 03:49:56 +0000]
move gacksdb-related variables to config file; add config support for gacksauth

7 years agofix wrong variable name
smbaker [Mon, 23 Jul 2012 03:47:31 +0000]
fix wrong variable name

7 years agoreorganize db funcs
smbaker [Sun, 22 Jul 2012 21:42:21 +0000]
reorganize db funcs

7 years agouse GackDB database routines
smbaker [Sun, 22 Jul 2012 21:42:03 +0000]
use GackDB database routines

7 years agoauto-reconnect on MYSQL connection error
smbaker [Sun, 22 Jul 2012 21:41:49 +0000]
auto-reconnect on MYSQL connection error

7 years agoacccount_token support
smbaker [Fri, 20 Jul 2012 00:10:14 +0000]
acccount_token support

7 years agodisplay account balance in dollars on summary screen
smbaker [Thu, 19 Jul 2012 23:54:33 +0000]
display account balance in dollars on summary screen

7 years agofix bad account_name to get_invoices in account screen
smbaker [Thu, 19 Jul 2012 23:52:34 +0000]
fix bad account_name to get_invoices in account screen

7 years agoaccount_token, formatting of email
smbaker [Thu, 19 Jul 2012 23:45:47 +0000]
account_token, formatting of email

7 years agorecord cpu_cores when submitting charges for reservations
smbaker [Thu, 19 Jul 2012 23:39:11 +0000]
record cpu_cores when submitting charges for reservations

7 years agoshow kind in dumpinvoice
smbaker [Thu, 19 Jul 2012 23:38:17 +0000]
show kind in dumpinvoice

7 years agouse gacksDB as base for gacksinvoice, add unique invoices for BE and RESV, store...
smbaker [Fri, 13 Jul 2012 23:05:05 +0000]
use gacksDB as base for gacksinvoice, add unique invoices for BE and RESV, store core_hours in charge db, show core_hours and machines in weekly email

7 years agogackscollector store core_hours in charge database
smbaker [Fri, 13 Jul 2012 23:02:27 +0000]
gackscollector store core_hours in charge database

7 years agoreset table version when table is destroyed
smbaker [Fri, 13 Jul 2012 23:01:32 +0000]
reset table version when table is destroyed

7 years agoreport core_hours in dumpInvoice
smbaker [Fri, 13 Jul 2012 23:01:12 +0000]
report core_hours in dumpInvoice

7 years agofix charges/credits in invoice email
smbaker [Tue, 10 Jul 2012 06:37:06 +0000]
fix charges/credits in invoice email

7 years agodescription for cycle_aggregate, child invoice tables use account name for un-logged...
smbaker [Tue, 10 Jul 2012 06:36:51 +0000]
description for cycle_aggregate, child invoice tables use account name for un-logged-in access

7 years agofix date filtering in admin interface
smbaker [Sat, 7 Jul 2012 01:56:41 +0000]
fix date filtering in admin interface

7 years agogenerate and mail invoices (not enabled yet)
smbaker [Sat, 7 Jul 2012 01:54:56 +0000]
generate and mail invoices (not enabled yet)

7 years agofix bug with filtering invoices by name
smbaker [Sat, 7 Jul 2012 01:54:11 +0000]
fix bug with filtering invoices by name

7 years agolet admin interface edit billing contacts
smbaker [Sat, 7 Jul 2012 00:05:37 +0000]
let admin interface edit billing contacts

7 years agoadd billingContacts to updateable fields
smbaker [Sat, 7 Jul 2012 00:04:28 +0000]
add billingContacts to updateable fields

7 years agofix typo
smbaker [Fri, 6 Jul 2012 23:51:50 +0000]
fix typo

7 years agomake sure resv charge gets added to the list when there are no best effort charges
smbaker [Fri, 6 Jul 2012 23:47:09 +0000]
make sure resv charge gets added to the list when there are no best effort charges

7 years agoadd billingcontacts field
smbaker [Fri, 6 Jul 2012 23:46:37 +0000]
add billingcontacts field

7 years agoadd billingContacts screen
smbaker [Fri, 6 Jul 2012 23:45:09 +0000]
add billingContacts screen

7 years agofix bugs in gacksdb and test case
smbaker [Fri, 6 Jul 2012 23:34:01 +0000]
fix bugs in gacksdb and test case

7 years agoabstracted gacks database code out into gacksdb
smbaker [Fri, 6 Jul 2012 22:54:41 +0000]
abstracted gacks database code out into gacksdb

7 years agoadd stats showing cluster totals
smbaker [Mon, 2 Jul 2012 02:32:12 +0000]
add stats showing cluster totals

7 years agosort hostnames by reverse dns order
smbaker [Mon, 2 Jul 2012 02:09:43 +0000]
sort hostnames by reverse dns order

7 years agotrack node status for gacksadmin page
smbaker [Sat, 30 Jun 2012 03:04:42 +0000]
track node status for gacksadmin page

7 years agoadd module for tracking node status
smbaker [Sat, 30 Jun 2012 03:00:38 +0000]
add module for tracking node status

7 years agoadd node status screen
smbaker [Sat, 30 Jun 2012 03:00:07 +0000]
add node status screen

7 years agosolve the double-billing problem between best effort and reservation
smbaker [Fri, 29 Jun 2012 01:29:22 +0000]
solve the double-billing problem between best effort and reservation

7 years agoround degfragment time down to nearest hour, to prevent slots from starting on non...
smbaker [Sat, 23 Jun 2012 00:53:39 +0000]
round degfragment time down to nearest hour, to prevent slots from starting on non-hour boundaries

7 years agofix charges applied individually when multiple cores reserved on the same node
smbaker [Sat, 23 Jun 2012 00:37:12 +0000]
fix charges applied individually when multiple cores reserved on the same node

7 years agologging instead of prints; fix bug where reservations were not removed
smbaker [Fri, 22 Jun 2012 23:54:36 +0000]
logging instead of prints; fix bug where reservations were not removed

7 years agoallow provider=null to be passed to get_resource_names
smbaker [Fri, 22 Jun 2012 23:52:17 +0000]
allow provider=null to be passed to get_resource_names

7 years agoreport whether reservations are being consumed
smbaker [Fri, 22 Jun 2012 06:30:02 +0000]
report whether reservations are being consumed

7 years agouse logger instead of print; fix wrong attribute value for cpu_cores
smbaker [Fri, 22 Jun 2012 02:30:55 +0000]
use logger instead of print; fix wrong attribute value for cpu_cores

7 years agoenabled the plc handler for cpu_cores; name the logger
smbaker [Fri, 22 Jun 2012 02:27:35 +0000]
enabled the plc handler for cpu_cores; name the logger

7 years agofix wrong time zone when DST in effect
smbaker [Fri, 22 Jun 2012 01:54:07 +0000]
fix wrong time zone when DST in effect

7 years agoshow decimal point in charges
smbaker [Fri, 22 Jun 2012 01:53:03 +0000]
show decimal point in charges

7 years agoraised the default threshold to 0.05% of the default delay
smbaker [Wed, 20 Jun 2012 21:57:17 +0000]
raised the default threshold to 0.05% of the default delay

7 years agoprune charges nightly for besteffort
smbaker [Sat, 16 Jun 2012 17:32:40 +0000]
prune charges nightly for besteffort

7 years agochange how duplicate charges are handled; fix blank account name bug
smbaker [Thu, 14 Jun 2012 02:47:08 +0000]
change how duplicate charges are handled; fix blank account name bug

7 years agochanges to silver policy
smbaker [Thu, 14 Jun 2012 02:45:24 +0000]
changes to silver policy

7 years agobuild rpm for gackswatcher; add mutex to gackswatcher; add initscript for gackswatcher
smbaker [Thu, 14 Jun 2012 02:42:46 +0000]
build rpm for gackswatcher; add mutex to gackswatcher; add initscript for gackswatcher

7 years agoaggregate besteffort charges to prevent overwhelming db
smbaker [Fri, 8 Jun 2012 23:48:43 +0000]
aggregate besteffort charges to prevent overwhelming db

7 years agoapply besteffort constant
smbaker [Fri, 8 Jun 2012 23:48:19 +0000]
apply besteffort constant

7 years agofix reservation cost off by 100
smbaker [Fri, 8 Jun 2012 23:47:56 +0000]
fix reservation cost off by 100

7 years agoadd section for cycle charges (besteffort/gackswatcher)
smbaker [Fri, 8 Jun 2012 23:47:37 +0000]
add section for cycle charges (besteffort/gackswatcher)

7 years agoallow filtering of invoices by pending state
smbaker [Fri, 8 Jun 2012 01:33:43 +0000]
allow filtering of invoices by pending state

7 years agofix get_invoice on {} filter
smbaker [Fri, 8 Jun 2012 01:32:43 +0000]
fix get_invoice on {} filter

7 years agoaccounts and invoices use plc slice name instead of hrn
smbaker [Fri, 8 Jun 2012 01:04:20 +0000]
accounts and invoices use plc slice name instead of hrn

7 years agoall invoices screen, charge detail, get_invoices by dict
smbaker [Tue, 5 Jun 2012 05:17:58 +0000]
all invoices screen, charge detail, get_invoices by dict

7 years agosupport filtering by dict in get_invoice
smbaker [Tue, 5 Jun 2012 05:14:22 +0000]
support filtering by dict in get_invoice

7 years agolookup names when generating invoices
smbaker [Tue, 5 Jun 2012 05:11:51 +0000]
lookup names when generating invoices

7 years agoMerge branch 'master' of ssh://bakers@git.planet-lab.org/git/raven
smbaker [Tue, 5 Jun 2012 05:06:38 +0000]
Merge branch 'master' of ssh://bakers@git.planet-lab.org/git/raven

7 years agouse isinstance() instead of type()
Tony Mack [Sun, 3 Jun 2012 17:05:16 +0000]
use isinstance() instead of type()

7 years agoCreate charges that don't exist
Tony Mack [Sun, 3 Jun 2012 16:42:49 +0000]
Create charges that don't exist

7 years agochange location where processed charges logs are generated
Tony Mack [Sat, 2 Jun 2012 18:50:18 +0000]
change location where processed charges logs are generated

7 years agoadded is_existing_charge()
Tony Mack [Sat, 2 Jun 2012 16:57:34 +0000]
added is_existing_charge()

7 years agoonly log a processed file's basename
Tony Mack [Sat, 2 Jun 2012 13:22:12 +0000]
only log a processed file's basename

7 years agokeep track of processed files
Tony Mack [Sat, 2 Jun 2012 04:04:59 +0000]
keep track of processed files

7 years agoadd makefile target to install rpm on vicci
smbaker [Sat, 2 Jun 2012 00:29:49 +0000]
add makefile target to install rpm on vicci

7 years agoonly collect logs from nodes in boot state. disable charge processing for now
Tony Mack [Fri, 1 Jun 2012 03:56:59 +0000]
only collect logs from nodes in boot state. disable charge processing for now

7 years agoincrease default collect interval
Tony Mack [Fri, 1 Jun 2012 02:31:36 +0000]
increase default collect interval

7 years agoinvoice screens
smbaker [Fri, 1 Jun 2012 00:52:45 +0000]
invoice screens

7 years agostore account_id in charge; a richer get_invoice function; ability to get invoices...
smbaker [Fri, 1 Jun 2012 00:49:58 +0000]
store account_id in charge; a richer get_invoice function; ability to get invoices without knowing account name

7 years agoadd screens showing user reservations
smbaker [Thu, 31 May 2012 22:47:50 +0000]
add screens showing user reservations

7 years agorename reservations to reservation_set, add support for editing goodStanding field
smbaker [Thu, 31 May 2012 20:45:09 +0000]
rename reservations to reservation_set, add support for editing goodStanding field

7 years agoenable log collection
Tony Mack [Thu, 31 May 2012 18:30:44 +0000]
enable log collection

7 years agofix call to GetNodes()
Tony Mack [Thu, 31 May 2012 18:24:27 +0000]
fix call to GetNodes()

7 years agofix option names
Tony Mack [Thu, 31 May 2012 18:24:17 +0000]
fix option names

7 years agorenaming
Tony Mack [Thu, 31 May 2012 18:14:23 +0000]
renaming

7 years agorename archive_directory to incoming_directory
Tony Mack [Thu, 31 May 2012 18:13:26 +0000]
rename archive_directory to incoming_directory

7 years agorename collect_frequency to collect_interval
Tony Mack [Thu, 31 May 2012 18:08:53 +0000]
rename collect_frequency to collect_interval

7 years agoinitial checkin
Tony Mack [Thu, 31 May 2012 18:06:24 +0000]
initial checkin

7 years agoinitial checkin
Tony Mack [Thu, 31 May 2012 17:59:44 +0000]
initial checkin

7 years agouse plcsh to get list of hosts
Tony Mack [Tue, 29 May 2012 16:56:52 +0000]
use plcsh to get list of hosts

7 years agoinitial checkin
Tony Mack [Tue, 29 May 2012 16:21:20 +0000]
initial checkin

7 years agoadded writeTS()
Tony Mack [Tue, 29 May 2012 15:31:13 +0000]
added writeTS()

7 years agoinitial l checkin
Tony Mack [Mon, 28 May 2012 15:44:02 +0000]
initial l checkin

7 years agoability to add charges from gacks admin page
smbaker [Sat, 26 May 2012 06:27:03 +0000]
ability to add charges from gacks admin page

7 years agoadd ability to apply charges immediately; fix timestamp auto update bug; flip sign...
smbaker [Sat, 26 May 2012 06:25:41 +0000]
add ability to apply charges immediately; fix timestamp auto update bug; flip sign on invoices; add kinds for payment and adjustment

7 years agoupdate operation for accounts
smbaker [Sat, 26 May 2012 06:23:24 +0000]
update operation for accounts

7 years agoshow state in dumpInvoice
smbaker [Sat, 26 May 2012 06:22:53 +0000]
show state in dumpInvoice

7 years agoCRUD operations for accounts; add-charge operation
smbaker [Sat, 26 May 2012 06:21:57 +0000]
CRUD operations for accounts; add-charge operation