Merge "Mark tripleo deploy experimental"

This commit is contained in:
Zuul 2018-07-14 02:36:21 +00:00 committed by Gerrit Code Review
commit 659b04b6ef
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,5 @@
---
features:
- |
[EXPERIMENTAL] The `openstack tripleo deploy` command is experimental
and may change in future releases.

View File

@ -971,6 +971,13 @@ class Deploy(command.Command):
self.log.error(json.dumps(failures.get(name, {}), indent=1))
def _standalone_deploy(self, parsed_args):
# NOTE(aschultz): the tripleo deploy interface is experimental but only
# when not being invoked via undercloud install. Print a warning...
if parsed_args.standalone_role != 'Undercloud' and \
parsed_args.stack != 'undercloud':
self.log.warning('[EXPERIMENTAL] The tripleo deploy interface is '
'an experimental interface. It may change in the '
'next release.')
if not parsed_args.local_ip:
msg = _('Please set --local-ip to the correct '
'ipaddress/cidr for this machine.')