1022 Commits

Author SHA1 Message Date
Michael Barton
ac35429a6e small doc fix 2011-02-28 23:12:18 +00:00
Michael Barton
e3ca838685 doc fix 2011-02-28 23:07:53 +00:00
David Goetz
df09731edc lower memcached error limit duration. 2011-02-28 23:07:11 +00:00
David Goetz
83caec04dc lower memcache error limit duration 2011-02-28 10:59:16 -08:00
David Goetz
def5411f89 ratelimiting does not handle memcache restart 2011-02-24 21:27:08 +00:00
David Goetz
a3474704c2 ratelimiting does not handle memcache restart 2011-02-23 11:44:36 -08:00
David Goetz
aa14afe2bb nodes with a weight of zero should not be valid for handoff 2011-02-22 16:02:36 +00:00
gholt
f58d43e416 Reverted the wal+index code. 2011-02-21 19:07:08 +00:00
gholt
24a624345d Make swift-auth-to-swauth work with really old devauth dbs.
Update swauth to accept non-alnum chars in account and user names.
2011-02-17 21:57:04 +00:00
gholt
ff4691c5ad ring: pickles now use only stdlib objects; old and really old pickles can still be read 2011-02-17 20:54:05 +00:00
Clay Gerrard
0b91f69a28 fixed glob pattern matching index offset error in stats' LogUploader 2011-02-17 20:42:14 +00:00
gholt
ed69db162a Revert wal+index 2011-02-17 09:30:41 -08:00
Michael Barton
8fcda9c0a4 rename log-processing.conf to log-processor.conf 2011-02-17 16:37:02 +00:00
Michael Barton
13a3484470 rename log-processing to log-processor 2011-02-17 08:30:39 +00:00
Clay Gerrard
841a894955 pep8 2011-02-16 19:52:22 -06:00
Clay Gerrard
ddc2a4c6b2 fixed glob pattern matching index offset error in stats' LogUploader 2011-02-16 19:30:18 -06:00
Clay Gerrard
72ca13e0c0 I rewrote swift-init cause I wanted it to do somethings it didn't, and I
tried to make some of the error conditions a little better too.  It has
some new features, but overall it's behavior is mostly compatible with
the old swift-init (input, return codes) - but if someone had some weird
greps on the output they're hozed.

swift-init --help is a good place to start

some highlights might be:
 $swift-init start main --wait  # wait for all "main" services to start,
printing any errors to console
 $swift-init rest wait  # same as above but for replicators, updaters & auditors
 $swift-init stop object -c1  # kill the first object-server "node"
 $swift-init object-server status  # make sure it's dead - yay status!
 $swift-init proxy auth reload  # devauth?  srsly?
 $swift-init *-replicator once -n  # run the object, container,
and account replicators in "once mode" and watch them log to console
until they're finished

... probably some other stuff too.  Looking forward to feedback...
2011-02-16 21:07:33 +00:00
Clay Gerrard
97e218fd52 mermged upstream changes 2011-02-16 15:00:35 -06:00
Clay Gerrard
092608b1c9 added [options] to command usage 2011-02-16 14:47:31 -06:00
Clay Gerrard
3977965ff4 creating a Ring will ensure a valid HASH_PATH_SUFFIX 2011-02-16 19:57:27 +00:00
David Goetz
d60b931181 merge up to trunk 2011-02-16 16:30:13 +00:00
Clay Gerrard
ae1c2d73ab creating a Ring will ensure a valid HASH_PATH_SUFFIX
To make sure that node lookups match what the servers return the generated
hashes need to match.  All the utils that use the ring should validate their
HASH_PATH_SUFFIX.
2011-02-16 09:02:38 -06:00
gholt
fc6391ea5c ring: pickles now use only stdlib objects; old and really old pickles can still be read 2011-02-15 18:43:55 -08:00
Clay Gerrard
a8b4f859c0 fixed tests for new wait default true 2011-02-15 13:19:33 -06:00
Clay Gerrard
6766bd371a wait is on by default 2011-02-15 10:48:22 -06:00
Clay Gerrard
c1884bbfdd redbo says we should capture stdio later 2011-02-14 17:02:08 -06:00
Clay Gerrard
da794932ba i18n 2011-02-14 16:53:25 -06:00
Clay Gerrard
22a45b3550 review cleanup 2011-02-14 14:52:49 -06:00
Devin Carlen
24e4137219 Added lock file configuration to sample rsync.conf. 2011-02-14 19:36:23 +00:00
Devin Carlen
694fa02b67 Added missing lockfile configuration to sample rsync.conf 2011-02-12 18:27:59 -08:00
Clay Gerrard
1f78fae2fc more tests and cleanup 2011-02-12 14:50:24 -06:00
Clay Gerrard
51064d31eb renamed ini_files to conf_files in code 2011-02-12 03:25:29 -06:00
Clay Gerrard
f455c21b83 reworked bin/swift-init 2011-02-12 03:09:12 -06:00
Clay Gerrard
67e3790df1 reworked bin/swift-init 2011-02-12 03:03:07 -06:00
Clay Gerrard
c03a302f7c PEP8 2011-02-12 02:57:33 -06:00
Clay Gerrard
bfae3625ef fixed license dates 2011-02-12 02:22:01 -06:00
Clay Gerrard
6554c16e0a merged trunk 2011-02-12 01:55:57 -06:00
Clay Gerrard
8a66319f14 more test, swift.common.manager coverage > 90% 2011-02-12 01:49:24 -06:00
gholt
da27b3b750 Make swift-auth-to-swauth work with really old devauth dbs; update swauth to accept non-alnum chars in account and user names. 2011-02-11 17:39:44 -08:00
Clay Gerrard
4c809e49b9 working on tests 2011-02-11 14:56:03 -06:00
Clay Gerrard
e3e604ec17 forgot some new files 2011-02-11 13:21:28 -06:00
Clay Gerrard
1095f27590 Prepare for trunk merge.
Refactored some of the swift_init classes into a new module in
swift.common, changed some names.  Removed the bin test stuff.  Fixed
some bugs, added some features.
2011-02-11 13:18:19 -06:00
Michael Barton
b2e0b926a4 Changes to support deployment on IPv6 2011-02-11 17:27:05 +00:00
gholt
6ba7f27bf7 logging: use routes to separate logging configurations 2011-02-11 17:12:01 +00:00
gholt
0c0920701a PEP8 Fixes 2011-02-10 15:10:53 -08:00
gholt
88ae726f9b Merge from trunk 2011-02-10 14:29:08 -08:00
Clay Gerrard
8beae68e30 cleaned up logging and added new optional proxy access_logger with it's own configuration options that default to default proxy logger's settings. 2011-02-10 22:22:05 +00:00
Clay Gerrard
c973bf53fb cleaned up some comments 2011-02-10 15:23:59 -06:00
Clay Gerrard
5082b6d389 updated proxy-server.conf-sample to include access_log_* defaults 2011-02-10 15:05:53 -06:00
Clay Gerrard
5d0bc6b9c7 logging refactor to support proxy access logs
New log level "notice" set to python log level 25 maps to syslog priority
LOG_NOTICE.  Used for some messages in the proxy server, but will be available
to all apps using the LogAdapter returned from get_logger.  Cleaned up some
code in get_logger so that console logging works with log_routes and removed
some unneeded bits.  NamedFormatter functionality was split between LogAdapter
(which now inherits from logging.LoggerAdapter) and TxnFormatter (which now is
only responsible for adding the log records txn_id).

The proxy server app now configures a separate logger for access line logging.
By default it will use the same settings as the regular proxy logger.
2011-02-10 14:59:52 -06:00