Commit Graph

85 Commits

Author SHA1 Message Date
Ian Wienand 8a2762fa02 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: Ia9081a1f0249a7a8b863093faa0f0b05f27cbb85
2019-03-24 20:34:48 +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
ghanshyam fb25b4c225 Few correction in the server filter/sort spec
server filter/sort spec (add-whitelist-for-server-list-filter-sort-parameters.rst)
is implemented in ocata but there are 'all_tenants' behavior
and policy changes mentioned in this spec which actually did not get
implemented.

Those proposed changes were rediscussed in API meeting [1] to implement in
a different way [2] which again not completed yet.

There was no consensus on direction that time and need more broad discussion
to make 'all_tenants' bits as better UX.

But anyways we should cleanup the implemented spec with things
not yet done. Otherwise people might get wrong impressions about 'all_tenants'
changes.

This commit does the below change to server filter/sort spec:

1. Some valid params which are implemented in schema but missing in
spec's whitelist:
 - Add 'created_at' and 'changes-since' in filter params list
 - Add 'created_at' and 'updated_at' in sort param list

2. Remove the 'all_tenants' proposed changes which are not implemented yet.

We will further discuss/plan the 'all_tenants' proposal as fresh spec.

.. 1 http://eavesdrop.openstack.org/meetings/nova_api/2017/nova_api.2017-01-25-13.00.log.html
.. 2 https://review.openstack.org/#/c/426128/  https://review.openstack.org/#/c/425533/

Change-Id: Ibdcc5cae3b73c0aa0d3e0a785c827682df0483ca
2018-03-27 16:39:16 +00: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 f164026b64 Re-add templates
In commit a67d39ba, we removed templates from both the approved and
implemented folders of 'specs/{release}'. However, git tracks files, not
folders, meaning the 'implemented' folders for both Ocata and Pike,
which are currently empty, are no longer tracked and the glob patterns
used in 'doc/source/specs/{release}/index.rst cause warnings.

These templates are re-added to fix the immediate issue. However, we
still don't want to keep these around once the release has been made. As
such, we add an addition step to the tool for migrating implemented
specs to remove these templates. This should automate the process in the
future.

Change-Id: Iaae10e180845b5073e1e13a4df1050b8b98d03d7
2017-03-20 10:05:41 +00:00
Jenkins fe6b796e78 Merge "Move implemented specs for Ocata" 2017-03-17 19:44:47 +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
Matt Riedemann 91029061a3 Move implemented specs for Ocata
This moves the specs that were completed in Ocata
from the 'approved' directory to the 'implemented'
directory and updates the redirects file.

This also fixes a bug in the move-implemented-specs
script such that we filter out completed blueprints
which are not implemented, which was the case with
blueprint cold-migration-with-target-ocata which was
superseded.

Change-Id: I476e2e2d4bb089d901b887ce7728fc29c35a0957
2017-03-07 18:10:52 -05:00
Matt Riedemann da1ba4e5a0 Fix a couple of spec names
This renames a couple of specs to match the actual
blueprint name in launchpad and adds redirects for the
old names.

Change-Id: I2ebfa6dc3dd9e8c8d44036f1b473397f211f83a9
2017-03-07 18:07:47 -05:00
Jay Pipes 3c48c2295b Record reality of placement API usage from n-sched
The resource-providers-scheduler-db-filters spec previously contained wording
that intimated that the scheduler would begin to use the placement API for
scheduling decisions as soon as some nova-compute workers were upgraded and
began reporting inventory and allocation records to the placement API. This is
not how Ocata was released. Instead, the placement API is only queried from the
scheduler once all nova-compute workers have been upgraded to Ocata. This patch
simply records that new reality.

