Commit Graph

170 Commits

Author SHA1 Message Date
“miaoyuliang” 1bace4641d Update error in install-rdo.rst and update default port
Nova placement use port 8778, to avoid confusion, Update
senlin default port from  8778 to 8777. And update
spelling mistakes in install-rdo.rst

Change-Id: I342b1badf3910ea07ea64523cdb8a19a8a0ccb06
2020-09-26 00:31:31 +00:00
pengyuesheng 9523029e02 Bump the openstackdocstheme extension to 1.20
Some options are now automatically configured by the version 1.20:
- project
- html_last_updated_fmt
- latex_engine
- latex_elements
- version
- release.

Change-Id: I432ae5415b9ab8ca7247fb5fb2a8b6e1819029ba
2019-11-15 02:47:26 +00:00
Duc Truong e792d91935 Add tainted field to nodes
Allow users to marked nodes as tainted.  Tainted nodes will be selected
first for scale-in operations.

* Updated API microversion to 1.13
* Updated node table to add tainted field
* Updated docs

Change-Id: I3a391a31240b5206ad83cd054084b9946fbab24e
2019-10-22 21:27:55 +00:00
Andreas Jaeger c993775bd4 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: Ie28caca2519b6e5940bb884876113b84d45c3048
2019-07-22 19:19:20 +02:00
Zuul 5038ca746e Merge "Add webhook v2 support" 2019-05-22 14:09:20 +00:00
Duc Truong 7775928abc Add webhook v2 support
Previously webhook API introduced microversion 1.10 to allow callers to
pass arbritary data in the body along with the webhook call.  This was
done so that webhooks would work with aodh again.  However, aodh and
most webhook callers cannot pass in the header necessary to specify the
microversion.  Thus, I'm introducing webhook v2 here so that webhooks
behave like in microversion 1.10 but without the need to specify that
microversion header.

Closes-Bug: #1828856
Change-Id: I7f5cdb2ea19c6ca1a9ea68e64515804f219a73ee
2019-05-13 19:04:51 +00:00
Jude Cross e37e347771 Allow cluster delete to detach policies & delete receivers
This patch allows the cluster delete actions to detach policies
and delete receivers for the cluster being deleted. This
simplifies deleting clusters by not having to detach or delete
all dependancies from it beforehand.

Depends-On: https://review.opendev.org/657713/

Change-Id: I9c723516a65a43533e0589bc85bd485a6387711b
2019-05-08 16:03:06 -07:00
Duc Truong 67591b0211 Fix cluster recovery and node recovery params
- Make 'operation' param in cluster recovery and node recovery a
  string.
- Add 'operation_params' for cluster recovery and node recovery to pass
  in extra parameters like reboot type.
- Add type validation checks for cluster recovery and node recovery
  parameters.

Change-Id: I73600991f97d5700d3eac442b4785f653ba4820f
Closes-Bug: #1815540
2019-02-15 22:13:25 +00:00
Jude Cross 44b5ae89f6 Add force to action_update
This patch adds the force query parameter to action_update.
When force is set to true on an action cancel request the
action status will be updated in the database to cancelled
rather than signaled to cancel. This will also update any
child actions to update their status in the database to
cancelled.

Change-Id: I45ab4a6ad57e3bfe791da1d2e70d3b2ed3ad9a21
2018-12-21 15:35:06 -08:00
Jude Cross ffbfa8042e Add action_update api to cancel actions
This patch implements the action_update API to allow the status
of an action to be updated. For now we are only accepting
'CANCELLED' as a valid status value.

Implements: blueprint action-update
Change-Id: I76402401cb67bc9a2aa1df43ec0f28fc446f04bd
2018-12-05 16:08:21 -08:00
Jude Cross 364b1402a1 Update scaling policy logic to be applied before action acceptance
This patch alters the cluster_scale_in and cluster_scale_out actions to
no longer place the action into the actions table when a conflict is
detected. This behavior is an improvement on the old way actions are
processed as the requester will now receive immediate feedback from the API
when an action cannot be processed. This change  also honors the scaling
action cooldown in the same manner by erring via the API when a scaling
action cannot be processed due to cooldown.

