Commit Graph

651 Commits

Author SHA1 Message Date
Jenkins dd1a3ac5ae Merge "libvirt: remove glusterfs volume driver" 2017-05-26 19:19:04 +00:00
Jenkins ff0ec7411b Merge "fix typo" 2017-05-24 18:51:02 +00:00
Jenkins b0eb100c86 Merge "Repair links in Nova documentation" 2017-05-24 18:46:05 +00:00
Vu Cong Tuan 605d617d55 Repair links in Nova documentation
Some reference links are out of date.
There's 404 error when trying to access them.

For example:
http://developer.openstack.org/api-ref/networking/
v2-ext/index.html#security-groups-security-groups

Change-Id: Iead6a6f32cdb2c9067bb5425333ad043514edbce
2017-05-23 17:17:52 +07:00
Takashi NATSUME b68e25a0f0 api-ref: Fix parameter order in os-services.inc
The fields added in microversions should be at the end (*1).
So fix 'forced_down' parameter added in microversion 2.11.

*1: https://wiki.openstack.org/wiki/NovaAPIRef

TrivialFix
Change-Id: I060cfa2a114e8ce7538554c18095a83cfc2ced10
Implements: blueprint api-ref-in-rst-pike
2017-05-23 18:23:38 +09:00
fuzk 24b1660f07 fix typo
Change-Id: Ib6c3571a91b2c3a2e167f4d39b993984fa246a72
2017-05-23 08:32:38 +08:00
Jenkins ffd6a42c00 Merge "api-ref: Example verification for servers-actions.inc" 2017-05-22 13:56:51 +00:00
Takashi NATSUME cbf83a01fb api-ref: Example verification for servers-actions.inc
* Example for the rebuild action

  The functional test is modified and
  the example is replaced with v2.26 examples.

* Example for the rescue action

  The example in API reference is replaced with
  the example with 'rescue_imgae_ref'.

Parameters for the rebuild action and the rescue action
are also fixed.

The patch completes the parameter verification and
the example verification of servers-actions.inc.

Change-Id: Iaf8808b13d1fdfead50da4cd447b3893578f76dd
Implements: blueprint api-ref-in-rst-pike
2017-05-22 00:19:19 +00:00
Matt Riedemann 5c5bc57d2b libvirt: remove glusterfs volume driver
Cinder deprecated the GlusterFS volume driver
in Newton and deleted it in Ocata:

I10c576602dd0e65947d1a1af5d04b8ada54f4625

Since it's unused, unmaintained and unsupported in
Cinder we should remove it from the libvirt driver.

This also removes the related configuration options.

A note is left in the code since I'm unsure if anything
relies on checking for the netfs disk source_protocol which
was added at the same time as the glusterfs support in
Ic6dd861b40b692b25df67c9d5b63fd436c690fde.

Change-Id: I2745f5578646ec994b53f6b5c0a5f62637b0948a
2017-05-19 14:51:42 -04:00
James Penick 53d27dea0d fix typo in parameter type definition
project_id_instance_action "required" was "ture" instead of "true"

Change-Id: I38dde136bf44c83d9224fc32f38d4ab423d5fb36
2017-05-11 15:42:56 +00:00
Takashi NATSUME 5532d6f404 Add a functional test for 'removeFloatingIp' action
Add a functional test for 'removeFloatingIp' action.
Rename the example file for 'addFloatingIp' action
to clarify that it is a request body example.

Change-Id: Ic865318fa640eb17d1317fb3d5f064788ebf44e7
2017-05-08 19:32:53 +00:00
Jenkins c94f34a3d5 Merge "Fix units for description of "flavor_swap" parameter" 2017-05-07 21:01:30 +00:00
Jenkins 4d552d6bf6 Merge "Verify project id for flavor access calls" 2017-05-05 21:29:25 +00:00
Jenkins 9e35b6770a Merge "api-ref: Fix unnecessary description in servers-admin-action" 2017-05-05 17:53:09 +00:00
Sean Dague 1f120b5649 Verify project id for flavor access calls
This includes project id verification for flavor access calls.

