Commit Graph

186 Commits

Author SHA1 Message Date
wanghui 53bed41c33 Remove the duplicate words
Change-Id: I3c156fe4926cab2c0daa3ab0ca1c6dd9970c2cd8
2018-11-13 19:48:11 +08:00
Zuul 859c4f3e88 Merge "Update pypi url to new url" 2018-10-18 13:38:51 +00:00
Tuan Do Anh 17efb82eef Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I45ec295f5e8f338789f14c235a4ea9ab595f565a
2018-07-12 15:26:44 +07:00
liushuobj 63881c76e9 fix spelling mistake
Change-Id: I530af0306493e21a65d51336ca3bbe74328c4959
2018-06-14 06:34:23 +00:00
Stephen Finucane 8993b8b68f trivial: Fix file permissions
Change-Id: Iaaf00635ded74e68c204523dc0c40edda00cb4f7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2018-05-03 14:38:52 +01:00
melissaml 48c283ccf1 Modify grammatical errors
Change-Id: I0f7218fa9299c9c1e7a6d8fb9108159e87967b45
2018-02-08 00:09:43 +08:00
Dirk Mueller 77b2ae9c5f Fix citation references (Sphinx 1.6.x compatibility)
Sphinx 1.6.x gained a cross-reference check warning that caused
the build to fail in "tox -e docs" environment. Removing underscores
from the citation reference identifier ensures that the cross references
are properly detected. Similarly missing references to footnotes are
now a warning (which is upgraded to an error in the docs tox
environment) so adjust references where it makes sense and is needed.

Closes-Bug: #1695127
Change-Id: I7e55dcf910e0ba6dd85b565db8cb1ecbdd39634a
2017-06-05 10:39:37 +02:00
Jenkins 6cd80618bf Merge "Add addendum to Castellan integration specification" 2017-04-04 16:00:18 +00:00
Jenkins ea24095a94 Merge "Fix typos in server-count-api.rst,etc" 2017-04-04 12:51:21 +00:00
Jenkins 8d9ae117f0 Merge "Fix typos in docs" 2017-04-04 11:15:57 +00:00
Jenkins 196ef46214 Merge "Fix a typo" 2017-04-04 10:26:32 +00:00
Matt Riedemann b39e3ec3be Fix the bullet list in user-id-based-policy-enforcement
This makes the bullet list of server actions actually render
as a list.

Change-Id: I17d89f1fd05ddc41ea155dedbca90c2f4527ba46
2017-03-22 16:57:42 -04:00
Takashi NATSUME f0aaee6b32 Fix formatting errors and warnings
Fix errors and warnings when running 'tox -e docs'.

TrivialFix
Change-Id: I0caa170ccfba54231de3c8337f87450ff7fe98cc
Co-Authored-By: Stephen Finucane <sfinucan@redhat.com>
2017-03-20 10:05:41 +00:00
Stephen Finucane a67d39baa0 Remove templates from approved/implemented specs
These are not specs, and don't need to be kept in this list
post-release. Remove them.

Change-Id: I86d34e1461ea15ba5b1e76e36f11e0886ff3077d
2017-03-14 11:38:29 +00:00
gengchc2 ce0fa97fb7 Fix typos in server-count-api.rst,etc
TrivialFix

Change-Id: I28b93c6f127fa6f65acac2827c3cdadbe8d38068
2017-03-10 01:41:51 +00:00
zhangyanxian f53c30d90b Fix typos in docs
TrivialFix:
"automaticly" should be "automatically"
"instnaces" should be "instances"
"verison" should be "version"

Change-Id: If470b65277718a4c6d1c56b4d215b565babe67d0
2017-02-04 01:54:55 +00:00
Chris Dent 2589924d93 Update the generic resource pools spec to reflect reality
During the development of the placement API, some details ended
up being different than what was originally specified. The changes
herein attempt to make the spec reflect reality.

The changes include

* don't use $ when assigning shell variables in examples
* add GET allocations by consumer
* add GET allocations by resource provider
* fix URIs in link examples of resoure providers (they were shown as
  relative links)
* correct "type": "uuid" jsonschema to use "type": "string" with a
  "format" of "uuid".
* other minor jsonschema corrections here and there
* Correct inventory create and update response bodies from empty
  responses to having a body

Change-Id: I47595a0a2353fdb58e1f7930a06b18312961433d
2016-12-09 14:23:48 +00:00
gengchc2 d1ff5ab695 Fix a typo
TrivialFix

Change-Id: Iae6b6dc072ea46496c4185598efd0d62c01625f4
2016-12-02 16:37:18 +08:00
Kaitlin Farr ebf04e087d Add addendum to Castellan integration specification
The original Nova specification for integrating Castellan
for key management has merged, but it was suggested that
alternate implementations to the original one may be preferred.