Depends-On: https://review.openstack.org/#/c/602460/
Implements: blueprint scaling-action-acceptance
Change-Id: If0dcf5e427d3d6973d2c5e52fada8a6c925240d5
2018-10-15 14:30:01 -07:00
Duc Truong 7a6011d262 Add complete lifecycle to API doc
Complete lifecycle API was implemented as part of lifecycle hook
implementation in [1]. This commit updates the API doc to include the
new complete lifecycle API.

[1] 3dd9f3ecde

Change-Id: I4f7f61e5580eb95d2ae3b04d59b843d75d47fced
2018-07-11 23:07:41 +00:00
Zuul c7b2780b3c Merge "modify grammatical errors" 2018-07-05 01:49:13 +00:00
sunqingliang6 446e713d04 modify grammatical errors
Change-Id: I4caeba85d880c5f0456efeac963ea9d792180498
2018-06-27 21:06:08 +08:00
Yuanbin.Chen c4954c5301 Remove senlin api doc metadata field
Senlin server code policy store data not exist metadata
field, The policy store data not need metadata field.

Change-Id: Ie351e7bb5eb32460852766ce47d598c299b0aaaa
Closes-Bug: 1760974
2018-06-19 14:56:43 +08:00
Jacob Estelle 0d2db0cf20 Make webhook API compatible with Aodh
Currently Aodh alarms will send their params as part of the body, rather
than nested inside of a 'params' field. I asked Aodh to change how
they are sending this but they suggested I change this API instead.
See: https://review.openstack.org/#/c/564648/

Change-Id: I140826f8433535281a60480bd10391f3f95a0d66
2018-05-01 01:17:45 +00:00
Zuul 5d2dbadc0f Merge "Move openstackdocstheme to extensions in api-ref" 2018-04-17 07:18:48 +00:00
Duc Truong fbc788c0fc Fix webhook trigger V query param to be required
* Raise webob.exc.HTTPBadRequest if webhook trigger URL is missing V
query param
* Update API docs to show V query parameter as required

Closes-Bug: 1759663

Change-Id: I586df9689585dad8fe461b256ae6a1de084f67f6
Signed-off-by: Duc Truong <dtruong@blizzard.com>
2018-03-29 20:20:57 +00:00
wanghui f1feb2e51f Move openstackdocstheme to extensions in api-ref
Move openstackdocstheme to extensions. According to the guide below:
https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I7e322de0357efd4df4e223346130c5c2f525a9c7
2018-03-27 09:59:34 +08:00
zhang.lei 5d4cec27cb Remove the deprecated "giturl" option
From openstackdocstheme 1.18.0, valid Git URLs can be retrieved by
openstackdocstheme[1], we do not need giturl option anymore.

[1] https://review.openstack.org/532163

Change-Id: I9934939da3f2f54c4ad671d8cfaf9a74f4552bdf
2018-01-15 03:09:11 +00:00
liyi c8d0e7cce4 Add role parameter for node adopt in doc
Change-Id: Ibaf769094c6ef1e90e48cc912a69a626c2c81c2b
Closes-Bug: #1709745
2017-08-10 10:07:18 +08:00
liyi 495299c87f Add receiver notification API doc
Change-Id: I719281bebc74efecc6bf971c2c43161ccf623a1a
Closes-Bug: #1709515
2017-08-09 10:34:59 +08:00
Jenkins 8f16c19cda Merge "Update build info API doc" 2017-07-26 01:37:40 +00:00
Jenkins 0a01df361e Merge "Update node API doc" 2017-07-25 02:09:42 +00:00
Jenkins 9f1f917f6c Merge "Update cluster APIs doc" 2017-07-25 01:51:39 +00:00
Jenkins 20be493e9d Merge "Update events and actions API doc" 2017-07-21 08:36:32 +00:00
Jenkins 4e0a79ce78 Merge "Update receiver API doc" 2017-07-20 10:38:21 +00:00
liyi 0cbd575aa0 Update events and actions API doc
Change-Id: I598de366a1cc411c40f9f03f740bca6b6dbe4aeb
2017-07-20 18:01:51 +08:00
liyi 5b5bc05d31 Update cluster APIs doc
1. add config field in request and response.
2. add dependents field in response

