← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350752] [NEW] fix version used to conditionally include nova-clear-rabbit-queues

 

Public bug reported:

In Juno release the nova-clear-rabbit-queues command is removed.  There
was a commit to anvil on June 5 which makes the installation of this
command conditional on nova package version $older_than_eq('2014.1').
Unfortunately, on June 23 a commit was made to nova to bump the version
of stable/icehouse to 2014.1.2 [2].  As a result, anvil builds from
stable/icehouse will fail with ' Installed (but unpackaged) file(s)
found:' errors (pasted below).  Since it is possible for stable/icehouse
versions to be incremented in future, I suggest that the comparison be
changed to  $older_than_eq('2014.1.99999') to capture any reasonable
number of versions of stable/icehouse which may come in the future
without having to change this code each time.  I will submit a patch for
this.

Installing /home/mmorais/openstack/repo/anvil-source/openstack-nova-2014.1.2.dev39.gb000ec6-1.el6.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.44VPTB
...
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/mmorais/openstack/deps/rpmbuild/openstack-nova-2014.1.2.dev39.gb000ec6-1.el6.src.rpm/BUILDROOT/openstack-nova-2014.1.2.dev39.gb000ec6-1.el6.x86_64
error: Installed (but unpackaged) file(s) found:
   /usr/bin/nova-clear-rabbit-queues


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/bin/nova-clear-rabbit-queues


[1] https://github.com/stackforge/anvil/commit/51f52c5216e194bf9eea6d379593ada845648b81#diff-e29e80b228bc254ad31d83987bcc3016

[2] https://github.com/openstack/nova/blob/stable/icehouse/setup.cfg#L3

** Affects: anvil
     Importance: Undecided
     Assignee: Marco Morais (mmorais)
         Status: New

** Changed in: anvil
     Assignee: (unassigned) => Marco Morais (mmorais)

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

Title:
  fix version used to conditionally include nova-clear-rabbit-queues

Status in ANVIL for forging OpenStack.:
  New

Bug description:
  In Juno release the nova-clear-rabbit-queues command is removed.
  There was a commit to anvil on June 5 which makes the installation of
  this command conditional on nova package version
  $older_than_eq('2014.1').   Unfortunately, on June 23 a commit was
  made to nova to bump the version of stable/icehouse to 2014.1.2 [2].
  As a result, anvil builds from stable/icehouse will fail with '
  Installed (but unpackaged) file(s) found:' errors (pasted below).
  Since it is possible for stable/icehouse versions to be incremented in
  future, I suggest that the comparison be changed to
  $older_than_eq('2014.1.99999') to capture any reasonable number of
  versions of stable/icehouse which may come in the future without
  having to change this code each time.  I will submit a patch for this.

  Installing /home/mmorais/openstack/repo/anvil-source/openstack-nova-2014.1.2.dev39.gb000ec6-1.el6.src.rpm
  Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.44VPTB
  ...
  Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/mmorais/openstack/deps/rpmbuild/openstack-nova-2014.1.2.dev39.gb000ec6-1.el6.src.rpm/BUILDROOT/openstack-nova-2014.1.2.dev39.gb000ec6-1.el6.x86_64
  error: Installed (but unpackaged) file(s) found:
     /usr/bin/nova-clear-rabbit-queues

  
  RPM build errors:
      Installed (but unpackaged) file(s) found:
     /usr/bin/nova-clear-rabbit-queues

  
  [1] https://github.com/stackforge/anvil/commit/51f52c5216e194bf9eea6d379593ada845648b81#diff-e29e80b228bc254ad31d83987bcc3016

  [2]
  https://github.com/openstack/nova/blob/stable/icehouse/setup.cfg#L3

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


Follow ups

References