320 Commits

Author SHA1 Message Date
Nguyen Hung Phuong
79b27e6502 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: I225b740cd85207e2785ab60ba7e626a773617b0c
2018-07-03 11:52:06 +07:00
Zuul
9dddf33103 Merge "Add spec to mitigate OSSN-0075" 2018-06-07 20:24:20 +00:00
Zuul
bddc7e50d5 Merge "Multi-store problem description" 2018-06-07 20:03:01 +00:00
Zuul
8cdccfe68a Merge "Deprecate store_capabilities_update_min_interval" 2018-06-07 18:44:16 +00:00
Zuul
8fc2e8caa0 Merge "Hide old images from default image-list" 2018-06-07 18:44:15 +00:00
Zuul
3806ba415c Merge "Glance cluster awareness" 2018-06-07 18:44:02 +00:00
Erno Kuvaja
90a913dfa3 Multi-store problem description
This patch adds multi-store problem description and placeholder
for Rocky spec freeze.

Co-authored-by: Abhishek Kekane <akekane@redhat.com>

Change-Id: I5ba200a3ad6a3620c9f999330b90a0dc91ec058f
2018-06-07 15:50:22 +00:00
Erno Kuvaja
fc83454440 Glance cluster awareness
As discussed before and during the summit, the proposal for
inter-communication between glance-api nodes to provide
operational efficiency in multi-node Glance deployments.

Change-Id: Icd246e95065e4539e83416c9d8c138b8b1a1cf52
2018-06-06 02:22:08 +01:00
Belmiro Moreira
801a955c78 Hide old images from default image-list
The spec looks how operators can have more control over images
that are included in the default image list. This is achieved
with a new property 'hidden' to omit images from the users.

Change-Id: I7bba164c350e74f9d3490c77d536bffdc1ccc075
2018-05-23 12:26:26 -07:00
Brian Rosmaita
83264db4ee Deprecate store_capabilities_update_min_interval
Change-Id: I62546ad03e53de885c1b07740db5e05ca69193df
2018-04-12 22:57:57 -04:00
Brian Rosmaita
4a829fc842 Add spec to mitigate OSSN-0075
The spec addresses OSSN-0075 based on discussions at the Rocky PTG and
subsequent discussion in #openstack-glance [0].

[0] http://eavesdrop.openstack.org/irclogs/%23openstack-glance/%23openstack-glance.2018-03-16.log.html#t2018-03-16T16:31:52

Change-Id: I00e67b5a901f1e49f18dab3dfc7c0a8325c7bf85
2018-04-05 13:51:36 +00:00
Brian Rosmaita
39120f0001 Add release dates to Rocky priorities page
Change-Id: Iad2a0bed110557006dda026ec0e670e8405c4255
2018-03-26 19:10:19 -04:00
Zuul
ad5233bd78 Merge "Introduce db sync check feature" 2018-03-09 10:28:14 +00:00
Zuul
f720f7ca3a Merge "Pending-delete rollback ability" 2018-03-09 07:08:36 +00:00
bhagyashris
f8736b39af Introduce db sync check feature
Lite-spec for a dry-run option for db upgrades in glance-manage.

This spec is moved from /specs/untargeted/glance/lite-spec-db-sync-check.rst
to /specs/queens/implemented/glance/lite-spec-db-sync-check.rst because it was
implemented by change I1e0b02d615690f65a17b4ccfe4e4a72cc9e15ada

Change-Id: Ice1ab9657e236d969df50016a3b47a893e6aff0c
2018-03-09 12:23:24 +05:30
Zuul
449947b209 Merge "spelling error" 2018-03-08 07:02:08 +00:00
Zuul
a75dc8d588 Merge "Add spec lite to deprecate owner_is_tenant" 2018-03-08 07:02:07 +00:00
Andreas Jaeger
d26263e303 Fix broken .htaccess
This lead to an internal server error, hope that's the only needed
change.

Change-Id: Ic4331767a31a7021f8ef592ed3dc1f3fc26056aa
2018-03-07 07:56:11 +01:00
wangxiyuan
e997a573c4 Pending-delete rollback ability
Glance support soft delete images with delayed_delete feature. If
this feature is open, when users delete a image, the image will
first be in a special 'pending_delete' status that is not displayed
in the API response. And then the image will be deleted by
glance-scrubber process.

