diff --git a/releasenotes/notes/tripleo-deploy-experimental-7533f9a9ed18a72d.yaml b/releasenotes/notes/tripleo-deploy-experimental-7533f9a9ed18a72d.yaml new file mode 100644 index 000000000..84879c4c8 --- /dev/null +++ b/releasenotes/notes/tripleo-deploy-experimental-7533f9a9ed18a72d.yaml @@ -0,0 +1,5 @@ +--- +features: + - | + [EXPERIMENTAL] The `openstack tripleo deploy` command is experimental + and may change in future releases. diff --git a/tripleoclient/v1/tripleo_deploy.py b/tripleoclient/v1/tripleo_deploy.py index 255c8be7e..32f5226e9 100644 --- a/tripleoclient/v1/tripleo_deploy.py +++ b/tripleoclient/v1/tripleo_deploy.py @@ -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.')