Comment 16 for bug 1796639

Revision history for this message
Alex Schultz (alex-schultz) wrote :

So whatever is happening, the python-tripleoclient is not properly getting updated during the upgrade script execution.

http://logs.openstack.org/75/620975/1/check/tripleo-ci-centos-7-undercloud-upgrades/6d3151c/logs/undercloud/home/zuul/undercloud_upgrade.log.txt.gz

2018-11-29 22:13:20 | Loaded plugins: fastestmirror, priorities
2018-11-29 22:13:20 | Loading mirror speeds from cached hostfile
2018-11-29 22:13:21 | 122 packages excluded due to repository priority protections
2018-11-29 22:13:22 | No packages marked for update
2018-11-29 22:13:24 | Loaded plugins: fastestmirror, priorities
2018-11-29 22:13:25 | Loading mirror speeds from cached hostfile
2018-11-29 22:13:26 | 122 packages excluded due to repository priority protections
2018-11-29 22:13:26 | No packages marked for update
2018-11-29 22:13:30 | Traceback (most recent call last):
2018-11-29 22:13:30 | File "<string>", line 1, in <module>
2018-11-29 22:13:30 | File "/usr/lib/python2.7/site-packages/instack_undercloud/undercloud.py", line 2410, in pre_upgrade
2018-11-29 22:13:30 | for stack in heat.stacks.list():
2018-11-29 22:13:30 | File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 136, in paginate
2018-11-29 22:13:30 | stacks = self._list(url, 'stacks')
2018-11-29 22:13:30 | File "/usr/lib/python2.7/site-packages/heatclient/common/base.py", line 114, in _list
2018-11-29 22:13:30 | body = self.client.get(url).json()
2018-11-29 22:13:30 | File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 304, in get
2018-11-29 22:13:30 | return self.request(url, 'GET', **kwargs)
2018-11-29 22:13:30 | File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 317, in request
2018-11-29 22:13:30 | raise exc.from_response(resp)
2018-11-29 22:13:30 | heatclient.exc.HTTPInternalServerError: ERROR: [Errno 2] No such file or directory: '/etc/heat/policy.json'
2018-11-29 22:13:30 | Command 'instack-pre-upgrade-undercloud' returned non-zero exit status 1

The first yum update is a yum update to python-tripleoclient so if it's not getting updated, that means it's either not available for an update or was updated prior to when it was supposed to be. I'm still trying to figure out the ordering of what is happening because the reproducer is broken and if I manually run through the process it works fine.