From 725510b87efdd0f4d77eb421d32dc9d1a5d260b2 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Fri, 24 Mar 2017 08:05:57 -0500 Subject: [PATCH] Remove deprecated 'host' option for cinder-volume The cinder-volume command has a 'host' option that has been deprecated for over 3 years. This finally removes it. Not including release note as this is old code and this command isn't really something an end user would likey care about. Mentioning it in a release note may just cause confusion at this point. Change-Id: I70f6876ff36e63d572e587cd3cb00b70cf434ca4 --- cinder/cmd/volume.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cinder/cmd/volume.py b/cinder/cmd/volume.py index 88e4123c913..3807145b148 100644 --- a/cinder/cmd/volume.py +++ b/cinder/cmd/volume.py @@ -54,9 +54,7 @@ from cinder import version CONF = cfg.CONF -deprecated_host_opt = cfg.DeprecatedOpt('host') -host_opt = cfg.StrOpt('backend_host', help='Backend override of host value.', - deprecated_opts=[deprecated_host_opt]) +host_opt = cfg.StrOpt('backend_host', help='Backend override of host value.') CONF.register_cli_opt(host_opt) # TODO(geguileo): Once we complete the work on A-A update the option's help.