Merge "admin authorize: Deprecate ineffective --overcloud-ssh-network"
This commit is contained in:
commit
e386c3a054
@ -0,0 +1,5 @@
|
||||
---
|
||||
deprecations:
|
||||
- |
|
||||
The ``--overcloud-ssh-network`` option of the ``openstack admin authorize``
|
||||
command has been deprecated. This option has has no effect.
|
@ -55,7 +55,8 @@ class Authorize(command.Command):
|
||||
)
|
||||
parser.add_argument(
|
||||
'--overcloud-ssh-network',
|
||||
help=_('Network name to use for ssh access to overcloud nodes.'),
|
||||
help=_('DEPRECATED: Network name to use for ssh access to '
|
||||
'overcloud nodes. This has no effect now.'),
|
||||
default='ctlplane'
|
||||
)
|
||||
parser.add_argument(
|
||||
@ -101,6 +102,10 @@ class Authorize(command.Command):
|
||||
'config-download',
|
||||
parsed_args.stack)
|
||||
|
||||
if parsed_args.overcloud_ssh_network:
|
||||
self.log.warning('The --overcloud-ssh-network option is '
|
||||
'deprecated and has no effect now.')
|
||||
|
||||
if not parsed_args.static_inventory:
|
||||
inventory = os.path.join(ansible_dir,
|
||||
'tripleo-ansible-inventory.yaml')
|
||||
|
Loading…
x
Reference in New Issue
Block a user