Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1549849 - OSP10->11->12->13 overcloud controller rpm package update fails due to openstack-heat-api-cloudwatch package conflict
OSP10->11->12->13 overcloud controller rpm package update fails due to openst...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-heat (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
urgent Severity urgent
: beta
: 13.0 (Queens)
Assigned To: Zane Bitter
Ronnie Rasouli
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-27 16:34 EST by Marius Cornea
Modified: 2018-06-27 09:47 EDT (History)
15 users (show)

See Also:
Fixed In Version: openstack-heat-10.0.1-0.20180314232330.c2a66b1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:46:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
debug info hitting this for OSP13 major upgrade during controller package update (74.14 KB, text/plain)
2018-04-18 12:04 EDT, Marios Andreou
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
RDO 12121 None rpm-master: MERGED openstack/heat-distgit: Remove temporary openstack-heat-api-cloudwatch package (I971d38c20c5f90cc08c616ec096d4c1afd393c3... 2018-04-04 08:41 EDT
RDO 12632 None queens-rdo: MERGED openstack/heat-distgit: Remove temporary openstack-heat-api-cloudwatch package (I971d38c20c5f90cc08c616ec096d4c1afd393c3... 2018-04-04 08:41 EDT
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:47 EDT

  None (edit)
Description Marius Cornea 2018-02-27 16:34:34 EST
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
[root@controller-0 heat-admin]#
Comment 2 Mike Burns 2018-03-19 08:08:40 EDT
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.
Comment 3 Mike Burns 2018-03-19 08:12:26 EDT
It would seem that we need a patch very similar to the patch in bug 1549845 for heat.
Comment 4 Jose Luis Franco 2018-03-28 10:02:07 EDT
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=
Comment 5 Alfredo Moralejo 2018-04-02 14:52:38 EDT
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.
Comment 6 Alfredo Moralejo 2018-04-02 14:58:44 EDT
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
Comment 8 Marios Andreou 2018-04-18 12:04 EDT
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 [1] 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 

thank you,

marios

[1] https://review.openstack.org/#/c/535859/25/doc/source/install/post_deployment/upgrade.rst
Comment 10 Marius Cornea 2018-04-18 12:23:46 EDT
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
Comment 14 errata-xmlrpc 2018-06-27 09:46:41 EDT
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.

https://access.redhat.com/errata/RHEA-2018:2086

Note You need to log in before you can comment on or make changes to this bug.