Merge "Default to using glance v2"
This commit is contained in:
commit
aede5024e1
@ -42,14 +42,11 @@ should be fully qualified urls of the form
|
|||||||
'via the direct_url. Currently supported schemes: '
|
'via the direct_url. Currently supported schemes: '
|
||||||
'[file].'),
|
'[file].'),
|
||||||
cfg.BoolOpt('use_glance_v1',
|
cfg.BoolOpt('use_glance_v1',
|
||||||
default=True,
|
default=False,
|
||||||
help="""
|
help="""
|
||||||
This flag is a temporary conf value to segregate paths between glance v1
|
This flag allows reverting to glance v1 if for some reason glance v2 doesn't
|
||||||
and glance v2 API usage inside the nova image proxy. This is set to True
|
work in your environment. This will only exist in Newton, and a fully working
|
||||||
by default to use Glance V1 APIs as default. However, it would be flipped
|
Glance v2 will be a hard requirement in Ocata.
|
||||||
to False, once the nova image proxy is ready to adopt V2 APIs. Eventually
|
|
||||||
this flag would be deprecated once the proxy gets rid of all the glance
|
|
||||||
V1 API code.
|
|
||||||
|
|
||||||
* Possible values:
|
* Possible values:
|
||||||
|
|
||||||
@ -66,8 +63,8 @@ V1 API code.
|
|||||||
None
|
None
|
||||||
""",
|
""",
|
||||||
deprecated_for_removal=True,
|
deprecated_for_removal=True,
|
||||||
deprecated_reason='This is a temporary flag to be removed '
|
deprecated_reason='Glance v1 support will be removed in '
|
||||||
'as soon as the V2 path works'),
|
'Ocata'),
|
||||||
cfg.BoolOpt('verify_glance_signatures',
|
cfg.BoolOpt('verify_glance_signatures',
|
||||||
default=False,
|
default=False,
|
||||||
help='Require Nova to perform signature verification on '
|
help='Require Nova to perform signature verification on '
|
||||||
|
14
releasenotes/notes/glance_v2-15b080e361804976.yaml
Normal file
14
releasenotes/notes/glance_v2-15b080e361804976.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
|
||||||
|
- Nova now defaults to using the glance version 2 protocol for all
|
||||||
|
backend operations for all virt drivers. A ``use_glance_v1``
|
||||||
|
config option exists to revert to glance version 1 protocol if
|
||||||
|
issues are seen, however that will be removed early in Ocata, and
|
||||||
|
only glance version 2 protocol will be used going forward.
|
||||||
|
|
||||||
|
upgrade:
|
||||||
|
|
||||||
|
- It is now required that the glance environment used by Nova
|
||||||
|
exposes the version 2 REST API. This API has been available for
|
||||||
|
many years, but previously Nova only used the version 1 API.
|
Loading…
Reference in New Issue
Block a user