Commit Graph

255 Commits

Author SHA1 Message Date
Jeremy Stanley 18e138a2a2 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: Ice00abcbb431b29e28beb0cd8810b8653ef66139
2014-12-05 03:30:37 +00:00
Jenkins f568b267f7 Merge "Document the upgrade plans" 2014-12-02 13:08:19 +00:00
Jenkins 87bc95e098 Merge "Instances with NUMA will be packed onto hosts" 2014-11-21 10:29:39 +00:00
Jenkins da86fc46a1 Merge "Remove deprecated affinity filters" 2014-11-21 06:11:48 +00:00
Nikola Dipanov 53099f3bf2 Instances with NUMA will be packed onto hosts
This patch makes the NUMATopologyFilter and instance claims on the
compute host use instance fitting logic to allow for actually packing
instances onto NUMA capable hosts.

This also means that the NUMA placement that is calculated during a
successfull claim will need to be updated in the database to reflect the
host NUMA cell ids the instance cells will be pinned to.

Using fit_instance_to_host() to decide weather an instance can land
on a host makes the NUMATopologyFilter code cleaner as it now fully
re-uses all the logic in VirtNUMAHostTopology and
VirtNUMATopologyCellUsage classes.

Change-Id: Ieabafea73b4d566f4194ca60be38b6415d8a8f3d
Closes-bug: #1386236
2014-11-20 18:25:46 +01:00
John Garbutt 8fcbb70910 Document the upgrade plans
This covers the plan for zero downtime upgrades. It looks at all the
building blocks we have in place, and a few we have planned for kilo and
pulls that into a process that we hope will deliver zero downtime
upgrades.

This is just an initial stake in the ground to help drive the upgrade
efforts during kilo.

Change-Id: I3974d18f79ba655257dcac49208821bc191d8cc5
2014-11-19 13:12:44 +00:00
Jenkins 2ab87afc4d Merge "Nova devref: Fix the rpc documentation typos" 2014-11-18 20:32:41 +00:00
Jenkins a548223e25 Merge "Fix the uris in documentation" 2014-11-18 09:47:13 +00:00
yatin 7750eb8432 Nova devref: Fix the rpc documentation typos
The rpc doumentation under nova developer reference contained typos. These typos have been fixed

Closes-Bug: #1393135

Change-Id: Ib8e76625b874737489c7618102309da16835deba
2014-11-17 09:51:55 +05:30
Joe Gordon c4eec3de4b Remove deprecated affinity filters
Remove affinity filters that were previously deprecated. Filters
originally deprecated in 2bca0c9011

Change-Id: I5f642988dbd35e02e13dd13c69c6625cf9b07237
2014-11-13 11:41:37 -08:00
Komei Shimamura 924c7c5b2c Fix the uris in documentation
Broken image links when viewed from github:
https://github.com/openstack/nova/tree/master/doc/source/devref

Change-Id: Icad6ed2aa742310fbea399ddecd8480123eaac64
2014-10-31 11:42:50 -07:00
Joe Gordon 053b3ab611 Drop python26 support for Kilo nova
Now that we have stopped running python26 jobs in the gate, remove
python26 from the list of jobs in tox

project-config patch: Ib495467e00e4b6abf2b3c2b9445b51652ba25167

Change-Id: I18262e91c9f5fc2381c6f5b37eb45b5f27aa81db
2014-10-27 10:17:06 -07:00
kiwik-chenrui fb559a34f9 Create Nova Scheduler IO Ops Weighter
Add a new nova scheduler weighter, sort the filter
hosts according to host io ops number, aims to
booting instances on light workload hosts.

DocImpact: Adds io_ops_weight_multiplier to [DEFAULT]
group of nova.conf and an new default schedule weigher.
Change-Id: Ib3c9184f10b2ebe6b1230365a51b5542dffd447c
Implements: blueprint io-ops-weight
2014-10-17 06:23:41 +00:00
Jenkins 1829681101 Merge "Fix disk_allocation_ratio on filter_scheduler.rst" 2014-10-14 09:27:30 +00:00
Jenkins 65b4090131 Merge "Add developer policy about contractual APIs" 2014-10-07 23:14:33 +00:00
Jenkins dd99a0aacc Merge "Adds openSUSE support for developer documentation" 2014-10-02 02:20:16 +00:00
Joe Gordon b70ba400ed Add developer policy about contractual APIs
Document what APIs nova considers to be public contracts, anything not
in this list should be considered a private API.

