Bug 1175450

Summary: packstack fails to start Nova on Rawhide: Error: comparison of String with 18 failed at [...]ceilometer/manifests/params.pp:32
Product: [Community] RDO Reporter: Richard W.M. Jones <rjones>
Component: openstack-packstackAssignee: Martin Magr <mmagr>
Status: CLOSED EOL QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: aortega, derekh, lbezdick, srevivo
Target Milestone: ---   
Target Release: Juno   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-19 16:03:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard W.M. Jones 2014-12-17 18:41:50 UTC
Description of problem:

Similar to bug 1170646, on this machine:

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

and so the comparison in
/usr/share/openstack-puppet/modules/ceilometer/manifests/params.pp
fails.

I fixed this by changing the line to:

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


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

openstack-puppet-modules-2014.2.7-3.fc22.noarch

How reproducible:

100%

Steps to Reproduce:
1. packstack --allinone

Comment 1 Richard W.M. Jones 2014-12-17 18:48:31 UTC
(In reply to Richard W.M. Jones from comment #0)
> I fixed this by changing the line to:
> 
>       if ($::operatingsystem == 'Fedora' and $distrelease == 'Rawhide') or
> ($::\
> operatingsystem == 'Fedora' and $::operatingsystemrelease >= 18) {

Ooops, no I didn't.

Offending line should be changed to:

      if ($::operatingsystem == 'Fedora' and $::operatingsystemrelease == 'Rawhide') or ($::operatingsystem == 'Fedora' and $::operatingsystemrelease >= 18) {

Comment 3 Mike McCune 2016-03-28 23:08:19 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Chandan Kumar 2016-05-19 16:03:37 UTC
This bug is against a Version which has reached End of Life.
If it's still present in supported release (http://releases.openstack.org), please update Version and reopen.