Matthew Hooker
625450bac5
Remove instances of the "diaper pattern"
...
Anywhere "except:" occurs, I tried to replace it with an explicit except on
known error types. If none were known, Except was used.
In the process I've been able to unearth a few evasive bugs and clean up some
adjacent code.
2011-08-03 19:17:08 -04:00
Sandy Walsh
c228f4befa
While we currently trap JSON encoding exceptions and bail out, for error notification it's more important that *some* form of the message gets out. So, we take complex notification payloads and convert them to something we know can be expressed in JSON.
2011-08-02 11:23:11 +00:00
Sandy Walsh
19e53d51fe
made the whole instance handling thing optional
2011-07-29 12:09:17 -07:00
Sandy Walsh
30de08a73b
added instance support to to_primitive and tests
2011-07-29 07:05:27 -07:00
Vishvananda Ishaya
e60419c8cd
change context to maintain exact time, store roles, use ids instead of objects and use a uuid for request_id
2011-07-21 22:46:36 +00:00
Trey Morris
f7db9b85b6
trunk merge with migration renumbering
2011-06-30 14:20:59 -05:00
Chris Behrens
e713b530de
fix issue of recurse_zones not being converted to bool properly
...
add bool_from_str util call
add test for bool_from_str
slight rework of min/max_count check
2011-06-29 15:22:56 -07:00
Trey Morris
7eb14a9dd6
merged trunk
2011-06-29 16:44:42 -05:00
Trey Morris
a2a15e69b5
merged trunk, fixed the floating_ip fixed_ip exception stupidity
2011-06-29 12:58:10 -05:00
Monsyne Dragon
058876052f
This adds system usage notifications using the notifications framework.
...
These are designed to feed an external billing or similar system that subscribes to the nova feed and does the analysis.
2011-06-28 20:53:45 +00:00
Monsyne Dragon
a62f3f155c
Refactored usage generation
2011-06-28 20:37:05 +00:00
Brian Lamar
7b82ac0491
pep8 fix
2011-06-28 10:43:25 -04:00
Trey Morris
64d88de6dc
trunk merge, getting fierce..
2011-06-27 16:48:03 -05:00
Brian Lamar
2640d9703d
Merged trunk.
2011-06-27 16:08:48 -04:00
Brian Lamar
07f9ee9971
Added nova.version to utils.py
2011-06-27 15:49:24 -04:00
Yuriy Taraday
6087b43ab5
PEP8 fix
2011-06-25 14:04:40 +04:00
Yuriy Taraday
a198f0ce49
Merged with trunk
2011-06-24 16:01:51 +04:00
Yuriy Taraday
2a72216e6e
Unwind last commit, force anyjson to use our serialization methods.
2011-06-24 09:54:38 +04:00
Brian Lamar
54ed5c262c
Created Bootstrapper to handle Nova bootstrapping logic.
2011-06-23 21:31:00 -04:00
Mark Washenberger
c714e4706d
fix some issues with flags and logging
2011-06-22 09:33:46 -04:00
Trey Morris
1f30631bc8
more trunks
2011-06-20 11:36:13 -05:00
Rick Harris
26e07fc841
Adding tests for is_uuid_like
2011-06-18 00:12:44 +00:00
Rick Harris
1db088e720
Prep-work to begin on reroute_compute
2011-06-15 21:12:37 +00:00
Rick Harris
864ff613ea
Adding uuid test
2011-06-15 20:11:34 +00:00
Trey Morris
db3e098fe5
merged trunk again
2011-06-08 13:27:00 -05:00
Alex Meade
a3cd0eb971
pep8
2011-06-07 15:17:34 -04:00
Alex Meade
c30d4cd26d
merge trunk
2011-06-06 11:41:04 -04:00
Trey Morris
05c37c4ad5
merged trunk again
2011-06-03 13:34:54 -05:00
Alex Meade
948e3a25ee
Set pylint to ignore correct lines that it could not determine were correct,
...
due to the means by which eventlet.green imported subprocess
Minimized the number of these lines to ignore
2011-06-03 11:08:43 -04:00
Vishvananda Ishaya
ba6e729225
make all uses of utcnow use our testable utils.utcnow
2011-06-02 14:23:05 -07:00
Trey Morris
19abef4a45
moved auto assign floating ip functionality from compute manager to network manager
2011-05-24 16:19:46 -05:00
Johannes Erdfelt
b95b8d1392
Merge with trunk
2011-05-16 18:14:03 +00:00
Chris Behrens
518c86f22d
Merged trunk
2011-05-13 16:45:42 +00:00
Chris Behrens
be1b60e990
if a LoopingCall has canceled the loop, break out early instead of sleeping any more than needed
2011-05-12 20:12:22 +00:00
Johannes Erdfelt
4c60ceb4ea
Merge with trunk
2011-05-12 18:42:10 +00:00
Lvov Maxim
41acb5f469
1 Set default paths for nova.conf and api-paste.ini to /etc/nova/
...
2 Changed countryName policy because https://bugs.launchpad.net/nova/+bug/724317 still affected.
2011-05-11 22:56:57 +00:00
Johannes Erdfelt
7e3a6f631c
Abstract out IPv6 address generation to pluggable backends
2011-05-11 15:12:12 +00:00
Lvov Maxim
5d194e9aef
looking for default flagfile
2011-05-03 21:16:03 +04:00
Masanori Itoh
c29b81df58
Rebased to trunk rev 1035.
2011-04-29 22:25:28 +09:00
Brian Waldon
670a75731e
merging trunk
2011-04-22 15:44:24 -04:00
Masanori Itoh
44b2ecc385
Rework completed. Added test cases, changed helper method name, etc.
2011-04-22 21:35:54 +09:00
Trey Morris
9e935ff018
merge trunk
2011-04-21 18:11:12 -05:00
Brian Waldon
1f044df8ba
Addressing exception.NotFound across the project
2011-04-21 15:50:04 -04:00
termie
5c2b1af431
cleanups per code review
2011-04-20 12:08:24 -07:00
termie
e07bb80d05
docstring cleanup, nova dir
2011-04-20 12:08:22 -07:00
Jason Koelker
829e90cd20
use 'is not None' instead of '!= None'
2011-04-18 15:53:09 -05:00
Trey Morris
0a41e0f117
merge with trunk
2011-03-28 12:13:20 -05:00
Rick Harris
1c60b9bca9
Merging trunk
2011-03-24 21:50:27 +00:00
Josh Kearney
d5ff352347
Adds unit test coverage for XenAPI Rescue & Unrescue.
2011-03-24 21:29:32 +00:00
Ilya Alekseyev
03fc38f403
libvirt driver multi_nic support. In this phase libvirt can work with and without multi_nic support, as in multi_nic support for xenapi: https://code.launchpad.net/~tr3buchet/nova/xs_multi_nic/+merge/53458
2011-03-24 21:26:11 +00:00