summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2018-03-09 10:28:14 +0000
committerGerrit Code Review <review@openstack.org>2018-03-09 10:28:14 +0000
commitad5233bd7856829a33b3562d6308654d8f2cb885 (patch)
treef09958f9c200a886d9f92ab854aeaa191cc31594
parentf720f7ca3a0174b5972a28d8f0656cd0f38c62e2 (diff)
parentf8736b39af7c4bbd7022f2eb398f0a2344729ad9 (diff)
Merge "Introduce db sync check feature"
-rw-r--r--doc/source/_extra/.htaccess1
-rw-r--r--doc/test/redirect-tests.txt1
-rw-r--r--specs/queens/implemented/glance/lite-spec-db-sync-check.rst (renamed from specs/untargeted/glance/lite-spec-db-sync-check.rst)56
3 files changed, 32 insertions, 26 deletions
diff --git a/doc/source/_extra/.htaccess b/doc/source/_extra/.htaccess
index c277bb5..69bab3d 100644
--- a/doc/source/_extra/.htaccess
+++ b/doc/source/_extra/.htaccess
@@ -9,3 +9,4 @@ Redirect 301 /specs/queens/approved/glance/remove-registry-v1.html /specs/rocky/
9Redirect 301 /specs/queens/approved/glance/remove-v1.html /specs/rocky/approved/glance/remove-v1.html 9Redirect 301 /specs/queens/approved/glance/remove-v1.html /specs/rocky/approved/glance/remove-v1.html
10Redirect 301 /specs/mitaka/approved/image-import/image-import-refactor.html /specs/rocky/approved/glance/image-import/image-import-refactor.html 10Redirect 301 /specs/mitaka/approved/image-import/image-import-refactor.html /specs/rocky/approved/glance/image-import/image-import-refactor.html
11Redirect 301 /specs/queens/approved/python-glanceclient/no-schema-validation.html /specs/untargeted/python-glanceclient/no-schema-validation.html 11Redirect 301 /specs/queens/approved/python-glanceclient/no-schema-validation.html /specs/untargeted/python-glanceclient/no-schema-validation.html
12Redirect 301 /specs/untargeted/glance/lite-spec-db-sync-check.html /specs/queens/implemented/glance/lite-spec-db-sync-check.html
diff --git a/doc/test/redirect-tests.txt b/doc/test/redirect-tests.txt
index bbe1f03..2f4505c 100644
--- a/doc/test/redirect-tests.txt
+++ b/doc/test/redirect-tests.txt
@@ -10,3 +10,4 @@
10/specs/queens/approved/glance/remove-v1.html 301 /specs/rocky/approved/glance/remove-v1.html 10/specs/queens/approved/glance/remove-v1.html 301 /specs/rocky/approved/glance/remove-v1.html
11/specs/mitaka/approved/image-import/image-import-refactor.html 301 /specs/rocky/approved/glance/image-import/image-import-refactor.html 11/specs/mitaka/approved/image-import/image-import-refactor.html 301 /specs/rocky/approved/glance/image-import/image-import-refactor.html
12/specs/queens/approved/python-glanceclient/no-schema-validation.html 301 /specs/untargeted/python-glanceclient/no-schema-validation.html 12/specs/queens/approved/python-glanceclient/no-schema-validation.html 301 /specs/untargeted/python-glanceclient/no-schema-validation.html
13/specs/untargeted/glance/lite-spec-db-sync-check.html 301 /specs/queens/implemented/glance/lite-spec-db-sync-check.html
diff --git a/specs/untargeted/glance/lite-spec-db-sync-check.rst b/specs/queens/implemented/glance/lite-spec-db-sync-check.rst
index eff9c9a..5c97bcb 100644
--- a/specs/untargeted/glance/lite-spec-db-sync-check.rst
+++ b/specs/queens/implemented/glance/lite-spec-db-sync-check.rst
@@ -1,26 +1,30 @@
1Lite Spec: Introduce db sync --check feature 1==========================================
2-------------------------------------------- 2Spec Lite: Introduce db sync check feature
3 3==========================================
4:problem: It is very hard for automation of deploy and upgrade operations to 4
5 know if there are db migrations pending. It requires the automation 5:problem: It is very hard for automation of deploy and upgrade operations to
6 to know what the latest version is, and compare that to the output 6 know if there are db migrations pending. It requires the automation
7 of a command to check the current version, then interpret the 7 to know what the latest version is, and compare that to the output
8 potential difference somehow. 8 of a command to check the current version, then interpret the
9 9 potential difference somehow.
10:solution: Similar to the linked feature added to Keystone's manage command, 10
11 Glance should support an operation which enumerates any outstanding 11:solution: Similar to the linked feature added to Keystone's manage command,
12 db upgrade operations and provide a distinct return code based on 12 Glance should support an operation which enumerates any outstanding
13 that status. Each expand, migrate, and contract operation required 13 db upgrade operations and provide user friendly message based on
14 to upgrade the db should be listed in the proper order of execution 14 that status. Each expand, migrate, and contract operation required
15 in the response. For consistency with Keystone, this may be 15 to upgrade the db should be listed in the proper order of execution
16 implemented by using a ``--check`` option. When this option is 16 in the response.
17 present no db upgrades would be performed but potential operations 17 This may be implemented by using a ``glance-manage db check`` option.
18 would be reported, acting similar to the pattern of a dry-run. 18 When this option is present no db upgrades would be performed
19 19 but potential operations would be reported, acting similar to the
20:impacts: Introduces new option to the db sync operation in glance-manage. 20 pattern of a dry-run.
21 21
22:timeline: Expected to be merged within the Pike time frame. 22:impacts: Introduces new option to the db sync operation in glance-manage.
23 23
24:link: https://bugs.launchpad.net/keystone/+bug/1642212 24:timeline: Queens RC-1
25 25
26:assignee: Open 26:link: https://bugs.launchpad.net/keystone/+bug/1642212
27
28:reviewers: rosmaita, abhishekk, jokke
29
30:assignee: bhagyashris \ No newline at end of file