It's not yet clear how that happened, but I'll remove nova from this since it appears to be an issue specific to package updates and/or the tripleo upgrade workflow (in particular I think we can end up in this state if an upgrade fails during the package upgrade, then the upgrade is re-attempted).
Ok so further testing this may be packaging related, as I ended up with two versions of python-nova installed:
[root@overcloud -controller- 0 ~]# rpm -ql python-nova | grep migrate_repo | grep "py$" | grep 021 python2. 7/site- packages/ nova/db/ sqlalchemy/ api_migrations/ migrate_ repo/versions/ 021_build_ requests_ instance_ mediumtext. py python2. 7/site- packages/ nova/db/ sqlalchemy/ api_migrations/ migrate_ repo/versions/ 021_placeholder .py -controller- 0 ~]# rpm -qa | grep python-nova nova-15. 0.0-0.201702150 34806.bdeb05d. el7.centos. noarch nova-14. 0.4-0.201701171 54931.c6743ca. el7.centos. noarch -controller- 0 ~]# rpm -qf /usr/lib/ python2. 7/site- packages/ nova/db/ sqlalchemy/ api_migrations/ migrate_ repo/versions/ 021_build_ requests_ instance_ mediumtext. py nova-14. 0.4-0.201701171 54931.c6743ca. el7.centos. noarch -controller- 0 ~]# rpm -qf /usr/lib/ python2. 7/site- packages/ nova/db/ sqlalchemy/ api_migrations/ migrate_ repo/versions/ 021_placeholder .py nova-15. 0.0-0.201702150 34806.bdeb05d. el7.centos. noarch
/usr/lib/
/usr/lib/
[root@overcloud
python-
python-
[root@overcloud
python-
[root@overcloud
python-
It's not yet clear how that happened, but I'll remove nova from this since it appears to be an issue specific to package updates and/or the tripleo upgrade workflow (in particular I think we can end up in this state if an upgrade fails during the package upgrade, then the upgrade is re-attempted).