Change-Id: I70a4fbbb360b6bf7f83b87712d0f50104771f7dd
Depends-On: Ibc2845633dc35e7c789578237bb219017f814c50
2017-07-20 17:02:17 +08:00
Jenkins e5125c1eac Merge "Update profile APIs doc" 2017-07-20 08:49:35 +00:00
Jenkins 8bb45e2526 Merge "Update cluster policies API doc" 2017-07-20 08:47:30 +00:00
liyi eb599caae8 Update receiver API doc
Change-Id: I91ccff1395edbd04b470aea1ab87d7fe79b5e4d6
2017-07-20 15:06:36 +08:00
liyi 7295e6ee3b Update node API doc
Change-Id: I04530507b323d8ce29caca76a940b152848a932a
Depends-On: I70a4fbbb360b6bf7f83b87712d0f50104771f7dd
2017-07-19 12:41:08 +08:00
liyi bc7b9fbbbc Update cluster policies API doc
Change-Id: I36c52109374e6708ee013715d57612a55cf06e3d
2017-07-18 10:50:00 +08:00
liyi 5c8bc80409 Update profile APIs doc
1. update some outputs field
2. update request params
3. update response params
4. update samples

Change-Id: Ibc2845633dc35e7c789578237bb219017f814c50
2017-07-17 16:20:01 +08:00
Jenkins 01db8c07c7 Merge "Update policy type APIs doc" 2017-07-17 07:17:20 +00:00
Jenkins 7d07038754 Merge "Update profile types APIs doc" 2017-07-17 06:56:32 +00:00
liyi 473f8eee21 Update policy type APIs doc
Update samples.

Change-Id: I98f4046c1f6061826a0650540762b9db7a6dc65b
2017-07-12 13:13:53 +08:00
liyi 28627a04b2 Update profile types APIs doc
Some examples need update.

Change-Id: I21c9b218510e920fd58d4663dba3d3e9f4abf539
2017-07-12 10:32:11 +08:00
liyi 8384fcf854 Update build info API doc
Change-Id: I603c7856212880f89a38abfcba2c5b14d4cb196d
2017-07-12 09:41:33 +08:00
liyi b1017a1b8d Change the max_version to 1.7
max_version is 1.7, update the documentation.

Change-Id: I8feca1e9ea074da09840e62c121a06dc8d8b6564
2017-07-12 09:21:50 +08:00
tengqm e01f293bfd Remove 'cluster' and 'role' from node adopt
We are abstaining from permitting a node to adopted directly into a
cluster. This is gonna be dangerous because adding new members to a
cluster means a lot of things rather than setting the cluster and index
property. It will affect placement, load-balancing and many other
policies. Before we have a plan to do them, we limit this api to adopt a
node as orphan node only.

Change-Id: I6e58932bb350906f3b04bc7e124ead0c0b181c11
2017-06-29 22:53:57 -04:00
Yuanbin.Chen dab05321fd fix receiver update api interface document
Change-Id: I0a62b83db858ee4ebf677a9b3f716137f821b02a
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2017-06-03 00:06:56 +08:00
Yuanbin.Chen 0edce1c2c5 Add receiver update api document
This patch add receiver update api interface
to api development document.

Change-Id: Id4c89ae6edc788308cad937a5f9a1abe8f65cbd3
Signed-off-by: Yuanbin.Chen <cybing4@gmail.com>
2017-06-02 20:41:41 +08:00
RUIJIE YUAN 6e89ab7989 add 'check_capacity' to api-ref
this patch removes useless 'health_check' parameter and adds
'check_capacity' parameter to api-ref.

Change-Id: Ib2862579e69b816a405192b86ff62533b896c7b7
2017-05-26 13:01:32 +08:00
Jenkins 258672ffad Merge "api-ref document for node-adopt and node-adopt-preview" 2017-05-23 05:41:29 +00:00
tengqm e0d4805aca api-ref document for node-adopt and node-adopt-preview
This patch adds api-ref documentation for the node-adopt and
node-adopt-preview APIs.

Change-Id: I96c396dba98bc20d20e9b8fd09a5caf8547be9a3
2017-05-22 00:16:54 -04:00
RUIJIE YUAN 2e2077de55 remove 'health_check' param for scaling actions
this patch remove all 'health_check' in scaling actions,
we think the user should run cluster_check to check all physical
resources' current status.

Change-Id: I8e7af7283578d537935bd4c9bcf1e474d0dfc627
2017-05-22 11:17:50 +08:00
Jenkins 9b2a264f20 Merge "API documentation for services" 2017-05-06 05:53:29 +00:00
Jenkins ed886dac0a Merge "Optimize the link address" 2017-05-03 13:23:44 +00:00