This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: I1f28a2ce2253aff8e93d24f9840245ab7fc52db1
This change adds discovery stub for Image Import MVP returning
['glance-direct'] as import-methods if Image Import has been
enabled in config. The default behavior for Pike is disabled so
the GET call to /v2/info/import returns empty list as default.
The stub is required for the client work to support the Minimum
Viable Product testing.
This change is based on the work started by Cyril and Nikhil on
https://review.openstack.org/#/c/270980 dropping any components
that are depending of the parts of IIR not implemented yet.
Change-Id: I4bc4c1123fed7ea8a838ea3d06e9da966ae18f58
Co-Authored-By: Cyril Roelandt <cyril@redhat.com>
Co-Authored-By: Nikhil Komawar <nik.komawar@gmail.com>
The API Reference documentation for Glance v2 documents the response
status code for the metadefs delete-tags call as 204, but instead that
call returns a 200 status code. This patch fixes the disparity and adds
the ability to start testing our response serializer.
This patch changes the response code instead of the documentation
because 204 (No Content) is the correct response for this call and
because all the other metadefs DELETE calls return 204. So to preserve
consistency and to honor the published contract, this patch changes the
code, not the documentation.
This patch was discussed with the API-WG (on 2 Feb 2017) and the TC (on
14 Feb 2017), and they both endorse this approach. See the meeting logs
for details.
Closes-bug: #1656183
Depends-On: I84626976ca729f65b0ee0ea6afe5c9a6a408eecc
Change-Id: I4b6dc1714aeca409a85bfa1f9b729147da704df8
In at least one case (see bug report) files have been deleted between
when we check that they exist and when we actually attempt the deletion.
Since we ultimately just want the file gone, we shouldn't care if we
get an error that the file does not exist and just move on.
Change-Id: Iaf71109fc6659650075ab4b4b48aec57819fb0b5
Closes-bug: #1229823
Implements v2 API image-list filtering on the 'protected' property
following the spec:
https://git.openstack.org/cgit/openstack/glance-specs/tree/specs/pike
/approved/glance/add-protected-filter.rst
The 'protected' query string parameter accepts one of 'true', 'false'.
Any other value raises a 400 with an appropriate message.
See the discussion on https://review.openstack.org/#/c/451560/
for why this implementation strategy was chosen.
Change-Id: Ie90d952edddd3f69b3f489f056ff506e63f96376
Closes-Bug: #1674246
Since the default value is None when can't get a key from a dict,
So there is no need to use dict.get('key', None).
Change-Id: Ie8008e83f432263e7a97e482e83f240b1056feee
Set some of the new config values and enable openstackdocstheme as an
extension so it will inject values into the page context as it writes
each documentation page. This ensures the pages link to the right bug
tracker, etc.
Change-Id: I3e8d3a68aaa5da3318b2b253e8db982d64e4b1b6
Depends-On: Icf3a40ed104cfd828f532f6f2b112ed02f996ff5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
In the file common/wsgi.py and common/config.py, the unused import
is still existed, This patch is to remove the redundant codes.
Change-Id: I7869121a2fc11b44f81b03adfd9b5807e8d08ce7
Metadefs changes for Pike will be described in a single release note.
This patch introduces the file and the first change. Other metadefs
changes in Pike should include a change to this file.
Change-Id: Id71acaf54e2fa623e1af247d5ddcafc27f55ee75
Partial-bug: #1699549
Using :ref: makes it easier to move files around.
Change-Id: I6e5e4403f01cf78fcfe2c5f716bb59455766e652
Signed-off-by: Doug Hellmann <doug@doughellmann.com>