This addendum opens up other options for discussion.

Original specification change id:
I025995584e74c0b2df00841697714c10d1afb674

Change-Id: Ie9c686d9f1ee2e99d3c0b45f3b9b83e1f7ccb00b
2016-11-21 18:46:30 +00:00
Jenkins 339c9a5e07 Merge "Amend placement API with correct PUT inventory" 2016-11-14 14:44:47 +00:00
Jenkins 5f27372ef9 Merge "Amend spec for 'get me a network'" 2016-11-03 14:11:38 +00:00
Jay Pipes c7568e036f Amend placement API with correct PUT inventory
At the end of the review for the generic resource pools spec, we agreed
to change the JSON structure of the inventory "records" to this:

 {
    "DISK_GB": {
        "total": 0,
        ...
    }, ...
 }

instead of this:

 [
    {
        "resource_class": "DISK_GB",
        "total": 0,
        ...
    }, ...
 ]

However, we forgot to make the PUT /r-p/{uuid}/inventories request
consistent with the GET response payload.

This corrects that oversight. The code in the placement API was written
to the spec and will need to be corrected as well.

Change-Id: I8eaef8d532d9e5d4917ede572000e3adc3149f73
2016-11-01 07:45:37 -04:00
Anh Tran 9eebdbd066 Remove redundant 'the'
Change-Id: I10ed9148af1144b9010ab6d8bb8dd0539f1bc34b
2016-10-21 17:18:29 +07:00
Matt Riedemann 7c8356522c Amend spec for 'get me a network'
This just amends the spec for the design change in the
server create request schema that went into the final
implementation for this blueprint.

Change-Id: Ide7f6126f8e8a4f47fad7dce55a820ada8426a00
2016-09-30 17:34:26 -04:00
Jenkins eeb2d4a340 Merge "Move implemented specs for newton" 2016-09-27 10:30:33 +00:00
Jenkins c8e5a1ec76 Merge "Fix spec names to match blueprint names" 2016-09-27 10:30:26 +00:00
Jenkins dc18479529 Merge "user_data modification" 2016-09-26 10:07:36 +00:00
Matt Riedemann 4d9fa18678 Move implemented specs for newton
This uses the mova-implemented-specs script to move
completed newton specs to the implemented directory
and populate the redirects file.

Change-Id: I0511f2c32f7fe85ace8d035b07342ce628491e1b
2016-09-20 13:42:57 -04:00
Matt Riedemann bfb15e4dff Fix spec names to match blueprint names
The filename of the spec should match the blueprint
in launchpad, this is what the move-implemented-specs
script works with and needs, and our template/review process
should enforce. This change fixes the newton specs that
had busted names and updates the redirects file to preserve
any links to the old names.

You can test this by running:

tox -r -e move-implemented-specs -- -n -v newton

And there won't be any warnings at the end.

Change-Id: I806bdebde1c5bf8e48dfdbf4813342a9c4de5ad3
2016-09-20 13:42:57 -04:00
Matt Riedemann bb91981b9c Fix live-migrate-rescued-instances title formatting
Because this spec didn't have a title it messed up the
links in the specs/newton/approved list in the docs.

Change-Id: I8a630592eecce88709d3adf35573911e0bdb3c1f
Closes-Bug: #1625322
2016-09-19 15:09:01 -04:00
Jenkins e6f653874f Merge "Add spec for user_id base policy enforcement" 2016-08-10 22:25:16 +00:00
Sean Dague 1b36e43c22 Add spec for user_id base policy enforcement
This was a feature from Nova legacy API codebase that had 0 testing,
and only hints of documentation. This proposes to bring it back in a
very limited (and deprecated way) for the current code.

Change-Id: I70a8c8e76f234611f4b2972b3adae86ca09da012
2016-08-10 15:45:48 +00:00
Jim Rollenhagen b4037840a0 Update ironic networking spec
This removes the portgroups functionality, as we didn't/won't get to
that this cycle. This will be proposed as a separate blueprint in a
future cycle.

Change-Id: Ic97c172c72245ffa9fe8c2544639a1cb7a898e4d
2016-08-10 07:59:14 -04:00
Jenkins 861c4c6346 Merge "Amend placement REST API with allocation records" 2016-08-08 14:46:54 +00:00
Jenkins 6cbad3b546 Merge "resource-providers: Populate allocation fields" 2016-08-05 01:56:10 +00:00
Jay Pipes 3cd2c9cc49 resource-providers: Populate allocation fields
Populates the allocations table in the API database with usage
information by calling the new placement API from the Nova resource
tracker.

Change-Id: Ia90ddb7d148f5ec9cb67cf378b93784371af82c7
blueprint: resource-providers-allocations
2016-08-04 17:04:09 -04:00
Jim Rollenhagen 341143e32b Re-re-propose ironic-multiple-compute-hosts
This re-writes the ironic-multiple-compute-hosts spec to use a hash
ring, rather than messing around with how we schedule.