But currently, there is no way to revert the pending-delete images.
Once the admin operators want to revert the delete action, Glance
should give them this kind of ability.

This patch will enhance the glance-scrubber tool to support restoring
the image from pending-delete to active. Although, whether the rollback
of a particular image is possible or not depends upon Glance configuration
option settings and quick operator action.

Change-Id: I0202b754815a3d2133a57ef987741c7b12c29ff3
blueprint: pending-delete-rollback
2018-03-07 09:29:49 +08:00
Brian Rosmaita
726af63984 Add spec lite to deprecate owner_is_tenant
The aim is to make owner_is_tenant == True as the only way to
configure Glance.

Change-Id: I6cff6282cb26f8d140a6fc9ff671e8bbdb35d019
2018-03-06 09:49:53 -05:00
Brian Rosmaita
ef0df98f9e Close out queens in glance-specs repo
Update queens specs from 'approved' to 'implemented' or to
rocky/approved or to untargeted, define the redirects, and
make appropriate changes on the supporting pages.

Change-Id: I48aa6a2f11831ffc544e8b02b0bfdb80aa51d3e2
2018-03-05 05:15:33 -05:00
Erno Kuvaja
c70688ce6e Client v1 support removal update
Did not happen in Queens, lets try this again in Rocky.

Change-Id: Ib2d9f737a718353d399deb475378b1b6b9c933f0
2018-03-01 18:22:12 +00:00
Erno Kuvaja
7c76b4f49f Remove the policy in code spec lite
Removing the spec lite as we did not do this in queens and this did not
contain the details of refactoring the policies which is under planned
work for Rocky.

Change-Id: Ica3d5dca5a99920b12aa4062e3b68c7570278ed2
2018-03-01 10:39:09 +00:00
Brian Rosmaita
c041db7f85 Update specs repo for Queens
Move the implemented Queens specs from 'approved' to 'implemented'
and set up redirects so links to 'approved' won't break.

Change-Id: I6f228424d677f1b4c47b6784732c0ab10cd2aa47
2018-02-26 19:50:43 -05:00
Zuul
b6332763dd Merge "Move implemented spec to 'implemented'" 2018-02-02 13:46:43 +00:00
chenjiao
21ffaf2aeb spelling error
there are some spelling error in files

Change-Id: I69d0190306bcc0bc858f641ae9a5f13833b48cc6
2018-01-23 19:10:06 +08:00
Zuul
ab5e485fa5 Merge "Add spec lite for rolling upgrade testing" 2017-12-14 14:44:30 +00:00
Brian Rosmaita
803776bab4 Un-comment get_html_theme_path()
One of the changes in https://review.openstack.org/#/c/523233/ was
commented out by mistake.  This patch corrects that.

Closes-bug: #1735935
Change-Id: I30bb1403ad4300909ef314f3b9402fc360c30ec6
2017-12-02 15:13:10 -05:00
Brian Rosmaita
fe26e476f7 Move implemented spec to 'implemented'
Update the specs repo to indicate the Q-1 implementations.
This includes moving the spec, adding a redirect so the old
URL doesn't break, and adding a 'whereto' test.

Change-Id: I8aac14f306f35d14ca06ca742f556ef8afb866fe
2017-12-02 13:40:20 -05:00
Doug Hellmann
daaba42170 add whereto for testing redirects
Set up whereto so that any redirect rules added to the .htaccess file
can be tested.

Change-Id: I2238a2163c26b7df9c6a3dfaf0f8701631ff2cc5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-12-02 17:13:38 +00:00
Zuul
c0bcb4585d Merge "Clean up Queens 'approved' directory" 2017-12-01 06:47:56 +00:00
Brian Rosmaita
46fa54dd05 Update glance-specs to use openstackdocstheme
Maintenance on oslosphinx ended with the Pike release.  This
patch includes the following changes:
* switch to openstackdocstheme
* set context options for openstackdocstheme
  - glance-specs doesn't have its own bug tracker, so config
    to create bugs in the glance bug tracker with tag 'glance-specs'
* update requirements file
* update setup.cfg to use warning-is-error
* update four specs whose warnings were previously ignored
* add an '_extra' directory with stub .htaccess file
* configure docs build to include '_extra'
* update build command in tox.ini

