redhat-openstack / ansible-role-tripleo-image-build

An ansible role used to create and publish quickstart built images
Apache License 2.0
5 stars 3 forks source link

oooq for liberty is currently broken due to drift in delorean-deps. Create status deps repo #20

Open weshayutin opened 8 years ago

weshayutin commented 8 years ago

As one can see from https://ci.centos.org/view/rdo/view/tripleo-periodic/ the liberty jobs have been red since a packaging change w/ python-oslo in delorean-deps caused the undercloud to fail to install.

The delorean repo is versioned w/ a hash, so this is static and not an issue. The delorean-deps repo is provided by centos and is not versioned and can change.

New image building requirement for RDO and TripleO images

While building the image we should.

  1. reposync the delorean-deps repo down to the virtguest that will serve as the base image.
  2. Setup the yum repo file for delorean-deps to serve from file:/// vs. https

    Original

[delorean-mitaka-testing] name=dlrn-mitaka-testing baseurl=http://buildlogs.centos.org/centos/7/cloud/$basearch/openstack-mitaka/ enabled=1 gpgcheck=0 priority=2

Proposed:

[delorean-mitaka-testing] name=dlrn-mitaka-testing baseurl=file:///user/share/deloreand-deps/openstack-mitaka/ enabled=1 gpgcheck=0 priority=2

Obviously change the names based on the release

Helpful links: http://bencane.com/2013/04/15/creating-a-local-yum-repository/ https://access.redhat.com/solutions/23016

Plenty of ways to speed this up, but can discuss them outside of this ticket.

amoralej commented 8 years ago

For tracking purposes, I'd suggest to report the list of packages in the delorean-deps repo using repoquery command and add it to the artifacts saved by the job, similart to:

repoquery --repoid=delorean-mitaka-testing -a --qf '%{sourcerpm}'|sort -u

This will allow to identify easily the builds in CBS included in the repo.

halcyondude commented 8 years ago

this is in progress...

@amoralej that's a good idea, I'll roll it into this work.