diff --git a/cinder/common/config.py b/cinder/common/config.py index f5f18c614df..9ec9a73cdf5 100644 --- a/cinder/common/config.py +++ b/cinder/common/config.py @@ -84,7 +84,7 @@ global_opts = [ 'value (None) is supplied here, the glanceclient default ' 'value is used.'), cfg.BoolOpt('enable_v1_api', - default=True, + default=False, deprecated_for_removal=True, help="DEPRECATED: Deploy v1 of the Cinder API."), cfg.BoolOpt('enable_v2_api', diff --git a/releasenotes/notes/default-apiv1-disabled-9f6bb0c67b38e670.yaml b/releasenotes/notes/default-apiv1-disabled-9f6bb0c67b38e670.yaml new file mode 100644 index 00000000000..41d85ad88a2 --- /dev/null +++ b/releasenotes/notes/default-apiv1-disabled-9f6bb0c67b38e670.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - The v1 API was deprecated in the Juno release and is + now defaulted to disabled. In order to still use the + v1 API, you must now set ``enable_v1_api`` to ``True`` + in your cinder.conf file.