[openstack-dev] [TripleO] Removing unused/deprecated template parameters?

Steven Hardy shardy at redhat.com
Tue Jan 12 20:47:10 UTC 2016


Hi all,

I've noticed that we have a fairly large number of unused parameters in
t-h-t, some of which are marked deprecated, some aren't.

Since we moved tripleoclient to use parameter_defaults everywhere, I think
it should be safe to remove these unused parameters, even in
overcloud.yaml.

See:

https://review.openstack.org/#/c/227057/

https://review.openstack.org/#/c/227057/

Since those, we can pass removed/deprecated parameters from the client and
they will be ignored, even if they're removed from the template (unlike if
you use "parameters", where a validation error would occur.

I'd like to go ahead and clean these up (only on the master branch), is
that reasonable?  We can document the change via a mitaka release note?

Ideally, we'd have user-visible warnings for a deprecation period, but
there's no way to output such warnings atm via heat, so we'd need to wire
them in via tripleoclient or tripleo-common, which seems a bit backwards
given that we can just remove the parameters there instead.

Thoughts?

Steve



More information about the OpenStack-dev mailing list