272 Commits

Author SHA1 Message Date
termie
1c49a8942c updates per review 2010-12-14 16:05:39 -08:00
jaypipes@gmail.com
ed94b238d8 First round of i18n-ifying strings in Nova 2010-12-11 15:23:40 -05:00
Andy Smith
85ede95438 formatting and naming cleanup 2010-12-09 16:05:13 -08:00
Andy Smith
b839e6e521 get service unittests runnning again 2010-12-09 15:19:56 -08:00
Andy Smith
e05d30ddc3 intermediate commit to checkpoint progress
all relevant tests are passing except volume, next step is volume manager fixery
2010-12-08 17:18:27 -08:00
Andy Smith
33a9d1c43f merged upstream changes 2010-12-08 12:59:22 -08:00
Vishvananda Ishaya
959ce85895 merged trunk 2010-11-29 21:19:31 +00:00
Vishvananda Ishaya
7f698ef793 add vpn ping and optimize vpn list 2010-11-23 21:48:32 +00:00
Soren Hansen
924824a4e1 Address pep8 complaints. 2010-11-23 21:58:46 +01:00
Soren Hansen
b26b0c67a9 Merge with trunk. 2010-11-22 22:27:15 +01:00
Todd Willey
dea9f1adfe The docs are just going to be wrong for now. I'll file a bug upstream. 2010-11-15 21:08:08 -05:00
Todd Willey
adec047ed7 Change how wsgified doc wrapping happens to fix test. 2010-11-15 19:13:45 -05:00
Todd Willey
0fd002fa47 pep8 2010-11-15 14:43:50 -05:00
Soren Hansen
90b7abdb27 Added a .mailmap that maps addresses in bzr to people's real, preferred
e-mail addresses. (I made a few guesses along the way, feel free to
adjust according to what is actually the preferred e-mail)

Added a couple of methods to nova.utils to parse said .mailmap and do
the appropriate (though highly naïve) replacement.

Apply mailmap replacement in changelog generation in setup.py.

Add a unit test that checks everyone is properly listed in Authors.

Add sleepsonthefloor to Authors. If anyone knows the real name, please
add it.
2010-11-11 19:52:36 -06:00
Todd Willey
b637d73da7 Fix docstrings for wsigfied methods. 2010-11-05 19:52:12 -04:00
Soren Hansen
b54478f638 Change socket type in nova.utils.get_my_ip() to SOCK_DGRAM. This way, we don't actually have to set up a connection.
Also, change the destination host to an IP (chose one of Google's DNS's at random) rather than a hostname, so we avoid doing a DNS lookup.
2010-11-03 15:05:10 +01:00
root
7d52c546b2 basics to get proxied ajaxterm working with virsh 2010-11-01 16:25:56 -07:00
Eric Day
a1b0bc96c6 More PEP8 fixes that were introduced in the last couple commits. 2010-10-26 15:37:32 -07:00
Vishvananda Ishaya
4d9b54acb4 Removes some cruft from sqlalchemy/models.py like unused imports and the unused str_id method. 2010-10-26 01:38:53 +00:00
Vishvananda Ishaya
bc6cf24fc9 actually remove the conditional 2010-10-25 17:20:10 -07:00
Andy Smith
01c810befb Duplicate the two trivial escaping functions remaining from tornado's code and remove the dependency. 2010-10-25 19:21:09 +09:00
Jesse Andrews
68ac2b5e51 merge lp:nova 2010-10-24 17:41:53 -07:00
Andy Smith
4fe4b03319 part way through porting the codebase off of twisted
this provides a very basic eventlet-based service replacement for the
twistd-based services, a replacement for task.LoopingCall

