Remove amp_ssH_access_allowed option
This option entered deprecation in Queens and is used no where nowadays. Change-Id: I3734a9083fa83174c530b65128baee2fe0e593d7
This commit is contained in:
parent
89123c0fc1
commit
cd52cce7f7
@ -452,15 +452,6 @@ controller_worker_opts = [
|
|||||||
default='',
|
default='',
|
||||||
help=_('Optional SSH keypair name, in nova, that will be used '
|
help=_('Optional SSH keypair name, in nova, that will be used '
|
||||||
'for the authorized_keys inside the amphora.')),
|
'for the authorized_keys inside the amphora.')),
|
||||||
cfg.BoolOpt('amp_ssh_access_allowed',
|
|
||||||
default=True,
|
|
||||||
deprecated_for_removal=True,
|
|
||||||
deprecated_reason='This option and amp_ssh_key_name overlap '
|
|
||||||
'in functionality, and only one is needed. '
|
|
||||||
'SSH access can be enabled/disabled simply '
|
|
||||||
'by setting amp_ssh_key_name, or not.',
|
|
||||||
help=_('Determines whether or not to allow access '
|
|
||||||
'to the Amphorae')),
|
|
||||||
cfg.ListOpt('amp_boot_network_list',
|
cfg.ListOpt('amp_boot_network_list',
|
||||||
default='',
|
default='',
|
||||||
help=_('List of networks to attach to the Amphorae. '
|
help=_('List of networks to attach to the Amphorae. '
|
||||||
|
@ -297,8 +297,6 @@ class TestComputeTasks(base.TestCase):
|
|||||||
createcompute = compute_tasks.ComputeCreate()
|
createcompute = compute_tasks.ComputeCreate()
|
||||||
|
|
||||||
mock_driver.build.return_value = COMPUTE_ID
|
mock_driver.build.return_value = COMPUTE_ID
|
||||||
self.conf.config(
|
|
||||||
group="controller_worker", amp_ssh_access_allowed=False)
|
|
||||||
self.conf.config(
|
self.conf.config(
|
||||||
group="controller_worker", user_data_config_drive=False)
|
group="controller_worker", user_data_config_drive=False)
|
||||||
mock_log_cfg.return_value = 'FAKE CFG'
|
mock_log_cfg.return_value = 'FAKE CFG'
|
||||||
|
@ -307,8 +307,6 @@ class TestComputeTasks(base.TestCase):
|
|||||||
createcompute = compute_tasks.ComputeCreate()
|
createcompute = compute_tasks.ComputeCreate()
|
||||||
|
|
||||||
mock_driver.build.return_value = COMPUTE_ID
|
mock_driver.build.return_value = COMPUTE_ID
|
||||||
self.conf.config(
|
|
||||||
group="controller_worker", amp_ssh_access_allowed=False)
|
|
||||||
self.conf.config(
|
self.conf.config(
|
||||||
group="controller_worker", user_data_config_drive=False)
|
group="controller_worker", user_data_config_drive=False)
|
||||||
mock_log_cfg.return_value = 'FAKE CFG'
|
mock_log_cfg.return_value = 'FAKE CFG'
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
upgrade:
|
||||||
|
- |
|
||||||
|
The option ``[controller_worker]/amp_ssh_access_allowed`` has been
|
||||||
|
deprecated since Queens release and is now removed. This option was
|
||||||
|
superseded by ``[controller_worker]/amp_ssh_key_name`` option.
|
Loading…
Reference in New Issue
Block a user