Adds information about how to manually compare the requested api version
with what behaviour to exhibit rather than rely on decorators.
Partially implements bp api-microversions
Change-Id: I69919bad4f267f27350df78e70d9fe3ed78b5520
Currently the following filters are written as though they support multiple values:
* aggregate_image_properties_isolation.py
* aggregate_instance_extra_specs.py
* aggregate_multitenancy_isolation_filter
* availability_zone_filter.py
This commit adds support to the underlying helper method to support
specifying multiple values separated by a comma.
This change for example allows operators to set multiple tenants by using a comma
separated list.
eg. filter_tenant_id: "tenantid1,tenantid2"
DocImpact:
Closes-Bug: #1413087
Change-Id: I010e85ff4c29171c4be6d7a7209dbf2d55da0b64
We have discussed how to allocate a microversion for each patch
on nova-api meeting and this patch adds the conclusion on the rst.
Partially implements blueprint api-microversions
Change-Id: I1f23294475d60b219d4167cad1650fd768f868a1
Adds a first cut for some documentation on how to write an API plugin
for V2.1. Note that this is not meant to have exhaustive coverage, and I
will add more detail in future commits. I do welcome suggestions of
other areas which should be included in future doc patches.
Partially implements blueprint v2-on-v3-api
Change-Id: Ibe5a471af357ce21253efeb8beb9ade1c16396f5
Ironic has already implemented its own microversion mechanism, and
the header name is X-Ironic-API-Version, not X-Baremetal-API-Version.
Because Ida9f60d8cbd0dcf48669b82e619fc4016ee0bcb7 removed program
terminology from the governance repo.
The microversions of Nova is not used yet. And for consistency of
whole OpenStack projects, this patch changes microversion header
names on Nova side.
Partially implements blueprint api-microversions
Change-Id: I3ea2b2982c5f792c82832d772ae951b157da8b39
Depends-on: I1b43e2662107ad81e57b96f0c9430c61b795fdea
Currently, the headings in this section are all at top
level of the documentation. Move them to subsections.
Change-Id: I23f9bd4e617df7b84384f3a5ebd11b1ff575f3d5
Adds information about the -r flag for tox to refresh the venv when
running unitests as when this happens the failures can look odd or valid
failures can be missing when running on a local system but occur when running
in the gate.
Change-Id: Ie6f7f73dfdbd4e55e8ac0b8a66cf9661f5630a09
As patches are being added which use the new microversions
framework, it will be useful to have some guidance for developers
on how to use it.
Partially implements blueprint api-microversions
Change-Id: I6a118388a436e6ea0a3fdcb998f7a7ba4fbf6e8f
In moving forward with cells v2 the existing database tables need to be
divided into those that belong at the API level and those that belong
within a cell. This will be an ongoing and evolving discussion but the
decisions made to this point should be documented.
Change-Id: Ie888d22c8d08173cc86f5b4068657a5224cad34a
Introduce a new section in the developer documentation that
is a place to put manual testing guides. As a first testing
guide, document how to test the recent NUMA support in
libvirt using nested KVM and virtual NUMA.
Change-Id: I9b4d823b72593b0e72291f6eadef4c796efd1242
The development.environment instructions were almost completely copy/pastable
to get started on a new machine. Almost. This doc patch just adds python-tox to
the list of things to be fetched with apt-get, so now it's really *really* simple to get
started on a brand-new machine or cloud instance.
Change-Id: I09cbb376df2ce81e618c99e5db36ddf7809f6f3d
This adds some initial information on the cells v2 effort into the
devref. We start by adding a manifesto explaining what we are trying to
accomplish.
Change-Id: Iff050e0fc9790c945f6a946d0d415ea72b40642f
Co-Authored-By: Dan Smith <dms@danplanet.com>
Devref contains a document discussing project priorities. Include a
link to the list of specific Kilo priorities that lives over in the
nova-specs repo.
Change-Id: I1770447b03df1cc1ab029780fada96fab8ccaa0f
There are several improvements for nova rest API policy. And we
should have a full view for them to make sure we are on the right way.
This docs aims to describe the improvement from blueprint v3-api-policy
and separated-policy-rule-v3-api.
Change-Id: I34a37475f2b18607fc9453764e675113c4ab773b
The unit testing devref had a bit of inconsistent formatting, and a reference
to HACKING.rst which could have been linkifed. This patch fixes both of those,
and additionally the examples have been updated to reflect the recent split
into functional and unit tests.
Change-Id: I15129808d0d1271c1223e7ab8d8532f8cb2f7293
The internationalization devref was out of date (and wrongly named). This
patch documents the current advice for internationalization.
Change-Id: If91b3b11c4050cb231b7d9c38b6beca8ba6ce236
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.
Change-Id: Ice00abcbb431b29e28beb0cd8810b8653ef66139
The diagram on http://docs.openstack.org/developer/nova/devref/vmstates.html
does not currently show the "SHELVED_OFFLOADED" state and the
associated "shelve", "shelveOffload" and "unshelve" state transitions.
Change-Id: I50eb07a84336160b8120ca294598576eeb982d28
Closes-Bug: #1394215
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
Allow extra spec to match all values in a list by adding the ALL-IN
operator.
Changes:
- new operator in extra_specs_ops.py
- modify match funtion to allow matching against a list instead of a
single value
- added new unit tests
- update devref documentation to reflect the new operator
Change-Id: I989aa986e8209ee403b2c575a6d7f3e3e1e232bf
Implements: blueprint add-all-in-list-operator-to-extra-spec-ops
Co-Authored-By: Artur Malinowski <artur.malinowski@intel.com>
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
The rpc doumentation under nova developer reference contained typos. These typos have been fixed
Closes-Bug: #1393135
Change-Id: Ib8e76625b874737489c7618102309da16835deba
Remove affinity filters that were previously deprecated. Filters
originally deprecated in 2bca0c9011
Change-Id: I5f642988dbd35e02e13dd13c69c6625cf9b07237
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
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