Commit Graph

93 Commits

Author SHA1 Message Date
Jenkins 0598ec2d36 Merge "Docs for vm/task state transitions." 2012-05-11 15:46:44 +00:00
Jenkins 36a810e545 Merge "Mistake with the documentation about cost function's weight corrected." 2012-05-09 19:12:06 +00:00
Joe Gordon fa02377645 Fix devref docs
Fix filter_scheduler namespace (no more distributed_scheduler)

Change-Id: I03ae3403a670ba3fdc33983da8df9e97c728080a
2012-05-07 15:07:45 -07:00
Sandy Walsh 42b09d91f7 Docs for vm/task state transitions.
Added diagrams to RST docs that show  required vm_state / task_state
transitions for compute api operations.

(Set Sandy Walsh as author since he created the diagrams)

Change-Id: Ie6a9cd4b54321a98fea5429ee52eb781f57f31a4
2012-05-06 19:36:15 -04:00
Dina Belova 8c938d3f7e Mistake with the documentation about cost function's weight corrected.
Change-Id: I131d6abc100682ae78c7ac2edfffadc491b9d437
2012-05-05 13:24:13 +04:00
Dina Belova c1e397b746 Information about DifferentHostFilter and SameHostFilter added.
Change-Id: Ice5f03db5f3d24455c43af86bf5722b863cbe959
2012-04-09 19:18:38 +04:00
Dina Belova 6ca171810e Extend FilterScheduler documentation.
Added more specific information on filters and weight functions.

Change-Id: If0463cd9d29568dfe44c6e5ce3f2e42af5ffe240
2012-04-04 19:40:16 +04:00
Hengqing Hu 9a042d3c50 Remove trailing whitespaces in regular file
Fixes bug #945346

Change-Id: I07a303c2e503e50d7138585c683e0d1310339276
2012-03-07 13:43:37 +08:00
Jenkins 0bd3b47032 Merge "Bug #943178: aggregate extension lacks documentation" 2012-03-07 00:03:33 +00:00
Jenkins 31b0e17d7b Merge "Rename files/dirs from 'rabbit' to 'rpc'." 2012-03-06 20:50:59 +00:00
Jenkins 40f541270c Merge "Change references to RabbitMQ to include Qpid." 2012-03-06 20:39:58 +00:00
Jenkins ce016b2772 Merge "Rename DistributedScheduler as FilterScheduler" 2012-03-06 20:10:21 +00:00
Armando Migliaccio 21c779dd1e Bug #943178: aggregate extension lacks documentation
add rst docs for this extension.

Change-Id: I74080c240a0a6911271674177ac08a113b4c50d1
2012-03-06 17:45:28 +00:00
Russell Bryant 2511341840 Rename files/dirs from 'rabbit' to 'rpc'.
Now that the rpc API includes more than RabbitMQ, update a filename and
directory name to be 'rpc' instead of 'rabbit'.

Change-Id: Ib7fcccdd77fae128b6de3ee490fee3d6325ca7c5
2012-03-06 12:34:08 -05:00
Russell Bryant b6f6e1b7f4 Change references to RabbitMQ to include Qpid.
Update the documentation that referred to RabbitMQ to clarify that Qpid
can be used, as well.

Change-Id: I3abe32c2074bfdd3b5129ea65e9ca36cc9555c27
2012-03-06 12:32:02 -05:00
Doug Hellmann c16cd04cf6 Fix rst formatting and cross-references
blueprint sphinx-doc-cleanup
bug 944385

- Fix formatting and markup issues that produce error messages
- Update TOC lists for missing/new files
- Fix a few links
- Update instructions with dependencies for building the documentation
- Updated base on review comments from oubiwann to fix trailing whitespace in modified files

Change-Id: I589152bfab9c543d2b11fa8bed2344259aa90675
2012-03-06 08:08:25 -05:00
Joe Gordon a81130b1a9 Rename DistributedScheduler as FilterScheduler
Change-Id: I1091609d5997c4ba9c26a3f2426496ff7f1e64fa
2012-03-05 17:53:57 -08:00
Lorin Hochstein d304d828d0 Added docs on MySQL queries blocking main thread.
Added to the RST docs to describe how queries to MySQL will block a nova
service.

Change-Id: I4ae209e2827978cc5469162d386197f2e46b342d
2012-03-03 20:56:24 -05:00
Brian Waldon fe332168ae Remove old ratelimiting code
This code hasn't been modified in 8 months and isn't used anywhere.

Change-Id: I55d641095fb9a8541a1e86939a33b4d0e9c492a5
2012-02-29 09:53:59 -08:00
Chris Behrens 3f42e11ca0 Make scheduler filters more pluggable
Filters are supposed to be pluggable, but they are not, since you have
to modify __init__.py.

This adds a --scheduler_availabile_filters setting which replaces the
hardcoding in __init__.py.  This setting is a MultiStr (a list, which
you can specify more than once) containing the full paths to filter
classes to make available to the scheduler.  Using a value of
'nova.scheduler.filters.standard_filters' maps to all standard filters
included in nova under nova.scheduler.filters.  This is the default
setting and matches what was in __init__.py before.

Also renamed --default_host_filters to --scheduler_default_filters to
make the flag a bit more clear.

