Commit Graph

58 Commits

Author SHA1 Message Date
Lorin Hochstein 1d5fd3d98c Updated RST docs: bzr/launchpad -> git/github
Change-Id: I3534cc380cb9170ff96f710250b470dc284e5680
2011-10-17 22:10:02 -04:00
Chris Behrens 0fab78825e compute_api create*() and schedulers refactoring
Fixes bug 844160

Makes the servers create API call work with all schedulers, removes
'zone boot', and folds create_instance_helper back into servers
controller.

Notable changes:
1) compute API's create_at_all_once has been removed. It was only used
by zone boot.
2) compute API's create() no longer creates Instance DB entries. The
schedulers now do this. This makes sense, as only the schedulers will
know where the instances will be placed. They could be placed locally or
in a child zone. However, this comes at a cost. compute_api.create() now
does a 'call' to the scheduler instead of a 'cast' in most cases (* see
below). This is so it can receive the instance ID(s) that were created
back from the scheduler. Ultimately, we probably need to figure out a
way to generate UUIDs before scheduling and return only the information
we know about an instance before it is actually scheduled and created.
We could then revert this back to a cast. (Or maybe we always return a
reservation ID instead of an instance.)
3) scheduler* calls do not return a host now.  They return a value
that'll be returned if the caller does an rpc.call().  The casts to
hosts are now done by the scheduler drivers themselves.
4) There's been an undocumented feature in the OS API to allow multiple
instances to be built. I've kept it.
5) If compute_api.create() is creating multiple instances, only a single
call is made to the scheduler, vs the old way of sending many casts. All
schedulers now check how many instances have been requested.
6) I've added an undocumented option 'return_reservation_id' when
building. If set to True, only a reservation ID is returned to the API
caller, not the instance. This essentially gives you the old 'nova
zone-boot' functionality.
7) It was requested I create a stub for a zones extension, so you'll see
the empty extension in here. We'll move some code to it later.
8) Fixes an unrelated bug that merged into trunk recently where zones DB
calls were not being done with admin context always, anymore.
9) Scheduler calls were always done with admin context when they should
elevate only when needed.
10) Moved stub_network flag so individual tests can run again.

* Case #6 above doesn't wait for the scheduler response with instance
IDs. It does a 'cast' instead.