Change-Id: I4da477fd39685a22fb4ef9d702af9b9a79bda0c2
2017-11-28 14:19:44 -05:00
Brian Rosmaita
02ecfd03ef Clean up Queens 'approved' directory
In Queens, we began putting lite specs each into their own file
instead of keeping them all in a single file.  This has left us with
"empty" Queens lite spec template files in the 'approved' directory,
so this patch removes them.

Change-Id: I5449c625653bb3aec7fdff30a831fb065ab9c084
2017-11-03 09:29:08 -04:00
Zuul
c2c3d21db7 Merge "Move language neutralization spec to untargeted" 2017-11-03 12:56:48 +00:00
Brian Rosmaita
ee5c946f33 Move language neutralization spec to untargeted
The glance_store language neutralization spec has been approved
but no one has agreed to work on it for the Queens release, so
moving it to the 'untargeted' directory.

Change-Id: I838763e2c62bcd25875e0987cc6dd670c786279b
2017-10-30 11:37:18 -04:00
Brian Rosmaita
7dba189b29 Add Queens priorities
Adds the Queens priorities list.  Also moves the old priority lists
to their own archive page in order to de-clutter the specs landing
page.

Change-Id: I4b54f689575f3420ccc78670d71b26a8fe25f9f3
2017-10-30 11:29:14 -04:00
Brian Rosmaita
573cc7693c Add spec lite for rolling upgrade testing
Adding this directly to untargeted as it's not listed on the
Queens roadmap etherpad.

Change-Id: I98b3acbe0c7584d397f980402dc694f646777909
2017-10-28 15:27:35 -04:00
Zuul
b41cc719f5 Merge "Add lite spec for language neutralization" 2017-10-26 14:07:28 +00:00
Jenkins
932e523f00 Merge "Open specs repo for Rocky" 2017-10-10 19:59:54 +00:00
Brian Rosmaita
19f50813a7 Open specs repo for Rocky
Glance is now in a specs proposal freeze for Queens, so new specs
must be proposed for Rocky.  This patch sets up the directories
and introduces a new spec-lite template to replace the old strategy
of having a single file containing all lite specs.  It also reorganizes
the index page slightly to make the current cycle's specs more
prominent.

Change-Id: I85b096fc0c99a70e3ad0d7f8727b7d5ab679c95b
2017-10-10 15:22:15 +00:00
Jenkins
2873cb60b0 Merge "Add lite-spec for Queens community goal" 2017-10-09 04:36:49 +00:00
Brian Rosmaita
2e54022f1a Add lite spec for language neutralization
Based on discussions with the Glare team at the Denver PTG:
https://etherpad.openstack.org/p/glance-queens-ptg-glance_store

Change-Id: I70ca7ad0bf2e5e7922ce95fae13405b2f1633c18
2017-10-06 09:47:41 -04:00
Jenkins
c77664cd77 Merge "Inject metadata properties automatically to non-admin images" 2017-10-06 13:32:20 +00:00
Jenkins
d3ca938a48 Merge "Updating multi-hash spec for revision" 2017-10-06 12:34:03 +00:00
Jenkins
58a84a975f Merge "Add spec-lite for scrubber refactor" 2017-10-06 12:33:11 +00:00
Scott McClymont
04a9379a62 Updating multi-hash spec for revision
Change-Id: I1f25c8d49c2b117cefb09d7edab494d32fed4ddb
2017-10-05 18:49:05 +00:00
Abhishek Kekane
1549f4a0dc Inject metadata properties automatically to non-admin images
The operator wants user based images to be launched on certain
set of compute nodes (host aggregate groups) based on image
metadata properties.

Change-Id: I6a7ed31d5fae677cbbc9a6f6053f79d3e9326561
Implements: inject-automatic-metadata
2017-10-05 13:05:49 +05:30
Zuul
200483ed3b Merge "Add spec-lite for removal of the Images API v1" 2017-09-29 08:37:51 +00:00
Zuul
eddbacbf0c Merge "Add spec-lite to remove the Glance Registry API v1" 2017-09-29 08:37:50 +00:00
Zuul
bf7acb7525 Merge "Add spec-lite to deprecate the Glance Registry Service" 2017-09-29 08:37:49 +00:00