Clarify the 'API' section to make sure its clear we are talking about
the REST API.

Change-Id: If71adc7a9d5dc1bde79f75d10e67500f6f92b81f
2014-09-30 15:48:05 -07:00
Ken'ichi Ohmichi d661df828c Fix disk_allocation_ratio on filter_scheduler.rst
There is an option "disk_allocation_ratio" in DiskFilter instead of
a typo "disk_allocation_ration".
This patch fixes the typo on filter_scheduler.rst.

Change-Id: Iad4951fbdca97eccb956c42270bfc170fc7c7dac
2014-09-30 09:24:27 +00:00
Jenkins 1407d06d72 Merge "Fix hook documentation on entry_points config" 2014-09-29 17:01:13 +00:00
Jenkins c0bf2c3276 Merge "Add plan for kilo blueprints: project priorities" 2014-09-29 02:23:40 +00:00
Lars Kellogg-Stedman 1345a6a11d Fix hook documentation on entry_points config
The syntax suggested for adding hooks to nova via setup.py entrypoints is:

    entry_points = {
        'nova.hooks': [
            'resize_hook': your_package.hooks.YourHookClass,
        ]
    },

But this is incorrect. The proper syntax for an entry_points entry is:

    entry_points = {
        'nova.hooks': [
            'resize_hook=your_package.hooks:YourHookClass',
        ]
    },

Change-Id: Id7bc6891dc542d4317e82e15300c7293eb0d17a0
Closes-bug: #1374666
2014-09-28 09:29:39 -04:00
Alberto Planas a7a4932ccc Adds openSUSE support for developer documentation
Support for openSUSE documentation is updated in this patch.

Change-Id: Id238900382e574836f7832e6907a3e51d62f859d
2014-09-26 10:45:20 +02:00
Jenkins 53a88f3b0b Merge "Add plan for kilo blueprints: when is a blueprint needed" 2014-09-26 08:12:58 +00:00
kiwik-chenrui cd1d9912ca Fix Broken links in devref/filter_scheduler.rst
There were broken links on the following class
'AggregateNumInstancesFilter', 'RamWeigher' in
document filter_scheduler.html. Fix these broken
links.

Change-Id: I3cac48a6ad466a32a88c23c9f128e66dae5889ee
Closes-Bug: #1363955
2014-09-20 04:15:21 +00:00
Joe Gordon f569f0a002 Add plan for kilo blueprints: project priorities
At the nova mid-cycle we agreed that while specs have made our blueprint
process significantly better, we think the current approach still leaves
much to be desired. This document is the outcome of the discussion at
the mid-cycle on how we want to manage blueprints in Kilo.

This proposal is being placed in devref, as we want to use gerrit's
workflow (two core reviews, inline comments, revisions etc) and this is
a document for developers.

Introduce the idea of project priorities.

Change-Id: I7075a130c01be22f3ee5315d4a65b8e524b5a1ad
2014-09-17 14:13:25 -07:00
Jenkins ff78a03a91 Merge "Add sqlite dev packages to devref env setup doc" 2014-09-17 05:17:16 +00:00
Jenkins 10f36d78ec Merge "Add a policy for handling retrospective vetos" 2014-09-16 23:59:58 +00:00
Joe Gordon 995c10f613 Update devref
* Devref mentioned 10.10 instead of 14.04 as the tested ubuntu
  environment
* Point to our official git mirror instead of github

Change-Id: I4514faeaebe200a2f616bc37fca02c2927edf599
2014-09-15 20:07:18 -07:00
Nikola Dipanov 52bf71fa27 Add the NUMATopologyFilter
This patch adds the basic NUMA filter that will take the proposed
instance topology and try to match it against that of a host.