Change-Id: I51de94e3fbe301aeed35a6456ed0b7350aefa317
2016-08-03 09:48:09 -04:00
Jay Pipes d58f6cb154 Amend placement REST API with allocation records
Not sure how or why we forgot to include an ability for a caller to set
and delete allocation records against resource providers, but we did.

This amendment to the spec adds two additional REST API calls for
setting and deleting allocation records in an atomic fashion (atomic
operation for a set of resources consumed by a single consumer against
one or more resource providers). These REST API calls will be made from
the Nova resource tracker when instances claim or free resources on the
compute nodes.

The endpoint is /allocations/{consumer_uuid} accepting PUT and DELETE
methods.

Co-Authored-By: Chris Dent <cdent@anticdent.org>
Change-Id: I5ef70ae2e13b1dd0c0ef1fa5821b3ee5a3265ca7
Blueprint: generic-resource-pools
2016-08-01 11:02:12 -04:00
Chris Dent ffed7f72c5 Update generic-resource-pools for set inventories
In-development work has shown that an additional method is
needed in the resource providers API to allow the setting
of multiple inventories on one resource provider, in one
request.

This has been added as

   PUT /resource_provideres/{uuid}/inventories

with a body of one or more inventories.

Change-Id: I81f1b26579e8c2b1aa4afce3a90979ea7a925008
Blueprint: generic-resource-pools
2016-07-15 17:32:08 -07:00
EdLeafe 8c717ca94e Return 400 When Bad Status Values are Received
A bug was found where passing an invalid status to the server listing
API would return an empty list for a regular user, but would raise an
exception and return a 500 error for admin users. In the discussions
about that bug it was felt that while fixing the exception was certainly
correct, the list of valid status values is small and well-defined, so
returning an empty list was not the desired behavior; instead, the user
should get a 400 Bad Request instead.

Blueprint response-for-invalid-status

APIImpact

Change-Id: Id5a9b6708b39530ca6f53e9c576305d01f211c78
2016-07-01 14:16:26 +00:00
Jim Rollenhagen 006108fb3c Fix work item bullet syntax in policy-in-code.rst
This is rendering poorly, fix it up so I can read it. :)

Change-Id: I3584c3067d3f8da9be821cf10579ca91959e2d61
2016-06-22 15:25:50 -04:00
Sean Dague 03d5114f5f Document the removal of API extensions facility
This tries to put down the complete arc of API extensions use in Nova,
and how we will be tearing down the infrastructure over the next 2
cycles.

Change-Id: Ic44397fbaf142816091eb1817dcbea249b3528b0
2016-06-13 15:50:52 -04:00
Jenkins 44f874b6fd Merge "Amend generic-resource-pools" 2016-06-08 20:28:28 +00:00
Jenkins b14091d716 Merge "Integrate Castellan for Key Management" 2016-06-07 19:55:52 +00:00
Jay Pipes e79a21c17b Amend generic-resource-pools
Amends the generic-resource-pools spec with the following changes:

* Change terminology from "resource pool" to "resource provider"
* Change the REST API proposal to have /resource_providers endpoints
instead of /resource_pools endpoints
* Change the `openstack resource-pool` CLI commands to `openstack
resource-provider` CLI commands
* Adds a generation field to the output of the resource provider dicts
and update operations along with a note as to how the generation field
shall be used

Change-Id: Iefe28041fa9e81558ebac9f47016c4db43a92723
2016-06-06 11:31:52 -04:00
Jenkins 2cc649e35a Merge "Versioned notification for keypairs" 2016-06-03 16:23:17 +00:00
Hiroyuki Eguchi 794c5044fa Versioned notification for keypairs
Currently, no useful notification will be sent
for keypair state change.
This spec will transform legacy notification
to versioned notification about keypairs,
and at the same time extend contents of
notification with extra data.

Blueprint: keypair-notification
Change-Id: I05080afb8bd4249f8bea23512b25844fecbefeb9
2016-06-03 15:00:56 +00:00
Jenkins 32eeaacbf6 Merge "Adds Nova discoverable policy CLI spec" 2016-06-03 14:44:58 +00:00
Jenkins 4fc9ec210d Merge "Neutron Routed Networks" 2016-06-02 21:49:15 +00:00
Ildiko Vancsa 06559388c6 Add multiattach support to Nova
The spec is describing the Nova side of the 'multiattach' feature.
The functionality targets to add support for attaching a Cinder
volume to multiple VM instances.

Previously-approved: mitaka
Implements: blueprint multi-attach-volume
Change-Id: I288f7140e3acd979b65734049fd42c2b3f3c5277
2016-06-02 22:36:01 +02:00