also adds nova-combined with the goal of running a single service when
doing local testing and dev
2010-10-25 03:45:19 +09:00
Eric Day
55baf53898 PEP8 and pylint cleanup. There should be no functional changes here, just style changes to get violations down. 2010-10-21 11:49:51 -07:00
Michael Gundlach
13f20e294a Revert 64 bit storage and use 32 bit again. I didn't notice that we verify that randomly created uids don't already exist in the DB, so the chance of collision isn't really an issue until we get to tens of thousands of machines. Even then we should only expect a few retries before finding a free ID. 2010-10-12 18:27:59 -04:00
Michael Gundlach
ffea0044bb 32 bit internal_ids become 64 bit. Since there is no 64 bit native type in SqlAlchemy, we use PickleType which uses the Binary SqlAlchemy type under the hood. 2010-10-12 15:02:24 -04:00
Michael Gundlach
b56c98c75b Fix broken unit tests 2010-10-04 16:39:05 -04:00
Michael Gundlach
00ec28e606 Revert r312 2010-10-04 14:26:55 -04:00
Michael Gundlach
1fbf51dc81 First attempt at a uuid generator -- but we've lost a 'topic' input so i don't know what that did. 2010-09-30 22:09:46 -04:00
root
09a5cbda49 add in support for ajaxterm console access 2010-09-17 19:28:10 -07:00
Vishvananda Ishaya
faa60f35a5 removed second copy of ProcessExecutionError 2010-09-12 23:09:15 -07:00
Vishvananda Ishaya
189512e207 merged trunk 2010-09-11 08:16:16 -07:00
Vishvananda Ishaya
b350f5cd72 logging for backend is now info instead of error 2010-09-09 03:20:56 -07:00
Vishvananda Ishaya
bf8361a255 a few formatting fixes and moved exception 2010-09-07 21:53:40 -07:00
Vishvananda Ishaya
20917b2d1d Lots of fixes to make the nova commands work properly and make datamodel work with mysql properly 2010-09-07 05:26:08 -07:00
Vishvananda Ishaya
1d01259330 merged trunk, fixed a couple errors 2010-08-30 16:44:30 -07:00
Vishvananda Ishaya
583700703a undo change to get_my_ip 2010-08-30 15:15:00 -07:00
Vishvananda Ishaya
9afbe2b667 ip addresses work now 2010-08-30 09:03:43 -07:00
Vishvananda Ishaya
57d980ea6c instance runs 2010-08-30 00:55:19 -07:00
Vishvananda Ishaya
f4e0348039 split volume into service/manager/driver 2010-08-27 23:10:57 -07:00
Ewan Mellor
41f72d79f5 Rework virt.xenapi's concurrency model. There were many places where we were
inadvertently blocking the reactor thread.  The reworking puts all calls to
XenAPI on background threads, so that they won't block the reactor thread.

Long-lived operations (VM start, reboot, etc) are invoked asynchronously
at the XenAPI level (Async.VM.start, etc).  These return a XenAPI task.  We
relinquish the background thread at this point, so as not to hold threads in
the pool for too long, and use reactor.callLater to poll the task.

This combination of techniques means that we don't block the reactor thread at
all, and at the same time we don't hold lots of threads waiting for
long-running operations.

There is a FIXME in here: get_info does not conform to these new rules.
Changes are required in compute.service before we can make get_info
non-blocking.
2010-08-24 00:18:22 +00:00
Vishvananda Ishaya
0dccff1c7b merged trunk and fixed merge errors 2010-08-23 14:36:14 -07:00
Justin Santa Barbara
e09e1b3285 Better error message on subprocess spawn fail, and it's a ProcessExecutionException irrespective of how the process is run. 2010-08-20 13:26:24 +01:00
Ewan Mellor
0287e644a3 Move deferredToThread into utils, as suggested by termie. 2010-08-19 15:12:46 +01:00
andy
9daa600733 Data abstraction for compute service 2010-08-19 12:28:45 +02:00
Justin Santa Barbara
5e79e335d7 Merged with trunk 2010-08-18 22:14:24 +01:00
andy
70f682def1 rather comprehensive style fixes 2010-08-16 14:16:21 +02:00
Joel Moore joelbm24@gmail.com
aee50a4f6b Removes requirement of internet connectivity to run api server. 2010-08-14 22:42:49 +00:00
Justin Santa Barbara
9f1e1bbab0 Merged with trunk 2010-08-08 13:02:12 -07:00
Justin Santa Barbara
640712a930 Greater compliance with pep8/pylint style checks 2010-08-08 12:57:33 -07:00