Change-Id: I9b9e3855b8479dd22d714149889793224909832f
2017-02-10 15:25:31 -05:00
Artom Lifshitz d79a01ff87 Fix tag attribute disappearing
In the context of virtual device role tagging at instance boot time, a
bug has caused the tag attribute to no longer be accepted starting
with version 2.33 for block_device_mapping_v2 and starting with
version 2.37 for networks. In other words, block devices can only be
tagged in 2.32 and network interfaces between 2.32 and 2.36
inclusively. This spec introduces a new API microversion that re-adds
the tag attribute to both block_device_mapping_v2 and networks.

APIImpact
Change-Id: I37cec158c6f998143842ad44f739fe2031d75eef
Implements: blueprint fix-tag-attribute-disappearing
2017-01-30 12:32:47 -05:00
Jenkins d4f1fc5334 Merge "Return uuid from os-aggregates API (spec)" 2017-01-06 15:44:27 +00:00
Matt Riedemann 28178d45bb Return uuid from os-aggregates API (spec)
This spec proposes that the os-aggregates REST API returns the
aggregate UUID in a new microversion so that the aggregate UUID
can be used to associate an aggregate with resource providers
in the Placement service.

APIImpact

Spec for blueprint return-uuid-from-os-aggregates-api

Change-Id: I230b329a559c41ac6e9a181b9b8c7f25a6dd1122
2017-01-05 11:51:04 -05:00
Kevin_Zheng 899d39c2b1 Trivial typo fix in spec
Serveral typo found while implementing the blueprint.

TrivialFix

Change-Id: I20184e2c2df6a031cdcca860c8758511de723c34
2016-12-27 15:54:12 +08:00
Kevin_Zheng 7edc4b9af3 Add whitelist for filter and sort query parameters for server list API
Currently the filter and sort query parameters can be used for
`Server List` API are not explicit defined (the filters that
can be used for non-admin users are defined).

This spec aims to propose to add whitelists for this API to
strict the filter and sort query parameters that can be used
when calling `GET /servers` API.

APIImpact

Co-Authored-By: Alex Xu <hejie.xu@intel.com>

Implements: blueprint add-whitelist-for-server-list-filter-sort-parameters
Change-Id: I7d0735b4697b22f74cf7700bca65eb38161744e8
2016-12-26 02:30:40 +00:00
Matt Riedemann 510cb71553 Amend response details for custom resource classes PUT
The code in I99e7bcfe27938e5e4d50ac3005690ac1255d4c5e actually
returns the updated resource class from the PUT operation and
the response code is 200, not 204 with an empty body.

Change-Id: Ieb7a7f72f9c43886028fdaeac7a790baaea74716
2016-12-02 14:37:06 -05:00
Matt Riedemann 4ca1c02312 Fix bullet formatting in RP custom-resource-classes spec
This makes the bulleted lists actually format properly.

Change-Id: I57ebc4a8ea9d623a7726166135576005573255d4
2016-12-02 14:30:10 -05:00
Jenkins fe51af0df1 Merge "Add concept of nested resource providers" 2016-12-01 17:12:25 +00:00
Jenkins d0a6bcf39d Merge "Amend proposal to count resources to check quota in API for cells" 2016-12-01 14:01:32 +00:00
melanie witt 5f2583e827 Amend proposal to count resources to check quota in API for cells
This adds more detail to the spec.

Related to blueprint cells-count-resources-to-check-quota-in-api

Change-Id: I2f701b3d182b331e8533c9d10073d95f1a019ccd
2016-11-30 17:11:33 -05:00
Jenkins 15a0da1190 Merge "Spec for continued vendordata work in Ocata." 2016-11-29 13:56:07 +00:00
Jay Pipes 1706db5ccf Add concept of nested resource providers
Adds the concept of a tree of resource providers arranged in a
hierarchical fashion for handling resource tracking scenarios including
NUMA nodes and SRIOV physical function VF inventories.

Change-Id: I95c8bed51886bd434a025da246287c9521e520b2
blueprint: nested-resource-providers
2016-11-28 17:57:13 +00:00
Michael Still b1313ce224 Spec for continued vendordata work in Ocata.
As discussed at the summit in:
  https://etherpad.openstack.org/p/ocata-nova-summit-vendoradatav2