Closes-Bug: #1544989

Implements bp:validate-project-with-keystone

Change-Id: I2620c3ebc2a6dc131946602f8aa36ec0b6e782e0
2017-05-04 18:23:17 -04:00
Jenkins a818049554 Merge "Remove cloudpipe APIs" 2017-05-04 17:05:54 +00:00
Matthew Treinish acdc2da0e3 Remove cloudpipe APIs
This commit removes the cloudpipe API from nova. This has been
deprecated since change I415760ff634dd85974f0c3f79e788e633852efb5 and no
longer works without nova-cert and the pending removal of the deprecated
nova-network.

Implements bp remove-nova-cert
Change-Id: Ifd1fb13a5953cc66f9cc2561d30a9efcd3f4c92e
2017-05-04 16:13:45 +08:00
Jenkins d1f620b1eb Merge "api-ref: Fix parameters in servers-action-console-output" 2017-05-03 21:11:06 +00:00
Jenkins 2b54ce7596 Merge "api-ref: Use 'note' directive" 2017-05-03 21:04:50 +00:00
Chris Friesen 5cf09afb2c Fix units for description of "flavor_swap" parameter
The swap size as specified in a flavor is in units of MiB, not GiB.

Change-Id: I1215630e4dacf0d96e3d028763bdb4380d1f7999
2017-05-02 11:56:14 -06:00
Takashi NATSUME 9d6913d9f0 api-ref: Fix unnecessary description in servers-admin-action
The action to change the administrative password is not
included in servers-admin-action.inc.
So the description related to the action is removed.

Change-Id: I942aaea755375822e9f5ac9e29287de0c08dc573
Implements: blueprint api-ref-in-rst-pike
Closes-Bug: #1686917
2017-05-01 04:28:58 +00:00
Takashi NATSUME 7707723e7b api-ref: Fix parameters in servers-action-console-output
Change-Id: I0604db813f4e8830110006c6636c7b9094ad75fb
Implements: blueprint api-ref-in-rst-pike
2017-05-01 04:27:13 +00:00
Takashi NATSUME e5364a1fd1 api-ref: Use 'note' directive
Change-Id: I07326c016ef1e4b9769975db263a736a07ca386d
Implements: blueprint api-ref-in-rst-pike
2017-05-01 04:24:36 +00:00
Matthew Treinish 2bcee77e3b Remove nova-cert
This commit removes nova-cert which has been deprecated since change
Id7a1fc943cbe6d860a50d3cc776717b55351004b. The APIs have been hard coded
to return a 410 whenever they're called now. For the API ref a new
section for obsolete apis is added to the bottom of the page and the
certificates api ref is moved there.

Implements bp remove-nova-cert

Change-Id: I2c78a0c6599b92040146cf9f0042cff8fd2509c3
2017-04-27 22:28:01 -04:00
Jenkins eeb1bfcec8 Merge "2.45: Remove Location header from createImage and createBackup responses" 2017-04-25 22:28:38 +00:00
Jenkins f0743a23ed Merge "api-ref: Nova Update Compute services Link" 2017-04-25 21:16:17 +00:00
Jenkins b302ec75da Merge "api-ref: Fix a parameter description in servers.inc" 2017-04-25 21:15:41 +00:00
Jenkins a1eab9e40b Merge "Rework descriptions in os-hypervisors" 2017-04-25 21:15:06 +00:00
Jenkins c12dac5d4a Merge "Add description for /consoles" 2017-04-25 21:14:30 +00:00
Jenkins 4c2a13e05c Merge "api-ref: Parameter verification for servers-actions (4/4)" 2017-04-25 21:13:54 +00:00
Jenkins b57bb0431c Merge "api-ref: Parameter verification for servers-actions (3/4)" 2017-04-25 21:13:17 +00:00
Jenkins 729f5bea45 Merge "api-ref: Parameter verification for servers-actions (2/4)" 2017-04-25 21:09:54 +00:00
Matt Riedemann 66b0cf3337 2.45: Remove Location header from createImage and createBackup responses
This changes the response for the createImage and createBackup
server action APIs to no longer return a Location header and instead
returns a json dict body with the snapshot image ID. This is done
in a new microversion.

