Bug 1170646 - apache/manifests/version.pp doesn't recognize "Rawhide"
Summary: apache/manifests/version.pp doesn't recognize "Rawhide"
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-puppet-modules
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lukas Bezdicka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-04 14:26 UTC by Richard W.M. Jones
Modified: 2016-07-19 12:28 UTC (History)
7 users (show)

Fixed In Version: openstack-packstack-2014.2-0.17.dev1462.gbb05296.fc22
Clone Of:
Environment:
Last Closed: 2016-07-19 12:28:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2014-12-04 14:26:23 UTC
Description of problem:

On this aarch64 Rawhide machine:

$ facter osfamily
RedHat
$ facter operatingsystem
Fedora
$ facter operatingsystemrelease
Rawhide

In /usr/share/openstack-puppet/modules/apache/manifests/version.pp
it tries to parse operatingsystemrelease as an integer, resulting
in the error:

ERROR : Error appeared during Puppet run: 192.168.122.120_prescript.pp
Error: comparison of String with 18 failed at /var/tmp/packstack/0bba6819ac064df6891d9541b36a5361/modules/apache/manifests/version.pp:15 on node packstack.home.annexia.org

I fixed this by editing .../version.pp directly, to change the
test to:

      if ($::operatingsystem == 'Fedora' and $distrelease == 'Rawhide') or ($::operatingsystem == 'Fedora' and $distrelease >= 18) or ($::operatingsystem != 'Fedora' and $distrelease >= 7) {

Version-Release number of selected component (if applicable):

openstack-packstack-2014.2-0.9.dev1359.g40f3b9d.fc22.noarch
openstack-puppet-modules-2014.2.6-1.fc22.noarch

How reproducible:

Unknown, at least once.

Steps to Reproduce:
1. yum install openstack-packstack
2. packstack --allinone

Comment 2 Jaroslav Reznik 2015-03-03 17:09:12 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 3 Fedora End Of Life 2016-07-19 12:28:33 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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