11569 Commits

Author SHA1 Message Date
Peng Yong
cbd8b2af50 remove unused flag:
baremetal_injected_network_template
baremetal_uri
baremetal_allow_project_net_traffic

Change-Id: I9766924cc7621e14fc52088a558b95cfd5d7ce8d
2012-04-02 23:04:34 +08:00
Rick Harris
abf5d936ba Add periodic_fuzzy_delay option.
Fixes bug 962665

This random delay is intended to reduce the stampeding behavior
associated with periodic tasks when compute workers are restarted in
unison across a cluster.

Change-Id: Ie3771d94af29049061c129b8ea562ee447a61771
2012-03-22 23:50:36 +00:00
Yuriy Taraday
b1c0c62044 HACKING fixes, TODO authors.
Looks like this fixes all HACKING problems that were around.
Thanks to Dina Belova and Alexander Kovalev for this work.

Change-Id: I63ae1ab2f1bb37daa236cde4096c3c893fd80dd2
2012-03-06 12:47:47 +04:00
Mark McLoughlin
748e6cd61a Add pybasedir and bindir options
Add a pybasedir option so that it can be used for interpolation in the
default values of other options. This helps eliminate hard-coded paths
from the sample config file.

Also add a bindir option for similar reasons, but it also helps with
packaging.

Change-Id: Iadc746dcf2a24adbdf9bac945b5b330f01faeeb5
2012-03-09 11:05:13 +00:00
Johannes Erdfelt
a5f36b3a84 Only raw string literals should be used with _()
Fix a number of places where formatted strings were used with _() (causing
gettext to not match the string) or variables with _() (causing xgettext
to not extract a string)

Also, there's no value in internationalizing an empty string

Change-Id: Iac7dbe46eeaa8ddf03c2a357ecd52f69aa8678aa
2012-03-04 19:06:31 +00:00
Johannes Erdfelt
db41c88bc2 Remove unnecessary setting up and down of mox and stubout
test.TestCase already sets up self.mox and self.stubs as well as calling
self.mox.UnsetStubs(), self.stubs.UnsetAll(), self.stubs.SmartUnsetAll()
and self.mox.VerifyAll() during tearDown.

Change-Id: I74f0824ca1e8daa7b0ee7d7a62b226ba51206e6f
2012-03-01 23:38:17 +00:00
Johannes Erdfelt
45398f7bba Remove unnecessary variables from tests
Change-Id: Id83ea12ee89ee6511277aa2f0929f9bedb8f638b
2012-03-01 23:01:34 +00:00
Michael Still
40e20462b1 Move get_info to taking an instance.
This is a first step towards using uuids in this interface instead
of instance names (which are synonyms for instance ids).

Change-Id: I54b32a5020b0dbc21ba7156ed38ed188c483086b
2012-02-22 12:30:37 +11:00
Joe Gordon
b87a238364 Exception cleanup
Do not write "except:", use "except Exception:" at the very least

Change-Id: I539c013132309791f18c46819232102e9232e917
2012-02-21 00:10:04 -08:00
Zhongyue Luo
327ed78965 Backslash continuations (nova.tests)
Fixes bug #925285

Backslash continuations removal for package nova.tests

Change-Id: I089dfb9a06a807e58ebb21329800a4eff40ed2bb
2012-02-06 09:50:06 +08:00
Brian Waldon
a8dfbe6518 Replace ApiError with new exceptions
* Convert ApiError to EC2APIError
* Add new exceptions to replace ApiError where it didn't belong
* Fixes bug 926250

Change-Id: Ia711440ee0313faf8ea8c87e2c0a2f5b39cc55a2
2012-02-03 13:29:57 -08:00
Jason Kölker
c622ffbc6a Standardize logging delaration and use
* Make modules use getLogger(__name__) and log to the result

Change-Id: Ib6d69b4be140ec89affc86ed11e65e422d551df1
2012-02-14 12:07:02 -06:00
Pádraig Brady
1b5ac0b767 remove unused and buggy function from baremetal proxy
* nova/virt/baremetal/proxy.py (_fetch_image): This function
reference 'images' which is undefined.  So just remove it
as it's unused.

Change-Id: I7016f6e8a68fefab4342adadd032e93f963a074e
2012-02-10 15:18:50 +00:00
Zhongyue Luo
3e655eeab0 Backslash continuations (nova.virt.baremetal)
Fixes bug #929998

Backslash continuations removal for package nova.virt.baremetal

Change-Id: I74beb27b5f5f13fbd6a391a2dc8acf2834846066
2012-02-10 02:44:22 -05:00
Mark McLoughlin
9813a7f075 Remove the last of the gflags shim layer
Make FLAGS a ConfigOpts instance and fix up all the places where we
expected FlagValues behaviour.

Change-Id: I8f96f42e0d8d30ba6b362d29861e717cf0fa9e89
2012-02-03 00:50:58 +00:00
Mikyung Kang
fb851af390 Implements blueprint heterogeneous-tilera-architecture-support
Change-Id: Iad8f66af18eb396f4737cd4ea168edcc77481ee6
2011-11-07 14:32:22 -05:00
Anne Gentle
c1c8d7b296 Deleting test dir from a pull from trunk 2011-02-26 11:13:32 -06:00
Anne Gentle
58279aa0f1 Updated to remove built docs 2011-02-21 14:30:20 -06:00
Jesse Andrews
07d272b2aa initial commit 2010-05-27 23:05:26 -07:00