Change-Id: I10eb54e9982b6d42316adfb2cc2600b44a9c3bdf
2012-02-27 23:41:06 +00:00
Sandy Walsh 26227b79e9 Removed zones from api and distributed scheduler
There is a new Zones implementation coming that will use AMQP-to-AMQP
channels vs. the public API. This is being done for three reasons:
1. remove complications in the OpenStack API (and possibly allow EC2 Zones)
2. remove dependencies on keystone and novaclient
3. faster scheduling (fewer chances for race conditions)

Learn more here:
http://wiki.openstack.org/EssexSchedulerImprovements

Change-Id: I6fe538923dd5ae19276afac2ac3311a285fd5c99
2012-02-16 17:53:00 +00:00
Brian Waldon 3759bcf3fc Excise M2Crypto!
This required rewriting our Diffie-Hellman-Merkle implementation for
set_admin_password in xen. Fixes bug 917851.

Change-Id: Ic4cdcc06221f003aec2dcd5ba05a1a9ad19d39c9
2012-02-02 10:12:58 -08:00
Jesse Andrews 62d5fae8d1 remove unsupported ec2 extensions
implements blueprint remove-ec2-extensions

* remove deprecated unofficial ec2 admin api
* remove admin api from wsgi/paste
* remove unofficial ec2 call for ajaxterm / update calls
* remove displayName/displayDescription from volumes/instances

Change-Id: If5a5ae26ebb9456a3c7376ff4ff0aa9589be1f5b
2012-01-31 22:07:46 -06:00
Brian Waldon 9cb5f547dc Remove admin_only ext attr in favor of authz
Working on blueprint separate-nova-adminapi. This removes the
admin_only extension attribute and the allow_admin_api flag. The
approach we're going for now is to load all extensions, but
to set an admin-only rule in our policy file for those extensions
that should be limited to just admin users. Now that all of our
admin api code has been moved to extensions, in order to
prevent admin api code from being loaded, simply remove it from
the extension list.

Change-Id: Ic574e06af44922ba764013b769077fc5099fd1a2
2012-01-24 10:30:32 -08:00
James E. Blair 5235106e95 Rename .nova-venv to .venv.
This simplifies a number of Jenkins jobs which currently, other
than directory names, could be the same for all OpenStack
projects. By renaming the virtualenv directory, the redundant
Jenkins virtualenv build and copy jobs can be eliminated.

Change-Id: Ieaf1dac3207ecb34b911c7edcd2086809abdf49e
2011-12-08 15:17:51 -08:00
Duncan McGreggor f845891184 First steps towards consolidating testing infrastructure
This commit begins to implement blueprint consolidate-testing-infrastructure by
adding a 'testing' subpackage and moving some modules into it.

Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb
2011-12-06 09:37:57 -08:00
Jenkins 2f0f27dfd6 Merge "Document nova-tarball Jenkins job." 2011-12-05 21:32:36 +00:00
Duncan McGreggor 5f72723b41 Add missing documentation for shared folder issue with unit tests and Python
lock file.

Addresses documentation need raised in bug 897155

Change-Id: Idc95c12f939948bbbefd84a79b3785e3c2fd752c
2011-12-05 09:54:31 -08:00
Lorin Hochstein 0655d2bb15 Document nova-tarball Jenkins job.
Change-Id: I1034cceaa4fa3aa66e54fd082a078f802bc27baf
2011-12-02 15:43:54 -05:00
Lorin Hochstein 40f39557b3 New docs: unit tests, Launchpad, Gerrit, Jenkins
Documented how to run unit tests

Added docs about what's on Launchpad

Added docs on Gerrit with pointers to wiki.

Added docs on Jenkins: how to access, what it does

Clarified that running unit tests doesn't mean you can fully run OpenStack.

Change-Id: I33fa9d2f271631a1a9aceaa5d4fd465198bf51d4
2011-11-26 08:48:36 -05:00
Lorin Hochstein d0d7e0bf4f Updated development environment docs.
General editing of the page on how to set up a development
environment, including:

- Documented which packages you need to install on Fedora-based
systems in order to run a development environment.
- Documented prereqs for setting up on Mac OS X
- Reorganized some sections
- Word wrapped text to 78 columns
- Removed steps to install pep8/pylint, this is now done automatically.
- MacOSX -> Mac OS X

Also, some minor edits:

Change-Id: I6f6181b3f3332fec93bc55897c7b9bdc50926908
2011-11-22 23:09:13 -05:00
Lorin Hochstein 809a71822c Added RST docs on how to use gettext.
Added a page to the RST documentation about gettext usage
for internationalization.

Change-Id: I2b3b25ad3ab5f3d41b5298f6bad18b216644eeed
2011-11-16 20:19:26 -05:00
Jenkins 907f219b6a Merge "Adds documentation for Xen Storage Manager" 2011-11-03 19:01:55 +00:00
Lorin Hochstein 743b36dcac Updated rst docs to include threading model.
Change-Id: Id12cd6584dfd22fe32097cfddf0247c0cc115ac0
2011-11-02 10:53:14 -04:00
Renuka Apte ecd4e3a698 Adds documentation for Xen Storage Manager
Fixes bug 882212.

Change-Id: Ic57e2b13aad3a7e73017ee49fe32740eb579da50
2011-11-01 16:58:50 -07:00
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