The matching will be done in the following manner:

 * Filter will try to match the exact NUMA cells of the instance to those
   of the host. It *will not* attempt to pack the instance onto the host.
 * It will consider the standard over-subscription limits for each cell,
   and provide limits to the compute host accordingly.
 * If instance has no topology defined, it will be considered for any host.
 * If instance has a topology defined, it will be considered only for NUMA
   capable hosts.

DocImpact

Change-Id: I8788dde69524c8a32a41ce31a96c89f9b09e91ce
Blueprint: virt-driver-numa-placement
2014-09-12 22:24:56 -07:00
Joe Gordon 93a7b48102 Add plan for kilo blueprints: when is a blueprint needed
At the nova mid-cycle we agreed that while specs have made our
process significantly better, we think the current approach still leaves
much to be desired. This document is the outcome of the discussion at
the mid-cycle on how we want to manage blueprints in kilo.

This proposal is being placed in devref, as we want to use gerrit's
workflow (two core reviews, inline comments, revisions etc) and this is
a document for developers.

It turns out adding the specs requirement to blueprints adds a
non-trivial amount of overhead, revisit when a blueprint and spec is
needed to minimize overhead in cases where it isn't helpful.

Change-Id: Iaaadc26f3f51ee091419beaa12e0508623eed99e
2014-09-12 15:13:38 -07:00
Matt Riedemann e65a43837e Add sqlite dev packages to devref env setup doc
While setting up a new Ubuntu Trusty development
system without devstack I ran into an undocumented
native package dependency for sqlite, so add those
here.

Change-Id: Ib82ea58e85f6ccab6008f2d19a31d0e890136ca7
2014-09-05 12:09:29 -07:00
Mark McLoughlin e48da64a15 Add a policy for handling retrospective vetos
For some time, we've been informally implementing a "revert early"
policy around handling -2 worthy complaints after a patch has been
merged. These reverts can be contentious, so it's appropriate we make
it very clear what the policy and procedure here is in order to lessen
the contentiousness of these reverts.

Co-authored-by: Michael Still <mikal@stillhq.com>

Change-Id: I90e4153a80c859a928630809aef31e7313f08906
2014-09-03 04:51:29 +10:00
Jenkins 702497d8a6 Merge "Work on document structure and doc building" 2014-08-30 15:42:48 +00:00
Sahid Orentino Ferdjaoui e31a74f560 filter: add per-aggregate filter to configure max_instances_per_host
Adds a filter AggregateIoOpsFilter which provides the ability
to read from aggregates metadata "max_instances_per_host".

DocImpact
Implements: blueprint per-aggregate-max-instances-per-host
Change-Id: I569aab7842d2c67042b89c75941a4664a599a7f6
2014-08-26 21:39:13 +00:00
Sahid Orentino Ferdjaoui 56a9512f14 filter: add per-aggregate filter to configure disk_allocation_ratio
Adds a filter AggregateDiskFilter which provides the ability to
read from aggregates metadata the "disk_allocation_ratio".

DocImpact
Implements: blueprint per-aggregate-disk-allocation-ratio
Change-Id: I79d59fcdfb09e67ed6f12113615c673624b24a19
2014-08-26 12:56:51 +00:00
Jenkins 6792cdc465 Merge "filter: add per-aggregate filter to configure max_io_ops_per_host" 2014-08-26 10:31:36 +00:00
Andreas Jaeger ea86e31a0c Fix class name for ServerGroupAffinityFilter
The class name for ServerGroupAffinityFilter is
ServerGroupAffinityFilter and not ServerGroupAntiAffinityFilter. The
wrong class lead to a wrong display on
http://docs.openstack.org/developer/nova/devref/filter_scheduler.html

Change-Id: I690a60cb70eab4837544ddd0bff6f1264e639592
Closes-Bug: #1360375
2014-08-22 20:23:24 +02:00
Matt Riedemann 6b796597d5 Add graphviz to list of distro packages to install
Commit a507d42cf5 makes the
doc builds fail on warnings, so people are probably going
to be running 'tox -e docs' more often. To run that you
need the graphviz package from the distro, so add it to
the list of packages needed when setting up a development
environment.

