Description of problem:
OSP10->11->12->13 overcloud controller rpm package update fails due to openstack-heat-api-cloudwatch package conflict :
--> Processing Dependency: openstack-heat-common = 1:9.0.3-1.el7ost for package: 1:openstack-heat-api-cloudwatch-9.0.3-1.el7ost.noarch
---> Package puppet-dns.noarch 0:5.1.1-0.20180215160943.99cd025.el7ost will be installed
---> Package python-docutils.noarch 0:0.12-0.2.20140510svn7747.el7ost will be installed
---> Package python2-future.noarch 0:0.16.0-4.el7ost.1 will be installed
--> Finished Dependency Resolution
Error: Package: 1:openstack-heat-api-cloudwatch-9.0.3-1.el7ost.noarch (@rhelosp-12.0-puddle)
Requires: openstack-heat-common = 1:9.0.3-1.el7ost
Removing: 1:openstack-heat-common-9.0.3-1.el7ost.noarch (@rhelosp-12.0-puddle)
openstack-heat-common = 1:9.0.3-1.el7ost
Updated By: 1:openstack-heat-common-10.0.0-0.20180211191028.3e51547.el7ost.noarch (rhelosp-13.0-puddle)
openstack-heat-common = 1:10.0.0-0.20180211191028.3e51547.el7ost
Available: 1:openstack-heat-common-7.0.6-1.el7ost.noarch (rhelosp-10.0-puddle)
openstack-heat-common = 1:7.0.6-1.el7ost
Available: 1:openstack-heat-common-8.0.6-1.el7ost.noarch (rhelosp-11.0-puddle)
openstack-heat-common = 1:8.0.6-1.el7ost
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Was there actually a question for the needinfo? Please include what you're asking for when setting needinfo. Thanks
Looking at the error, it appears to be a problem with the OSP 13 heat packaging which is owned by the CloudApps DFG. The build no longer includeds openstack-heat-api-cloudwatch but it was installed on the system. There should be an obsoletes (preferred) or an explicit removal during upgrade.
It would seem that we need a patch very similar to the patch in bug 1549845 for heat.
Could you please point me to the spec where the obsoletes for openstack-heat-api-cloudwatch should be added? I saw all these heat related distgit projects https://github.com/rdo-packages?utf8=%E2%9C%93&q=heat-distgit&type=&language=
I see patches to add the obsoletes for openstack-heat-api-cloudwatch in openstack-heat-common in https://review.rdoproject.org/r/#/c/12121 and https://review.rdoproject.org/r/#/c/12632 .
I'm investigating what's happening here.
Before having the obsoletes we had https://review.rdoproject.org/r/#/c/11777 in master but not in queens-rdo, and the patch with the obsoletes was not included in 10.0.0-0.20180211191028.3e51547 . Build in the latest puddle contains the fix:
$ rpm -q --obsoletes -p openstack-heat-common-10.0.1-0.20180314232329.c2a66b1.el7ost.noarch.rpm
openstack-heat-api-cloudwatch < 1:10.0.0
Created attachment 1423653 [details]
debug info hitting this for OSP13 major upgrade during controller package update
Hi folks, I hit this on my environment, specifically during upgrade of packages on the controller stable/pike to stable/queens (using  fwiw). AFAICS, I am currently on openstack-heat-api-**-10.0.0-0.xxx.el7.centos.noarch and I am being offered 10.0.1 which is the fixed in version, but as you can see from attached am still hitting it. Grateful for any info/thoughts/comments please
I think I'm not seeing anymore because https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/disabled/heat-api-cloudwatch-disabled.yaml#L70-L75 applies removes the package during fast_forward_upgrade_tasks
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.