Change-Id: I6c7a32109dca11a89320949edfb880dccb8bcb99
2016-11-28 15:56:14 +00:00
Jenkins 1ebcb92ac0 Merge "resource-providers: Scheduler filters in DB" 2016-11-23 02:25:30 +00:00
Jay Pipes 00e95ca9cf resource-providers: Scheduler filters in DB
We extend the resource-providers series to modify the
scheduler to filter compute nodes by calling the placement API
instead of retrieving all compute nodes in the deployment and
filtering on the Python side.

Change-Id: I70a48625baf36e9ac4c382bbd87baa3170198983
blueprint: resource-providers-scheduler-db-filters
2016-11-22 15:42:58 -05:00
Jenkins 384350be8c Merge "Resource providers: custom resource classes" 2016-11-21 20:06:17 +00:00
Jay Pipes 76c03f865d Resource providers: custom resource classes
Adds ability for cloud admins to create custom dynamic resource classes.

Change-Id: I14bb3500eba74a69c665c7ddb96d5d99bef66d85
Blueprint: custom-resource-classes
2016-11-21 18:40:47 +00:00
Jenkins de208254e8 Merge "Proposal to count resources to check quota in API for cells" 2016-11-18 11:03:36 +00:00
Vladik Romanovsky 10bf6de28f Expose SR-IOV physical function's VLAN tag to guests
As SR-IOV physical functions can not be assigned with a VLAN tag,
allow it's vlan tag to be exposed through a device metadata to the guests.

Implements blueprint sriov-pf-passthrough-neutron-port-vlan
Co-Authored-By: Artom Lifshitz <alifshit@redhat.com>
Change-Id: I9d0f4dcb0f52582704555724f4a29684896f4178
2016-11-17 21:54:52 -05:00
melanie witt ee696e984a Proposal to count resources to check quota in API for cells
Resources should be counted to check quota in the API to minimize
coupling between the API cell and compute cells.

Related to blueprint cells-count-resources-to-check-quota-in-api

Change-Id: I6d7cb528808bb5115a8c7be4f58094bb42fb5e7f
2016-11-17 23:52:15 +00:00
Jenkins ef7f9307ab Merge "Narrow the list of ResourceProviders" 2016-11-17 22:09:28 +00:00
Jenkins 5cd279a468 Merge "Add prep-for-network-aware-scheduling-ocata spec" 2016-11-17 19:56:35 +00:00
John Garbutt 620e13c0ab Add prep-for-network-aware-scheduling-ocata spec
Change how we talk to neutron to allow us in the future to implement
network aware scheduling.

This is just the continuation of the work started during newton.

This is a priority, because this blocks routed networks, which is
blocking the removal of cells v1.

blueprint prep-for-network-aware-scheduling-ocata

Change-Id: Id28509c7fae784ecc6359556a6da1bc39f2b68f7
2016-11-17 18:19:21 +00:00
Jenkins 52c4e41816 Merge "Simple tenant usage pagination" 2016-11-17 15:29:20 +00:00
Jenkins 148f1d76a6 Merge "Libvirt driver emulator threads placement policy" 2016-11-17 14:41:01 +00:00
Jenkins be592f9fff Merge "Proposal for ironic static portgroups support" 2016-11-17 10:44:49 +00:00
Jenkins d9a0d6a31a Merge "Consistent query parameters validation" 2016-11-17 10:43:27 +00:00
He Jie Xu 405bc752b7 Consistent query parameters validation
The spec implements the blueprint consistent-query-parameters-validation

Change-Id: I6b255293e07c90f68b0030581b90d6906a236e7f
2016-11-17 03:05:58 +00:00
Daniel P. Berrange ad39cf6b87 Libvirt driver emulator threads placement policy
The Nova schedular determines CPU resource utilization and instance
CPU placement based on the number of vCPUs in the flavour. A number
of hypervisors have work that is performed in the host OS on behalf
of a guest instance, which does not take place in association with
a vCPU. This is currently unaccounted for in Nova scheduling and
cannot have any placement policy controls applied.