Change-Id: I47ffe63fddfbbd73c3fc698490ad07235caaf459
Closes-Bug: #1356983
2014-08-14 10:27:28 -07:00
Sahid Orentino Ferdjaoui 65b3a4f607 filter: add per-aggregate filter to configure max_io_ops_per_host
Adds a filter AggregateIoOpsFilter whichprovides the ability
to read from aggregates metadata "max_io_ops_per_host".

DocImpact
Implements: blueprint per-aggregate-max-io-ops-per-host
Change-Id: I086033e7904c16995298bee7196ad3e7b5dc7aaf
2014-08-14 12:40:44 +02:00
Mike Spreitzer 664868130d Work on document structure and doc building
This patch clarifies the document structure of
doc/source/devref/development.environment.rst and adds a section about
how to build the documentation.  This patch also strips out the
redundant information in doc/README.rst, replacing it with a reference
to doc/source/devref/development.environment.rst.

Change-Id: Ia354dcbaea35b812327dac7371ea2fe9aec2b594
Closes-Bug: 1268424
2014-08-07 04:26:26 +00:00
Jenkins 5278181e09 Merge "Add policy on how patches and reviews go hand in hand" 2014-08-04 21:13:59 +00:00
Matt Riedemann d441dcb2ee Update devref out-of-tree policy grammar error
The sentence structure was wrong and therefore bugging me.

Change-Id: Iac7f0803d9cc9b73075f3f0aa23e690386be71ee
2014-08-04 07:59:00 -07:00
Jenkins 571880190c Merge "docs - fix missing references" 2014-08-04 06:13:07 +00:00
Jenkins 7385b9c41a Merge "Make devref point to official devstack vagrant repo." 2014-08-04 04:01:00 +00:00
Joe Gordon 57a2dd0bf6 Add policy on how patches and reviews go hand in hand
There is currently a misconception about how a patch gets merged:
Author proposes a patch, review team reviews it. Us, and Them. Instead
it should be a 'We.'
If the review bandwidth doesn't grow at the same rate as the patch
proposal rate then we end up with a massive backlog where people are
pinging cores for reviews.

Record a recommended policy of asking patch authors to offset the review
resources spent on their patch by reviewing other patches.

Change-Id: I50653f8ea58240fa664519f544ce16b2adf39006
2014-08-04 12:04:25 +10:00
Davanum Srinivas 5830aed629 docs - fix missing references
Change-Id: Ia33fc8a3495ef6d4b929aa88efccc002616475fc
2014-08-01 11:40:51 -04:00
Matt Riedemann 44ead06927 Update devref setup docs for latest libvirt on ubuntu
Adds instructions on how to enable the ubuntu cloud-archive
and update to the latest libvirt-dev from the icehouse repo.

This is needed to run unit tests in Juno if you're still on
ubuntu precise.

Change-Id: I8c93afdd72256b2bdc487e1413bdd570a6ea59e8
2014-07-30 10:08:21 -07:00
Matt Riedemann 21bf0219f6 Update dev env docs on libvirt-dev(el) requirement
Commit 8f505b8526 added
a test requirement on libvirt-python which requires
libvirt-dev(el) being installed, so update the docs
to add that package for the distro.

Change-Id: I7169d3c78a6babe6e20c0dc35874167d0bfee922
2014-07-30 06:45:11 -07:00
Joe Gordon 05717876d5 Remove api reference section in devref
This previously just linked to api/autoindex which was removed in
I6c93f9aae1994961fdca690742398a0d540d541f (in 2011).

Change-Id: Iba86a5b84743fe6d65b797a2e9237d037c2bf1a8
2014-07-27 19:23:33 -04:00
Joe Gordon 06056c852c Deduplicate module listings in devref
devref already contains a list of all modules, so no need to explicitly
include files that just contain lists of modules under the section 'Module
Reference'. Most of the deleted files are very outdated and refer to
non-existent modules anyway.

Leave services for now as it contains some content
that should be preserved. A later patch will clean those files up.

Change-Id: I5dce1b523f3648667fcde49ee51206ae9ccfdec8
2014-07-27 19:23:33 -04:00