← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356429] [NEW] Epoch_map doesn't apply unless anvil is building the package

 

Public bug reported:

If you set an epoch map in anvil for a dependent package.  If anvil
builds the dependent package, the epoch map gets set correctly in the
original nondependent package.  If anvil does not build the dependent
package then the epoch map does not get set correctly.

Actual example:  Ceilometer needs flask >0.10 < 1,  EPEL provides
flask-0.95 with an epoch mask of 1, in order for flask to install
correctly with yum we need to have an epoch map of 1 or 2, we have set
the epoch map to 2.  If Anvil builds both flask and ceilometer then the
epoch map of flask in the requires: section for ceilometer is set to
2:flask>0.10,<1.  If however you rebuild ceilometer and the previous
built version of flask is available to anvil from a repo.  Anvil will
not build flask and the requires section does not get the epoch_map
added to it.  So the requires section in ceilometer will be: requires:
flask>0.10,<1 when it needs to be: 2:flask>0.10,<1.

** Affects: anvil
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to anvil.
https://bugs.launchpad.net/bugs/1356429

Title:
  Epoch_map doesn't apply unless anvil is building the package

Status in ANVIL for forging OpenStack.:
  New

Bug description:
  If you set an epoch map in anvil for a dependent package.  If anvil
  builds the dependent package, the epoch map gets set correctly in the
  original nondependent package.  If anvil does not build the dependent
  package then the epoch map does not get set correctly.

  Actual example:  Ceilometer needs flask >0.10 < 1,  EPEL provides
  flask-0.95 with an epoch mask of 1, in order for flask to install
  correctly with yum we need to have an epoch map of 1 or 2, we have set
  the epoch map to 2.  If Anvil builds both flask and ceilometer then
  the epoch map of flask in the requires: section for ceilometer is set
  to 2:flask>0.10,<1.  If however you rebuild ceilometer and the
  previous built version of flask is available to anvil from a repo.
  Anvil will not build flask and the requires section does not get the
  epoch_map added to it.  So the requires section in ceilometer will be:
  requires: flask>0.10,<1 when it needs to be: 2:flask>0.10,<1.

To manage notifications about this bug go to:
https://bugs.launchpad.net/anvil/+bug/1356429/+subscriptions


Follow ups

References