424 Commits

Author SHA1 Message Date
Abhishek Kekane
2638ada23d Remove setup.py and setup.cfg
Theses used to be used for building docs in the past.

A recent release of setuptools 61.0.0 introduced a breaking change [1]
which caused our openstack-tox-docs and openstack-tox-pep8 jobs to fail
with:

  error: Multiple top-level packages discovered in a flat-layout:
    ['specs', 'priorities'].

This removes setup.py and setup.cfg from use in tox.ini to resolve the
issue and they are not needed anyway.

Related-Bug: #1966382
Change-Id: Ia653b3e13302db5bf2adc006aea5436a9c65616e
2022-04-04 15:29:44 +00:00
Abhishek Kekane
d24029d79f Add Zed direcotry for specs
Change-Id: I6363351a5252706f1b886407d951544ccc08aca0
2022-02-15 06:08:46 +00:00
Zuul
fbda4494e0 Merge "Append new tags to existing tags" 2021-12-23 06:12:30 +00:00
Mridula Joshi
ac35d6d528 Append new tags to existing tags
Related-Bug: https://bugs.launchpad.net/glance/+bug/1939169
Change-Id: I63c010c6aab6acf800c52ccee53dd0aa0821483f
2021-12-14 05:53:16 +00:00
Mridula Joshi
b8c8227e29 Expose store specific information
This patch adds a spec for exposing the store specific information
for optimizing upload volume to image operation from cinder rbd
backend to glance rbd backend.

Implements: blueprint expose-store-specific-info
Co-Authored-by: Rajat Dhasmana <rajatdhasmana@gmail.com>

Change-Id: I0db7a1a73de8b41460498ae389a059153d945386
2021-12-12 12:01:43 -05:00
Dan Smith
9239abf099 [APIImpact] Add quota-api spec
Change-Id: I6346db541f6307b1c53147390b02b3d87c5e28f8
2021-11-09 14:20:11 -08:00
Abhishek Kekane
967266b047 Add Yoga directory for specs
Change-Id: I994802ca26b29e35555e0241619dac65c0a00b54
2021-09-02 18:33:11 +00:00
Zuul
7cd0ee4634 Merge "Add remove-sqlalchemy-migrate" 2021-07-16 14:01:19 +00:00
Zuul
5e7efc28fb Merge "Policy layer refactoring" 2021-07-14 13:47:18 +00:00
Stephen Finucane
d4780187c7 Add remove-sqlalchemy-migrate
Delete the legacy sqlalchemy-migrate-based migrations and related
tooling.

Part of blueprint remove-sqlalchemy-migrate

Change-Id: I88e64043f268b857de69f98a78c74c1ac6b02120
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-07-13 18:19:19 +01:00
Stephen Finucane
a18d7ab4d7 Fix symlinks for Xena templates
Someone missed a leading period.

Change-Id: I09d10fda8e88fdd1894c97913ad1729b34e9122b
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-07-13 17:34:39 +01:00
Zuul
3e1357a3ec Merge "Spec Lite: CLI support for new cache APIs" 2021-07-12 13:15:08 +00:00
Abhishek Kekane
3c54a84d9c Policy layer refactoring
Related-Bug: https://bugs.launchpad.net/glance/+bug/1915582
Change-Id: I43dd686118374d1320d15fc85bca716cc1010ff0
2021-07-05 05:38:42 +00:00
Abhishek Kekane
7e90ebc263 Spec Lite: Policy tests refactoring
Change-Id: I37c9663b79acf44a868f34671db3e820d702b2e7
2021-07-01 14:38:54 +00:00
Cyril Roelandt
7fc0bd705d Spec for Glance cache API
APIImpact

Change-Id: I05133d61f52b0fa5f39f6a976356789cd1ef5940
2021-06-09 14:23:57 +00:00
Abhishek Kekane
de934b5e72 Spec Lite: CLI support for new cache APIs
Change-Id: Ife55e6b1efa66bca1e0efc5a7efb3ba130a1e33f
2021-06-08 14:05:02 +00:00
Rajat Dhasmana
01dbbfbff9 Add support of cinder's new attachment API
Add spec for cinder's new attachment API support
and multiattach handling.

