The strange thing is this upgrade code has been in IPA since 4.9.0
so
its unclear why it decided to break now, and in the way it did.
It should only change the attribute from requiredSecret to secret if
"tomcat version" reports a version >= 9.0.31.0.
Yes, I noticed the
python function returns the correct value (false) when checking for my tomcat version and
should use "requiredSecret" as a result.