summaryrefslogtreecommitdiff
path: root/api-ref
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fixes the api-ref response"Zuul2023-02-091-1/+1
|\
| * Fixes the api-ref responseMridula Joshi2022-09-061-1/+1
| | | | | | | | | | | | | | | | | | | | The response returned from the Create Tags API '/v2/metadefs/namespaces/{namespace_name}/tags' does not match the response in api-ref. This patch corrects the api-ref response. Closes-Bug: #1939690 Change-Id: Icdafa6f55b434977d83148a0b0a958f35e99afac
* | vmware does't support VirtualSriovEthernetCardyuqian2022-11-211-2/+1
|/ | | | | | | | Compute-driver: vmwareapi.VMwareVCDriver does not support VirtualSriovEthernetCard Change-Id: I1d4b0dee3c70454c0d595cb4a69606990b96b35a Partial-Bug: #1779781
* Add documentation for glance-download pluginAbhishek Kekane2022-08-262-3/+44
| | | | | | | | | | This patch adds documentation and API reference support for glance download plugin. Related blueprint glance-download-import Co-Authored-By: Victor Coutellier <victor.coutellier@gmail.com> Change-Id: Ie36232f3474d398a913025c8d408f08f879874d8
* Merge "Extending stores-detail API"Zuul2022-08-241-2/+29
|\
| * Extending stores-detail APIMridula Joshi2022-08-231-2/+29
| | | | | | | | | | | | | | | | | | | | This patch extends the functionality of the API ``GET /v2/info/stores/detail`` to expose store details of other stores. Currently the ``stores-detail`` API exposes store details of RBD backend. Implements: blueprint expanding-stores-detail Change-Id: I0c7bbc315b56dc0e40397b4ed8a68d1668203c44
* | remove expired notes for Multi Store featureanguoming2022-08-103-17/+0
| | | | | | | | | | | | The Multi Store feature is stable for server versions, need delete the EXPERIMENTAL notes in api guide. Change-Id: Ifff797387ec06e8a1c0da13ebd722df0b993d672
* | Merge "Remove unicode literal strings"Zuul2022-07-081-4/+4
|\ \
| * | Remove unicode literal stringsxuanyandong2022-06-301-4/+4
| | | | | | | | | | | | | | | Co-Authored-By: Cyril Roelandt <cyril@redhat.com> Change-Id: Id9e1a5fb9c732c207ee08f0dbf387436a1783174
* | | Merge "Fix URLs in the form docs.openstack.org/developer/$project"Zuul2022-07-074-4/+4
|\ \ \
| * | | Fix URLs in the form docs.openstack.org/developer/$projectCyril Roelandt2022-07-054-4/+4
| |/ / | | | | | | | | | | | | | | | | | | These URLs are now in the form docs.openstack.org/$project/latest. Make sure to use always use https for these URLs. Change-Id: I4a75bb6097399efca373d2f9a0e8697eb92312a7
* | | doc: update the kvm kw_vif_model driver listGonéri Le Bouder2022-07-041-2/+2
|/ / | | | | | | | | | | | | | | The kw_vif_model driver list has evolved a bit. This commit adds: - e1000e: I12a5d28d75bc32a76a4f3765cb4db4cbc46c0c75 - vmxnet3 I95203af4ded9a4dbecfb7981b400f0fb988f2d47 Change-Id: I23fbd227274c89735547322cedda565c5987776d
* | Update api-ref: versions response for master branchchenwei2022-06-132-1/+102
| | | | | | | | | | | | Closes bug: #1962480 Change-Id: Iba5a720fcd1408dc81f7da8a6b814fe952a5ddf9
* | [APIImpact] Correct API response code for PUT /v2/cache/{image_id}Abhishek Kekane2022-05-061-1/+1
|/ | | | | | | | | PUT /v2/cache/{image_id} returns HTTP 200 response code to user but as per proposal it should be HTTP 202. This change returns HTTP 202 response to user. Closes-Bug: #1971521 Change-Id: I6a875a38bef5beafe352ab3320f3fd199db89aa1
* [api-ref] update cache manage API infoBrian Rosmaita2022-05-023-4/+62
| | | | | Change-Id: If95fcb6beb17fd4ca337da58bc8fb03bbde25b03 Closes-bug: #1971176
* api-ref needs update about 'checksum' image propvinay_m2022-04-111-3/+5
| | | | | | | | Modified the "Checksum" description as mentioned , it is not computed from victoria release . Closes-Bug: #1875629 Change-Id: Id4299c7e02298157ad88971a78fac72a9f0248d0
* Merge "Fix overwriting of existing tags while creating new tags"Zuul2022-02-172-0/+8
|\
| * Fix overwriting of existing tags while creating new tagsMridula Joshi2022-02-162-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was observed that md-tag-create-multiple (/v2/metadefs/namespaces/{namespace_name}/tags) API overwrites existing tags for specified namespace rather than creating new one in addition to the existing tags. This patch resolves the issue by introducing a header 'X-Openstack-Append' which on being True will append the new tags to existing ones and if False will continue to overwrite the tags. Implements: blueprint append-tags Closes-Bug: #1939169 Change-Id: I29448746b14c542e5fbf0283011968ae1516642e
* | Added a new API to expose store infoMridula Joshi2022-02-163-0/+80
| | | | | | | | | | | | | | | | | | | | | | This patch adds a new API to glance ``GET /v2/info/stores/detail`` to expose the stores specific details about the store like store type and other specific store properties.This operation will be admin only and validated by the new policy rule ``stores_info_detail`` which defaults to admin only Implements: blueprint expose-store-specific-info Change-Id: I6882fd2381e6ae245fd8c61bf9f4d52df2b216f5
* | Cache management API endpointsErno Kuvaja2022-02-143-0/+93
|/ | | | | | | | This change adds the new cache API endpoints and their related new policies. Implements-bp: https://blueprints.launchpad.net/glance/+spec/cache-api Change-Id: I69162e19bf095ef11fbac56a1ea2159d1caefba7
* [APIImpact] Quota usage APIDan Smith2022-02-032-0/+43
| | | | | | | | | | | This adds a /v2/info/usage API endpoint which exposes to the user their current limits and usage. The discovery API does not (appear to) have existing tests, so this adds a module for that, although only usage tests are added currently. Implements: blueprint quota-api Change-Id: I50c98bac50f815bdb9baae024e77afd388f74554
* Add doc support for delete-from-store APIMridula Joshi2021-09-033-0/+37
| | | | | | | | | | | It is observed that the api-ref has no doc support for delete-from-store (/v2/stores/%(store)s/%(image)s) API. This patch adds the doc support for delete-from-store in api-ref. bp: delete-from-store Closes-Bug: #1941038 Change-Id: I5e82ff9f979b80b5b1e06eebea84a1b2fb50c78e
* Make some metadef operations admin-onlyAbhishek Kekane2021-03-151-0/+4
| | | | | | | | | | | | | This restricts all metadef resource manipulation to admin-only, but still allow users to see everything. There are multiple low-grade security issues with the metadef API, detailed in the related bug. Restricting resource manipulation to admin-only solves most of these concerns. SecurityImpact Depends-On: https://review.opendev.org/c/openstack/tempest/+/780108 Change-Id: I333c58e73c202c1f523030e54e03f2868459b595 Related-Bug: #1916926
* Update API docs for new /v2/images/{image_id}/tasks APIAbhishek Kekane2021-02-243-0/+85
| | | | | | | Updated API reference documentation for new API. Change-Id: Ie69d4180e09fe4c670faaa7d3c31742d1fc581e2 Related: blueprint messages-api
* Remove unused option "owner_is_tenant"Cyril Roelandt2021-02-111-17/+7
| | | | | | This option has been deprecated since Rocky. Change-Id: I8edc957ad50ec28d80a06e76912f4226cea53562
* Update docs and renos for os_glance reservationDan Smith2021-01-251-1/+8
| | | | | | | | This adds some words to the api-ref doc, as well as a release note about the blanket reservation of os_glance* properties. Change-Id: I0cd6f35296a647fdb1f2cb44a688b34c0382c556 Related-Bug: #1912001
* Corrections in default value of all_stores_must_succeedAbhishek Kekane2020-09-112-4/+4
| | | | | Change-Id: I7b04f8ba86e0d6f42ef436e30ece9f019221e318 Closes-Bug: #1884996
* [Doc] Policy support to copy unowned imagesAbhishek Kekane2020-07-271-0/+5
| | | | Change-Id: If0fd74d9f2eecb21153493457c58d767f12ffdeb
* Add 'all' visibility filter for listing images in docsRafael Weingärtner2020-07-081-6/+6
| | | | | | | | | | Since this commit https://github.com/openstack/glance/commit/cfa9b6e8e814a52181d4e27fd23a659e8489dee8, the visibility all is supported in the listing of images. However, the documentation does not present it. This can make it hard for operators to be aware of this option when listing images. Therefore, we propose to add it in the documentation. Change-Id: Iaa0ce6e1fde5c4c546b2f4a53969287b05d295de
* Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-301-9/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using these versions will allow especially: * Linking from HTML to PDF document * Allow parallel building of documents * Fix some rendering problems Update Sphinx version as well. Disable openstackdocs_auto_name to use 'project' variable as name. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. openstackdocstheme renames some variables, so follow the renames before the next release removes them. A couple of variables are also not needed anymore, remove them. See also http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html Change-Id: Ib1796ac0c786c16bade68668f0d978ee71d29307
* Correct reference to 2 import methodsBrian Rosmaita2020-02-261-3/+7
| | | | | | We now have 3. Change-Id: I276cead53ef4315881fda3659874f33084cae7ab
* Copy existing image in multiple storesAbhishek Kekane2020-02-122-7/+52
| | | | | | | | | | | | | | | Added new import method 'copy-image' which will copy existing image into specified list of stores. Introduced additional task which will serve as internal plugin which will allow copying existing image into staging area and then this data will be uploaded to specified stores via regula import flow. NOTE: This new import method 'copy-image' is only supported if multiple stores are enabled in deployment. APIImpact Implements: blueprint copy-existing-image Change-Id: I13eaab7ab013f44ce18465bdbdbe8052942570ff
* Add ability to import image into multi-storesGrégoire Unbekandt2020-02-104-12/+64
| | | | | | | | | | | | | | The import image api now supports a list of stores to import data into. This list can be specified through a new "stores" field that has been added to the request body. During import stage, Glance iterates overs this list and send the data to each store one by one. If an invalid backend is requested by the user, an exception is raised. If an errors occurs during verify, already pushed data is removed and image state is unchanged. Change-Id: Id3ac19488c0a693d7042be4a3c83f3b9f12313d0 Implements: blueprint import-multi-stores
* Merge "Remove OS::Compute::Trust metadef"Zuul2020-01-281-19/+0
|\
| * Remove OS::Compute::Trust metadefMatt Riedemann2019-09-171-19/+0
| | | | | | | | | | | | | | | | | | | | The nova TrustedFilter scheduler filter was removed in the Queens release [1] so the compute trust metadef is now just noise so we should remove it. [1] https://review.opendev.org/506864/ Change-Id: I71825cd5317d458fa30287b78cd1030cbc457dbd
* | Set API version 2.9 CURRENTErno Kuvaja2019-10-012-3/+9
|/ | | | | | | | | | | | | This change removes experimental status from Api versions >2.7 setting 2.8 (multi-store support) to SUPPORTED and 2.9 (caching) to CURRENT. NOTE: 2.8 will show up in list only if the glance-api service is configured with multi-store. The API versions list can be used to determine if the multi-store functionality is availabe in the endpoint. Change-Id: I37350fc46191074d42edc73c2451eae73261957d
* Images API version bump and config syncErno Kuvaja2019-09-161-0/+10
| | | | | | | | | | | | This change contains minor version bump to Images API to indicate latest changes to the API. Also has config file sync for for M3 release. These two are combined for saving some gating time due to busy infra at Train milestone 3 deadline. Change-Id: I13133c32734751d43cc3afed9b68d015cebd5b6b
* Update v2/info/stores api-refBrian Rosmaita2019-06-043-12/+19
| | | | | | | | Slight rewrite of the stores discovery section of the api-ref to indicate which elements of the response are optional and to remove mention of the store type from the descriptions. Change-Id: I8261de878fcaff1e498f7a3e152df7d980d0560c
* Mark http store read-only in discovery callAbhishek Kekane2019-05-292-1/+7
| | | | | | | | Made changes to discovery store to show 'http' store as 'read-only' if it is configured under 'enabled_backends' cofiguration option. Change-Id: If5d292bbb4cef1bd21a7e6cd4ef343a767eb91a4
* Replace git.openstack.org URLs with opendev.org URLsZhongShengping2019-04-281-1/+1
| | | | | | | Thorough replacement of git.openstack.org URLs with their opendev.org counterparts. Change-Id: Ibe48a4ea537915bc6ce142812354b1d3b3ab1cf7
* fix a typo in docstringmelissaml2018-10-051-1/+1
| | | | Change-Id: I47544dee1e386aac27dc23321de3ed927db58a30
* api-ref: "hidden" images updateBrian Rosmaita2018-08-169-5/+43
| | | | | | | Update the api-ref for the "Operator maintained images lifecycle" spec implemented in Rocky. Change-Id: I8fcfb84579b655fd44759164508ce4532e4dd205
* api-ref: update version historyBrian Rosmaita2018-08-081-0/+2
| | | | | | Update version history to include the Rocky changes. Change-Id: Ie673a52c72a5975ac059002c351782a1c6d8df90
* Merge "Add API version 2.8"Zuul2018-08-081-0/+10
|\
| * Add API version 2.8Erno Kuvaja2018-08-071-0/+10
| | | | | | | | | | | | | | This change bumps the API to EXPERIMENTAL 2.8 when multi back-end is enabled. Change-Id: Ie0e1ed84db1b227eea1774138b2a83172ff85bec
* | api-ref: make the discovery section more generalBrian Rosmaita2018-08-072-58/+64
|/ | | | | | Move all the v2/info calls to the same section of the api-ref. Change-Id: I05cd7d89585a71cc8f5448cc3c08905da1638638
* Merge "Doc:Multiple stores support"Zuul2018-08-068-2/+178
|\
| * Doc:Multiple stores supportAbhishek Kekane2018-08-038-2/+178
| | | | | | | | | | | | | | | | Added documentation and modified api-ref documents to reflect multiple stores support changes. Related to blueprint multi-store Change-Id: I932297df8149968d31a5367a9ca71a5629045445
* | Bump Imges API version to 2.7Erno Kuvaja2018-08-011-1/+11
|/ | | | | | | This API version bump contains the extensions for hidden images and multihash feature support. Change-Id: I3d394b344492a1f06a4999a3f61cecf5ace30f23
* Multihash implementation for GlanceBrian Rosmaita2018-07-319-1/+76
| | | | | | | | | | | Partially implements blueprint multihash. Requires glance_store 0.26.1 Co-authored-by: Scott McClymont <scott.mcclymont@verizonwireless.com> Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com> Change-Id: Ib28ea1f6c431db6434dbab2a234018e82d5a6d1a