Change-Id: Ie61f010fe6b47c71bc892e809c95324222a9dcc8
2021-06-02 09:16:40 -04:00
Zuul
9cb34ac6ea Merge "Revert "Add support of cinder's new attachment API"" 2021-06-02 17:48:52 +00:00
Abhishek Kekane
7499c85bf1 Revert "Add support of cinder's new attachment API"
This reverts commit 8503faee7c91ffc21440a7bf170cc404999308e5.

Reason for revert: Reverting the change as noticed lately that the spec file is not .rst so it does not caught the syntax errors also it is missing the entry in the spec/xena/index.rst so the actually merged spec is not displayed/listed in the final output [0]

[0] https://5987422f5decdefb3e3d-3f28c2c0c6b192e8ac5a4ae954bec2d0.ssl.cf5.rackcdn.com/787515/1/gate/openstack-tox-docs/ea34475/docs/specs/xena/approved/index.html

Change-Id: I966e2a5426195300839315cb7635d0fe925b50a9
2021-06-02 16:58:32 +00:00
Zuul
b9aa3161c9 Merge "Add support of cinder's new attachment API" 2021-06-02 16:45:52 +00:00
Dan Smith
a6eefb34a2 Add glance-unified-quotas spec
Change-Id: I5ec3dd76fac8f424c0ecef38990a6de6f36d7fc7
2021-05-24 06:35:34 -07:00
whoami-rajat
8503faee7c Add support of cinder's new attachment API
Add spec for cinder's new attachment API support and multiattach handling.

Change-Id: Ic5247dd0abf65d93fb1119efd9db06923cc2539e
2021-04-22 05:46:48 -04:00
YuehuiLei
c33e771b4e Add xena directory for specs
Change-Id: I9e7452c9f5bec5f5b0b5e288f5af8a0463a23840
2021-03-15 14:29:42 +00:00
Dan Smith
434abee27e Distributed Image Import spec
As planned in the glance meeting today, this adds a new spec for
distributed image import, in total isolation, with a proposal to
start with the simple case and moving to use image location
metadata when available.

Change-Id: Ic11be7628535f87b9002b69f845150bd02b9f0d7
2021-02-16 07:36:24 -08:00
Abhishek Kekane
e518123237 New Image API /v2/images/{id}/tasks for task information
blueprint: messages-api
Change-Id: I2139af70efb497587f99a435f852e9dcd07cedb5
2021-02-09 05:26:08 +00:00
Brian Rosmaita
6de8257026 Fix redirects
The current paths need '/openstack/glance-specs' prepended to them.
(This was verified by fungi manually editing the deployed .htaccess
file on the specs website, and also by cinder change
I1a546d4b39c507336d3364f9d1c0129c04bec1f6.)

Change-Id: I94ab1898b83fe708703dccc49df83bae3cd12fc6
2020-12-09 11:31:45 -05:00
Brian Rosmaita
47b9c32438 Remove Images API v1 user guide
Version 1 of the Images API was removed in Rocky by Change
Ia086230cc8c92f7b7dfd5b001923110d5bc55d4d.  This patch removes
the version 1 "user guide" documentation.

Change-Id: Idc4986671df623f4e5a953c49918be66b973aada
2020-11-09 21:18:30 -05:00
Abhishek Kekane
d7bbf47795 Create specs directory for Wallaby cycle
Change-Id: I1e856c5a31961c721231043891d6bdf058b0b552
2020-09-14 05:30:56 +00:00
Zuul
e8a183671b Merge "Make cinder driver compatible with multiple stores" 2020-08-07 17:48:08 +00:00
Abhishek Kekane
5e5ad09b19 Make cinder driver compatible with multiple stores
Implements: blueprint multiple-cinder-backend-support
Change-Id: I3a3d5ec277ac338bcae2f2ba4428ffa6d960a385
2020-08-07 15:25:32 +00:00
Abhishek Kekane
f4be24c13b Calculate virtual size of image
Change-Id: I55d8193090dea749502a053fd348d92f67f3c012
Implements: blueprint image-introspect-plugin
2020-08-06 15:00:49 +00:00
Zuul
cefc48f9f0 Merge "Handle sparse images in glance_store" 2020-07-17 05:59:24 +00:00
Victor Coutellier
2b40c59f52 Handle sparse images in glance_store
Add new configuration option ``enable_thin_provisioning`` to rbd
and filesystem store to enable or not sparse upload.