Change-Id: Ic040780a2e86d7330e225f14056dadbaa9fb3c7e
2011-09-27 05:32:24 +00:00
Ed Leafe c6c004c445 Updated the distributed scheduler docs with the latest changes to the classes. 2011-08-18 14:39:25 -05:00
Brian Waldon 07646e8584 removing compute monitor 2011-08-02 10:09:58 -04:00
Anne Gentle 3a89f16ea0 Add multinic doc and distributed scheduler doc to developer guide front page 2011-07-13 09:04:20 -05:00
Jason Kölker 16c481fc6c more words 2011-06-17 11:49:20 -05:00
Jason Kölker 215452cb79 add vlan diagram and some text 2011-06-17 10:46:14 -05:00
Jason Kölker 829319649a add in dhcp drawing 2011-06-16 15:36:29 -05:00
Jason Kölker c86bfba6e7 add the actual image 2011-06-16 14:44:17 -05:00
Jason Kölker 9010195558 more doc (and by more I mean like 2 or 3 sentances) 2011-06-16 13:44:38 -05:00
Jason Kölker 2a90b44ddd initial commit of multinic doc 2011-06-16 11:27:01 -05:00
Sandy Walsh c2ed9160e9 source illustrations added & spelling/grammar based on comstud's feedback 2011-06-10 09:48:17 -03:00
Sandy Walsh 22c71e27ce Added illustrations for Distributed Scheduler and fixed up formatting 2011-06-07 15:36:43 -03:00
Sandy Walsh 29eec21f67 little tweaks 2011-06-03 05:23:43 -07:00
Sandy Walsh 1adb965506 edits based on ed's feedback 2011-05-31 08:26:11 -07:00
Sandy Walsh 0cf5316131 first cut complete 2011-05-30 05:03:45 -07:00
Sandy Walsh 5101aa300b reservation_id's done 2011-05-30 00:45:15 -03:00
Sandy Walsh c3c2c1a63c basic flow done 2011-05-30 00:00:28 -03:00
Sandy Walsh 5aa5454548 lots more 2011-05-29 23:42:46 -03:00
Sandy Walsh c9926b12f4 starting 2011-05-29 18:01:46 -07:00
Anne Gentle ff08fcb024 Adding zones doc into index of devref plus a bug fix for flag spellings 2011-05-13 08:42:41 -05:00
Vishvananda Ishaya e6b76ce688 use simpler interfaces 2011-04-21 07:35:30 -07:00
Vishvananda Ishaya ba9edf8d6d put up and down in the right dir 2011-04-20 21:06:56 -07:00
Vishvananda Ishaya 66a15373a1 fix doc typo 2011-04-19 10:31:35 -07:00
Vishvananda Ishaya 8b21dd6634 add include file for doc interfaces 2011-04-19 09:16:45 -07:00
Vishvananda Ishaya da99e8e6b1 add instructions for setting up interfaces 2011-04-19 09:16:25 -07:00
Vishvananda Ishaya 0c7b62428b add up and down .sh 2011-04-12 20:33:33 +00:00
Vishvananda Ishaya 3aae677e5a update documentation on cloudpipe 2011-04-11 21:43:12 +00:00
Sandy Walsh dd212c8d1c missing 'to' 2011-04-08 15:45:42 -03:00
Sandy Walsh 9da9d9c8d5 merge prop tweaks 2 2011-04-08 13:45:19 -03:00
Sandy Walsh 845d32660e merge prop tweaks 2011-04-08 10:04:38 -03:00
Sandy Walsh d7f0c23b0a added Zones doc 2011-04-08 08:50:45 -03:00
Anne Gentle 5d02ee9e5f Merged with trunk 2011-01-07 10:57:53 -06:00
Cory Wright 989b5b8ed0 merge trunk 2011-01-05 20:13:49 -05:00
Anne Gentle dca2df171d Change all 2010 Copyright statements to 2010-2011 in doc source directory only 2011-01-04 16:58:08 -06:00
Anne Gentle 4ced09acb7 Fixing merge conflicts with new branch 2011-01-03 16:58:45 -06:00
Cory Wright f5611d9fde Several documentation corrections 2010-12-30 14:23:52 -05:00
Cory Wright 384f39966b Note that contributors are required to be listed in Authors file before work can be merged into trunk 2010-12-30 12:25:14 -05:00
Cory Wright 26cdebcf74 Mention Authors and .mailmap files in Developer Guide 2010-12-30 12:10:31 -05:00
Anne Gentle a7983cad94 Minor spellchecking fixes 2010-12-20 14:54:27 -06:00
Anne Gentle 225fd37fb2 Adds in more documentation contributions from Citrix. 2010-12-01 20:44:43 +00:00
Anne Gentle 8cd5381c52 Adding more polish 2010-11-23 12:58:08 -06:00
Anne Gentle 1bf3c29df3 Adding developer howtos 2010-11-23 12:49:28 -06:00
Anne Gentle d6a74a219b Incorporating security groups info 2010-11-22 17:03:54 -06:00
Armando Migliaccio 37fcda35e7 adjusting images size and bulleted list 2010-11-17 19:17:51 +00:00
Armando Migliaccio 0c19386f7c small edit 2010-11-17 16:20:50 +00:00
Armando Migliaccio 56c2df202d Further editing and added images 2010-11-17 13:20:55 +00:00
Armando Migliaccio a1cdb02360 First dump of content related to Nova RPC and RabbitMQ 2010-11-16 18:37:19 +00:00
Armando Migliaccio 6c142b844a getting started 2010-11-12 18:50:10 +00:00
root b78364281d merge in trunk 2010-11-08 20:38:21 -08:00