Commit Graph

562 Commits

Author SHA1 Message Date
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
Dan Smith 46ed619b9a Remove baremetal virt driver
This patch removes the baremetal virt driver from nova, which was
deprecated in Juno. It does not aim to perform any of the refactoring
we need to do now that the driver is gone, but is intended as a clean
removal of all the baremetal code itself.

Of specific note are the api_samples tests. We didn't have samples to
test the ironic proxy code, so I removed the baremetal ones for show
and index, resetting that extension back to "untested" status as if it
was new.

Tests that stub out ironic interactions and re-introduce those tests
should be added after this patch.

Change-Id: Ia76e41a8a3b7230701872ae7a1975edc3d9ea847
2014-10-08 13:41:37 +00:00
Jenkins 65b4090131 Merge "Add developer policy about contractual APIs" 2014-10-07 23:14:33 +00:00
Jenkins c66d610799 Merge "Remove the nova-manage flavor sub-command" 2014-10-02 18:38:42 +00:00
Matt Riedemann 84612137ac Remove the nova-manage flavor sub-command
The nova-manage flavor sub-command was deprecated in Juno milestone-1
via commit a601556684 with a note that it
will be removed in Kilo.

This removes it.

Change I4e2399f2fbab2c20299dd62c104b9220c1d36fb2 is to remove the
related Tempest tests.

Change-Id: I1798c8a0697009b3dcebeb818580c8323880e395
2014-10-01 19:36:42 -07:00
Jenkins dd99a0aacc Merge "Adds openSUSE support for developer documentation" 2014-10-02 02:20:16 +00:00
Jenkins 8200efaa48 Merge "Don't list entire module autoindex on docs index" 2014-10-02 01:50:13 +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 bd7e62f796 Don't list entire module autoindex on docs index
Don't list entire api/autoindex under Developer Docs,  we already have a
model index link at the  bottom of the page, showing the entire
autoindex on the home page is makes the page overwhelming.

Change-Id: I25c5b50412881b55aa745ce3da2c22466e879fcf
2014-09-17 18:33:45 -07: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
Andreas Jaeger f5c3f6a953 Stop using intersphinx
Remove intersphinx from the docs build as it triggers network calls that
occasionally fail, and we don't really use intersphinx (links other
sphinx documents out on the internet)

This also removes the requirement for internet access during docs build.

This causes docs jobs to fail because we error out on warnings.

Change-Id: I71e941e2a639641a662a163c682eb86d51de42fb
Related-Bug: #1368910
2014-09-12 22:41:42 +02: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 8a23aad0b4 Merge "cmd: add nova-serialproxy service" 2014-09-01 11:19:38 +00:00
Jenkins 702497d8a6 Merge "Work on document structure and doc building" 2014-08-30 15:42:48 +00:00
Sahid Orentino Ferdjaoui ea8323eca4 cmd: add nova-serialproxy service
Adds a websocket proxy that is compatible with Nova
serial ports.

Co-Authored-By: Vladan Popovic <vpopovic@redhat.com>
Co-Authored-By: Ian Wells <iawells@cisco.com>
Co-Authored-By: Sushma Korati <sushma_korati@persistent.co.in>

Partial-Implements: blueprint serial-ports
Change-Id: Ia944cb93945140e6341588063329a981f7e778f1
2014-08-30 14:27:54 +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
Davanum Srinivas a507d42cf5 docs - Set pbr 'warnerrors' option for doc build
By setting this pbr option in setup.cfg, the doc build will fail in case
of any warnings or errors occur during the build process.

Closes-Bug: #1351350

Change-Id: Id4858062d2aaa4c2fe5b597e40e4e8947f544a4d
2014-08-11 12:53:37 +00: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 7e7b4636d8 Merge "docs - Add an index for the command line utilities" 2014-08-05 02:11:40 +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 24a24fcf52 docs - Add an index for the command line utilities
Change-Id: I03376a9159c3ef6c2b65cce417a217db68e8c246
2014-08-01 15:42:57 +00: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
Joe Gordon d3d2afeeb7 Make devref point to official devstack vagrant repo.
Now that we have an official devstack vagrant repo, lets point to that
instead of my own half maintained repo.

Change-Id: I944265d18f6e796608576ea71a7983aed0ece542
2014-07-25 12:45:06 -07:00