Sparse file mean not really write null byte sequences but only the
data itself at a given offset, the "holes" who can appear will
automatically interpreted by the storage backend as null bytes,
and do not really consume your storage.

Change-Id: I5330a12ab3d04b420857689ba899ad41c5856129
Implements: blueprint handle-sparse-image
2020-07-15 14:36:00 +02:00
Dan Smith
576a8e20cd Add copy-unowned-image spec
Change-Id: I3cdd88eef1a64171d2714034449ca2ddf85a214d
2020-07-08 07:13:29 -07:00
Zuul
f6f7a01a70 Merge "Spec for the Glance part of Image Encryption" 2020-07-08 06:13:00 +00:00
Josephine Seifert
ca9cfd82a5 Spec for the Glance part of Image Encryption
We want to propose Image Encryption for Openstack, which would affect
Glance, but also Nova and Cinder. This spec contains the details of the
Glance part for the Image Encryption and an overview over all needed
changes.

Change-Id: I169a7aed53f6ff53415449ad9f2fc92e73fab937
Co-Authored-By: Markus Hentsch <markus.hentsch@secustack.com>
2020-07-06 10:43:20 +02:00
Andreas Jaeger
2d2d7baf03 Switch to newer openstackdocstheme version
Switch to openstackdocstheme 2.2.1 version. Using
this version 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.

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: If08d763c2c0f09faa61c327ab64f1ad7b1549262
2020-05-30 16:56:41 +02:00
Abhishek Kekane
c73bc4a2ec Corrections based on comments on victoria specs directory patch
Follow up patch to fix the minor comments on base patch [1].

[1] https://review.opendev.org/#/c/717665

Change-Id: I76e0fdb8af559e65dce8a0f813f284d0fce1e772
2020-05-22 06:00:44 +00:00
Zuul
842f3ca5c2 Merge "Create specs directory for Victoria cycle" 2020-05-04 10:40:54 +00:00
Zuul
71a482f40c Merge "Cleanup py27 support and docs" 2020-05-02 13:23:03 +00:00
Zuul
b0ad9b1019 Merge "Deprecate 'checksum' computation" 2020-04-27 17:00:29 +00:00
Abhishek Kekane
4fef6d1812 Create specs directory for Victoria cycle
Change-Id: I3c94005ef8d8218e15636b1bb80a2269719035ad
2020-04-23 17:28:08 +00:00
Andreas Jaeger
80c60a7bd6 Cleanup py27 support and docs
Make a few cleanups:
- Remove obsolete sections from setup.cfg
- Switch to using sphinx-build
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine

Change-Id: I3287169563c44d05cfab0329af9756f6de4f885c
2020-04-10 10:45:10 +02:00
Zuul
0202da7162 Merge "Add spec-lite to deprecate admin_role" 2020-04-09 15:01:09 +00:00
Brian Rosmaita
644b7ec2af Add spec-lite to deprecate admin_role
Change-Id: I4484903886a09d4556ce11e671b1ae0dd8d9b16f
2020-04-09 10:29:47 -04:00
Brian Rosmaita
85e08aff9d Deprecate 'checksum' computation
Change-Id: Id1ee86dd82f44721041bf25c820169c33218ff9c
2020-04-08 13:00:52 -04:00
Zuul
df80886815 Merge "Spec: Supporting the s3 driver again as regular glance store driver" 2020-03-26 14:07:04 +00:00
Naohiro Sameshima
01f4034f89 Spec: Supporting the s3 driver again as regular glance store driver
Change-Id: I198cebacc6e99149b65ae1ae4445ee05a70d2bbd
2020-03-21 01:13:23 +09:00
Zuul
fccfd5d7f0 Merge "Deprecate allow_additional_image_properties" 2020-03-12 04:54:58 +00:00
Zuul
e75d3482bf Merge "[ussuri][goal] Drop python 2.7 support" 2020-02-07 05:16:37 +00:00