upgrades CI broken due to package dependencies

Bug #1666544 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Unassigned

Bug Description

Recent jobs are failing like:

Feb 20 23:14:45 centos-7-2-node-osic-cloud1-s3700-7394067-435015 os-collect-config: 3235436.5f7aada.el7.centos will be installed\n---> Package puppet-ec2api.noarch 0:10.3.0-0.20170208142235.f388708.el7.centos will be installed\n---> Package puppet-ipaclient.noarch 0:2.5.1-0.20161223093202.052dd07.el7.centos will be installed\n---> Package puppet-panko.noarch 0:10.3.0-0.20170219004211.e9922a8.el7.centos will be installed\n---> Package puppet-systemd.noarch 0:0.4.0-0.20170117092318.a032136.el7.centos will be installed\n---> Package puppet-tacker.noarch 0:10.3.0-0.20170209101003.036c4b7.el7.centos will be installed\n---> Package python-pyngus.noarch 0:2.0.3-3.el7 will be installed\n--> Processing Dependency: qpid-proton-c >= 0.13.0 for package: python-pyngus-2.0.3-3.el7.noarch\n--> Processing Dependency: python-qpid-proton >= 0.13.0 for package: python-pyngus-2.0.3-3.el7.noarch\n---> Package python2-murano-pkg-check.noarch 0:0.3.0-2.el7 will be installed\n---> Package python2-pyroute2.noarch 0:0.4.8-1.el7 will be installed\n---> Package python2-statsd.noarch 0:3.2.1-5.el7 will be installed\n---> Package python2-tenacity.noarch 0:3.2.1-1.el7 will be installed\n---> Package python2-weakrefmethod.noarch 0:1.0.2-3.el7 will be installed\n---> Package xstatic-angular-bootstrap-common.noarch 0:2.2.0.0-1.el7 will be installed\n---> Package xstatic-angular-gettext-common.noarch 0:2.3.8.0-1.el7 will be installed\n---> Package xstatic-d3-common.noarch 0:3.5.17.0-1.el7 will be installed\n---> Package xstatic-jsencrypt-common.noarch 0:2.3.1.1-1.el7 will be installed\n--> Running transaction check\n---> Package openstack-heat-agents.noarch 0:1.0.0-1.el7 will be obsoleting\n--> Processing Dependency: python-heat-agent-puppet = 1.0.0-1.el7 for package: openstack-heat-agents-1.0.0-1.el7.noarch\n--> Processing Dependency: python-heat-agent-hiera = 1.0.0-1.el7 for package: openstack-heat-agents-1.0.0-1.el7.noarch\n--> Processing Dependency: python-heat-agent-docker-cmd = 1.0.0-1.el7 for package: openstack-heat-agents-1.0.0-1.el7.noarch\n--> Processing Dependency: python-heat-agent-apply-config = 1.0.0-1.el7 for packa
Feb 20 23:14:45 centos-7-2-node-osic-cloud1-s3700-7394067-435015 os-collect-config: ge: openstack-heat-agents-1.0.0-1.el7.noarch\n--> Processing Dependency: python-heat-agent-ansible = 1.0.0-1.el7 for package: openstack-heat-agents-1.0.0-1.el7.noarch\n--> Processing Dependency: python-heat-agent = 1.0.0-1.el7 for package: openstack-heat-agents-1.0.0-1.el7.noarch\n---> Package python-qpid-proton.x86_64 0:0.14.0-2.el7 will be installed\n---> Package qpid-proton-c.x86_64 0:0.14.0-2.el7 will be installed\n--> Finished Dependency Resolution\n You could try using --skip-broken to work around the problem\n You could try running: rpm -Va --nofiles --nodigest\n"]}

Tags: ci
Steven Hardy (shardy)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
milestone: none → pike-1
tags: added: alert ci
Changed in tripleo:
milestone: pike-1 → ocata-rc2
Steven Hardy (shardy)
tags: removed: alert
tags: added: alert
Revision history for this message
Alfredo Moralejo (amoralej) wrote :

The problem is:

- last current-tripleo has packages openstack-heat-templates and python-heat-agents 0.0.1.
- ocata-testing contains openstack-heat-agents-1.0.0 which obsoletes openstack-heat-templates. This package is in ocata-testing as part of the stable builds for ocata GA.
- delorean repo has higher priority that delorean-deps

When tripleo-ci tries to upgrade packages it fetch openstack-heat-agents because it's not present in delorean repo (because there has not been current-tripleo promotion after the switch between heat-templates to heat-agents because of other unrelated issues). But it can't resolve requirements for openstack-heat-agents in delorean-deps as they are overriden by the repo priority.

I see some ways to get this fixed:

- Getting a new current-tripleo promotion.
- Removing priority statement for delorean repo. I'm not sure if that'll break other things.
- Excluding openstack-heat-agents from delorean-deps. Note we can't do this in repo configuration because we are testing stable builds from ocata-testing repo. It would need to be done locally in the repo_setup in tripleo-ci.

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

https://review.openstack.org/#/c/436527/ should help to workaround this issue until we get new promotion. Job is passing gate-tripleo-ci-centos-7-undercloud-upgrades-nv.

Revision history for this message
Emilien Macchi (emilienm) wrote :

closing it, we got a new promotion.

Changed in tripleo:
status: Triaged → Fix Released
tags: removed: alert
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.