Blueprint: libvirt-emulator-threads-policy
Change-Id: I069cd14ea89045136ae8a29c2d2f6c8c17157533
2016-11-16 12:45:10 +01:00
Jenkins 3c5ec9032e Merge "Send service token along with user tokens" 2016-11-16 02:15:29 +00:00
Diana Clarke 5e10df903d Simple tenant usage pagination
Spec to add optional parameters 'limit' and 'marker' to the
os-simple-tenant-usage endpoints for pagination.

  /os-simple-tenant-usage?limit={limit}&marker={instance_uuid}
  /os-simple-tenant-usage/{tenant_id}?limit={limit}&marker={instance_uuid}

APIImpact
blueprint: paginate-simple-tenant-usage
Change-Id: Ie9dc4f1c62180175433786fcf37d758762a457f0
2016-11-15 10:51:37 -05:00
Sylvain Bauza 20c17838f0 Narrow the list of ResourceProviders
Given that we want to get a list of ResourceProviders that can support
a request, we need to propose a REST API call having a
request body that would only return those which support that request.

Implements: blueprint resource-providers-get-by-request
Change-Id: Ibd140287e8c96ed4fa22dd9b36c274530770e207
2016-11-15 11:13:27 +01:00
Sarafraj Singh 035e5c3382 Send service token along with user tokens
Some operations in Nova could take a long time to complete. During this
time user token associated with this request could expire. When Nova tries
to communicate with other services using the same user token, Keystone fails
to validate the request due to expired token.

Service token will be passed along with user token to communicate with
services when dealing with long running tasks like live migration.
Keystone middlewere trusts that the service got the user token when
it was valid, don't check the expiry date of cert.

Change-Id: I7f5807ed6b998a0d88169dbbf057e22fe2cd9167
2016-11-14 20:56:09 +00:00
Vasyl Saienko 48551c8d3a Proposal for ironic static portgroups support
This spec describes ironic static portgroups enablement in
Nova.

Blueprint: ironic-portgroups-support
Co-Authored-By: Vladyslav Drok <vdrok@mirantis.com>
Change-Id: I4975e08a890015fcef5f27b503682b9b541a4d0b
2016-11-14 11:49:21 -05:00
Jenkins c6a007622b Merge "PowerVM Initial Driver Work" 2016-11-14 06:22:16 +00:00
Jenkins ee05dbf99a Merge "Enable cold migration with target host" 2016-11-11 21:09:43 +00:00
Jenkins e0bb0ee028 Merge "XenAPI: add common os-xenapi libary" 2016-11-09 14:28:57 +00:00
Takashi NATSUME 552efae39f Enable cold migration with target host
The target host can be specified when cold migrating a server.
And a new request body field called ``force`` (defaulted to False)
is added in order not to call the scheduler when providing a
destination. Setting it to 'True' makes the cold migrate operation
bypass the scheduler.

APIImpact
Change-Id: I57f3cb045a5f050931dc6c0fe9786ddd7dd0a2d7
blueprint cold-migration-with-target-ocata
2016-11-08 10:52:11 +00:00
Jenkins 0f0dd5647a Merge "Restore V3 Diagnostics info" 2016-11-04 18:50:47 +00:00
Jianghua Wang e548b6d054 XenAPI: add common os-xenapi libary
xenapi is currenly involved in several OpenStack projects(e.g. nova,
neutron, ceilometer) and may be involved in other projects in the future.
By creating a new common project to hold the common xenapi modules, it will
help to reduce the code duplication between these projects; and also making
it easier to maintain, review and propose new changes to current and future
projects.

Change-Id: Ib9b06465ff2162d1f56196b1b2f1ce7a5bd45cfc
Blueprint: add-os-xenapi-library
2016-11-03 04:12:24 +00:00