summaryrefslogtreecommitdiff
path: root/api-ref/source/servers-admin-action.inc
Commit message (Collapse)AuthorAgeFilesLines
* virt: Remove 'reset_network' APIStephen Finucane2020-11-231-5/+8
| | | | | | | | | This one is tied into an admin action in the server actions API, which means we must remove that API action also. Otherwise, this isn't too crazy. Change-Id: I58343b94b67915062d044fa0f53aeab01b77738f Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* trivial: Final cleanupStephen Finucane2020-09-111-2/+1
| | | | | | | | Remove references to the feature from various comments scattered throughout the code. Change-Id: Ic353a2489389c557859c249218eaf6060974e1a9 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
* api-ref: re-work migrate action post-conditionsMatt Riedemann2019-11-131-6/+6
| | | | | | | | | | This is a follow up to [1] and borrows the same wording from the resize action post-conditions except uses "migrate(d)" instead of "resize(d)" where appropriate. [1] I77830dfb738cd78c830dc3ce7ea88216c1eac7ef Change-Id: Id24cb48b1b70848d2ce7020d114a843c509ab81c
* api-ref: add more details to confirmResize troubleshootingMatt Riedemann2019-03-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | This does a few things: 1. Fixes the "migration_status" wording since that does not exist and could be confused as a field on the server resource which it is not, it is referring to the migration resource status. 2. Fixes the RESIZED status mention since that is not a real server status, it probably meant VERIFY_RESIZE (RESIZED is the name of the nova.compute.vm_states variable used in the code to set the VERIFY_RESIZE status in the API). 3. Adds words about options to correct the server status from ERROR after confirmResize fails, the most obvious being an admin resetting the server status to ACTIVE or the user hard rebooting the server. Change-Id: I7de257ad78031d137616d724bee3fa1cbf40d6fa Related-Bug: #1821594
* API: Remove evacuate/live-migrate 'force' parameterStephen Finucane2019-02-081-0/+4
| | | | | | | | | | | Add a new microversion that removes support for the aforementioned argument, which cannot be adequately guaranteed in the new placement world. Change-Id: I2a395aa6eccad75a97fa49e993b0300bdcfc7258 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Implements: blueprint remove-force-flag-from-live-migrate-and-evacuate APIImpact
* api-ref: Move the evacuate action to admin actionTakashi NATSUME2018-10-041-1/+2
| | | | | | | | | | | | | | The evacuate action can be performed by administrators only by default. But there is the description of the evacuate action in the "Servers - run an action (servers, action)" section. It should be in the "Servers - run an administrative action (servers, action)" section. So move to the description of the evacuate action into the administrative action section. Change-Id: Iafdd77c14c702af24dbb3f5a3adecc45b3014c48 Closes-Bug: #1796054
* Fix bug to api-reftianhui2018-06-221-0/+9
| | | | | | | | | The API reference for the server 'migrate' (cold migrate) action doesn't mention any asynchronous post conditions. We should have something similar to what's in the 'resize' action API reference. Change-Id: I596b95cbd276e8d16a1cc8ce20d77f0ff6985317 Closes-bug: #1774234
* Enable cold migration with target host(2/2)Takashi NATSUME2017-11-291-2/+13
| | | | | | | | | | | | | This function enables users to specify a target host when cold migrating a VM instance. This patch modifies the migration API. APIImpact Add an optional parameter 'host' in cold migration action. Change-Id: Iee356c4dd097c846b6ca8617ead6a061300c83f8 Implements: blueprint cold-migration-with-target-queens
* Fix broken URLsAndreas Jaeger2017-09-071-1/+1
| | | | | | | Fix broken nova URLs that linked to the old developer/nova places and use the new link instead. Change-Id: Ideb50626e140201dded19fc82584440f1a407e47
* api-ref: Fix unnecessary description in servers-admin-actionTakashi NATSUME2017-05-011-5/+2
| | | | | | | | | | 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
* api-ref: move createBackup to server-actionsMatt Riedemann2017-04-251-49/+1
| | | | | | | | 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
* Document and provide useful error message for volume-backed backupMatt Riedemann2017-04-101-0/+2
| | | | | | | | | | The createBackup API does not support backing up volume-backed instances. The error message the user gets is not useful about why the request was invalid, and the API reference docs do not mention the limitation. This change addresses both of those issues. Change-Id: I04fd8ab4f8818d9d0ccccb6f6fcb34965b15b8f3 Partial-Bug: #1679314
* Add description for Image location in snapshotjichenjc2017-03-131-2/+3
| | | | | | | | | | snapshot action nova will return image URL in response header better to provide this info to end user for their reference. Also, the backup header description is changed as well. Change-Id: I15cf228b4a5a2d0dbae5fa76ec6821487e7808ed Closes-Bug: 1657998
* Merge "correct misleading wording"Jenkins2017-01-061-2/+2
|\
| * correct misleading wordingjichenjc2017-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | this schema tells us host is required https://github.com/openstack/nova/blob/master/nova/api/ openstack/compute/schemas/migrate_server.py#L33 and also param say it's required, but the doc says 'if you omit' will misleading user ,actually, user can't omit it, they need to input null to let scheduler decide Implements: blueprint api-ref-in-rst-ocata Change-Id: I2661c85f32eff8e199856635a4c40a494a5decb6
* | api-ref: Fix parameter type in servers-admin-action.incTakashi NATSUME2016-12-261-0/+1
|/ | | | | | | | Fix parameter type and add a missing parameter in servers-admin-action.inc. Change-Id: I8ad9227b49ad8148098a8658647bb4a9216d15ba Closes-Bug: #1651441
* [proxy-api] microversion 2.39 deprecates image-metadata proxy APIPavel Kholkin2016-12-071-0/+4
| | | | | | | | | | | Almost all proxy APIs were deprecated in microversion 2.36. But the sub-resource image-metadata of image was forgotten to deprecate. This patch deprecates the image-metdata API from 2.39. Implements blueprint deprecate-image-meta-proxy-api Closes-bug: #1614578 Change-Id: I5507337ab6fe4a377f66dec3fe275d75618cd7b4
* API Ref: update server_id paramsKaren Bradshaw2016-11-111-25/+24
| | | | | | | | | | | - Update server_id params to be of type path. - Cleaned up os-getConsoleOutput action string. - Made empty response body description more consistent. Review and change as needed. Implements: bp/api-ref-in-rst-ocata Change-Id: Ie1e299d2b93188240b18138eba9f5b908a1078a4
* Api-ref: Improve os-migrateLive input parametersPushkar Umaranikar2016-08-301-5/+5
| | | | | | | | Modified type of block_migration from input params of os-migrateLive API based on API version 2.25 Change-Id: I82c6537d137b462dbe6d05c07a9b3afb5a1501d5 Closes-Bug: #1551782
* rest api version bumped for async pre live migration checksTimofey Durakov2016-07-111-0/+6
| | | | | | | | | pre live-migration checks now are done in async way. This patch updates rest api version to keep this tracked. bp: async-live-migration-rest-check Change-Id: I9fed3079d0f1b7de3ad1b3ecd309c93785fd11fe
* api-ref: verify images.incghanshyam2016-06-241-1/+1
| | | | | | | | | This completes the verification of images.inc for all required area(parameter, example, body) Part of bp:api-ref-in-rst Change-Id: I47ed4d0b4446a0b45a1df312b84ec6bfdaa134b6
* Merge "Fix white spaces in api-ref"Jenkins2016-06-061-2/+2
|\
| * Fix white spaces in api-refTakashi NATSUME2016-06-061-2/+2
| | | | | | | | | | TrivialFix Change-Id: Icd7cd923522b6d97e19c89ad417eb5560649f6ba
* | API change for verifying the scheduler when live migratingSylvain Bauza2016-06-061-0/+1
|/ | | | | | | | | | | | | After modifying the evacuate action, we now add a new microversion change for modifying the live-migrate call so that the scheduler is called when the admin user provides an hostname unless the force field is provided. APIImpact Implements: blueprint check-destination-on-migrations-newton Change-Id: I212cbb44f46d7cb36b5d8c74a79065d38fc526d8
* remove /v2.1/{tenant_id} from all urlsSean Dague2016-06-031-12/+12
| | | | | | | | | | | | As discussed at summit, the version part of the URL is not really relevant, or a thing a user should be filling out themselves, this should instead be set by the service catalog and extracted from the token. This removes it's reference in all documented REST urls, and adds a new section describing how one gets the base URL for all calls. Change-Id: I4306b8c3de0225e54f3909dd8a1fb293c4e5944c
* api-ref verify of servers-admin-action.incjichenjc2016-04-301-31/+77
| | | | | | | | | | | | | | verified the API doc for server admin actions, adjus the wording for default policy, Also, remove some common error code like 500, 503 etc The 'backup' action actually is enabled to owner of the server, follow up patch may move to server actions. Part of bp:api-ref-in-rst Change-Id: I69900f4697bd5b71f0b8f8908037a49eff51b7c6
* Compelete method verification of os-servers-adminHe Jie Xu2016-05-091-11/+5
| | | | | | | | Corrects the error status responses for os-servers-admin Part of bp:api-ref-in-rst Change-Id: I3385834ed13104b49fbc4d2a566f9553da046c4b
* add tags to files for the content verification phaseSean Dague2016-04-201-0/+4
| | | | | | | | | | This adds a set of tags in comments to the beginning of files so that we can process them according to the documentation here: https://wiki.openstack.org/wiki/NovaAPIRef Part of bp:api-ref-in-rst Change-Id: I17cf584dafb5bd969c12f51b7e7185d92365bf93
* change host to host_migrationjichenjc2016-03-241-1/+1
| | | | | | | | host param in migration refer to wrong link. Part of bp:api-ref-in-rst Change-Id: I7bf2459dace2cf0a90ae32f75ed734f533219c63
* Fix all remaining sample file pathghanshyam2016-04-201-6/+6
| | | | | | | | This patch fix sample file path in all remaining api ref files. Part of bp:api-ref-in-rst Change-Id: I214b3a5bedea44cdfeba644ef3796938b709f4bf
* move sphinx h3 to '-' instead of '^'Sean Dague2016-04-151-12/+12
| | | | | | | | | | | | | | | In the sphinx document h3 is supposed to be '-' not '^': =, for sections -, for subsections ^, for subsubsections We have to enforce consistency here because we're processing included files which all have to agree, otherwise it's a sphinx error. Part of bp:api-ref-in-rst Change-Id: Ic6eef5cacb07870f161b04b031e332f2b87aeedc
* Import RST files for documentationSean Dague2016-04-131-0/+217
This is the results of the RST conversion from WADL. It creates a single index plus a bunch of included files which represent sections of the API document. This is the starting point for fixing the documentation. Change-Id: I7d561c2ecdcd864172dedb54a551f17ad3bdfe26