Implements blueprint remove-create-image-location-header-response

Closes-Bug: #1679285

Change-Id: Idc899ee76b8265b1c9e0871b6c7c277424cdd442
2017-04-25 15:52:14 -04:00
Matt Riedemann 0a03f0123c api-ref: move createBackup to server-actions
The createBackup API is by default an admin-or-owner API, so it
should live in server-actions rather than server-admin-actions.

Change-Id: Ifdc08a1df39f30944d45e2001d590b34a963d062
Closes-Bug: #1679314
2017-04-25 12:05:48 -04:00
He Jie Xu 03ce169884 Deprecate Multinic, floatingip action and os-virtual-interface API
The following APIs which are considered as proxies of Neutron networking
API, are deprecated and will result in a 404 error response in new
Microversion:

     POST /servers/{server_uuid}/action
     {
         "addFixedIp": {...}
     }
     POST /servers/{server_uuid}/action
     {
         "removeFixedIp": {...}
     }
     POST /servers/{server_uuid}/action
     {
         "addFloatingIp": {...}
     }
     POST /servers/{server_uuid}/action
     {
         "removeFloatingIp": {...}

And the nova-network specific API for query server's interfaces is
deprecated also:

     GET /servers/{server_uuid}/os-virtual-interfaces

Partial implement blueprint deprecate-multinic-proxy-api

Change-Id: I1848db384a825d3b166f113b30ebad92113af8e5
2017-04-25 12:04:05 -04:00
Jenkins 5450cea2f2 Merge "Deprecate os-hosts API" 2017-04-25 15:14:24 +00:00
Takashi NATSUME 5be70c257a api-ref: Fix a parameter description in servers.inc
Fix the description for the 'flavorRef' parameter
in 'Create Server' API.

Change-Id: I6b0eb733961d0b8d28aea9abf2c21734fd07cb42
Implements: blueprint api-ref-in-rst-pike
Closes-Bug: #1685977
2017-04-25 11:59:16 +09:00
Takashi NATSUME e695f76a72 api-ref: Parameter verification for servers-actions (4/4)
This patch fixes the parameters of the following actions.

* os-start
* os-stop
* suspend
* unlock
* unpause
* unrescue

A subsequent patch will fix the patameters and the examples
of the 'rebuild' and 'rescue' actions in servers-actions.inc.

Change-Id: I8f699c75c5cbfd9046258f593c1437b87dc9c3fe
Implements: blueprint api-ref-in-rst-pike
2017-04-25 02:40:58 +00:00
Takashi NATSUME 08a113fdaa api-ref: Parameter verification for servers-actions (3/4)
This patch fixes the parameters of the following actions.

* removeSecurityGroup
* resize
* resume
* revertResize

Subsequent patches will fix the patameters of the other actions
in servers-actions.inc.

Change-Id: Ie470138ac53404369f4fc717bf979b94060c5652
Implements: blueprint api-ref-in-rst-pike
2017-04-25 11:37:28 +09:00
Kevin_Zheng b0e844d331 Rework descriptions in os-hypervisors
The description for os-hypervisors is incorrect

TrivialFix

Change-Id: I26b4a815c5b00a35906c579895fd9c77d2332b12
2017-04-24 08:58:52 +00:00
Takashi NATSUME f38a234f9b api-ref: Parameter verification for servers-actions (2/4)
This patch fixes the parameters of the following actions.

* lock
* pause
* reboot
* removeFloatingIp

Subsequent patches will fix the patameters of the other actions
in servers-actions.inc.

Change-Id: I33210b5d8cfb359e4cc9ef37fe74b71d30a9acc5
Implements: blueprint api-ref-in-rst-pike
2017-04-24 00:51:07 +00:00
jichenjc aad4be2e3d Deprecate os-hosts API
This patch deprecates os-hosts APIs including:

GET /os-hosts - list hosts
GET /os-hosts/{host_name} - show host details
PUT /os-hosts/{host_name} - update host status
GET /os-hosts/{host_name}/reboot - reboot host
GET /os-hosts/{host_name}/shutdown - shutdown host
GET /os-hosts/{host_name}/startup - start host

Much of the ``os-hosts`` API is duplicated with the ``os-services`` and
``os-hypervisors`` APIs. It's not a good idea to make nova have the
compute related API, so this patch deprecated them.

Implements blueprint deprecate-os-hosts

Co-Authored-By: Matt Riedemann <mriedem.os@gmail.com>

Change-Id: Ieb85653b85a1eff38a9fb0c9ff05e4cd39150ecc
2017-04-20 11:58:26 -04:00
Jenkins 559eb958f5 Merge "Document and provide useful error message for volume-backed backup" 2017-04-20 12:47:22 +00:00
Takashi NATSUME a369e30e08 api-ref: Fix response code and parameters in evacuate
* Unnecessary note is removed.

* The 'on_shared_storage' parameter
  The max version is 2.13.
  Improve the description.

* The 'evacuate' parameter
  Fix the type and the description.

* The 'adminPass' parameter
  Fix the description and remove max version.

* The 'host' parameter
  Improve the description.

* response code
  Remove unncessary response codes.
  Add a missing response code.

Change-Id: Ic857333ac25bee26e3ec22106b1b8fda2389b967
Implements: blueprint api-ref-in-rst-pike
Closes-Bug: #1683264
2017-04-18 11:52:47 +09:00
Takashi NATSUME 962dae61dc api-ref: Parameter verification for servers-actions (1/4)
This patch fixes the parameters of the following actions.

* addSecurityGroup
* changePassword
* confirmResize
* createImage

Subsequent patches will fix the patameters of the other actions
in servers-actions.inc.

Change-Id: Ifaa1ed25c034e649ea4012f4998c571c38d404a1
Implements: blueprint api-ref-in-rst-pike
2017-04-17 01:20:57 +00:00
Jenkins 5a556a720f Merge "api-ref: networks is mandatory in Create Server" 2017-04-12 15:31:15 +00:00
YuYang af5370f6f4 api-ref: Nova Update Compute services Link
update the os-service Link.

Change-Id: I4485156a0e19a400f1f7218345759bc92bb0e08e
2017-04-12 15:05:11 +08:00
Takashi NATSUME 0cbf7bb038 api-ref: Fix parameters in os-hosts.inc
* Show Host Details
  - The parameters in 'resource' object are prefixed
    with 'resource.' instead of 'host.'.
  - The types of 'cpu', 'memory_mb' and 'disk_gb' are
    changed to 'integer'.
  - The descriptions of 'cpu', 'memory_mb' and 'disk_gb'
    are changed (clearer).

* Update Host status
  - The 'status' and 'maintenance_mode' in request
    parameters are changed to 'body' parameters
    instead of 'path' parameters.
  - The 'status' and 'maintenance_mode' in request
    parameters are changed to either 'enable' or
    'disable'.
  - The 'status' and 'maintenance_mode' in response
    parameters are changed to 'optional'.

Change-Id: Ic6bffca8b1dfaa9284a72145f3e1f894acb306e3
Closes-Bug: #1653884
2017-04-12 00:02:01 +00:00
Jenkins e5ffe02463 Merge "Fix api-ref for create servers response" 2017-04-11 12:06:44 +00:00
Jenkins e78ff51bb4 Merge "api-ref: fix os-extended-volumes:volumes_attached in servers responses" 2017-04-11 12:04:39 +00:00