Workaround is to sudo yum -y update after undercloud install.
I did update after yum install python2-tripleo-repos, then undercloud install, then tried to render templates which failed with the same issue above, ran yum update, then rendering templates worked.
Workaround is to sudo yum -y update after undercloud install. tripleo- repos, then undercloud install, then tried to render templates which failed with the same issue above, ran yum update, then rendering templates worked.
I did update after yum install python2-