[sahara-image-elements] integer expression expected error

Bug #1436803 reported by Denis Egorenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Medium
Denis Egorenko

Bug Description

During building image for Vanilla 1 with CentOS occured some error:

/tmp/in_target.d/post-install.d/40-setup-hadoop: line 56: [: 6.6: integer expression expected

It's because here:
https://github.com/openstack/sahara-image-elements/blob/master/elements/hadoop/post-install.d/40-setup-hadoop#L56
expected integer value

Tags: sahara sim
Changed in sahara:
status: New → Confirmed
assignee: nobody → Denis Egorenko (degorenko)
status: Confirmed → In Progress
Changed in sahara:
importance: Undecided → Medium
milestone: none → kilo-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara-image-elements (master)

Fix proposed to branch: master
Review: https://review.openstack.org/168096

summary: - [saharaimage-elements] integer expression expected error
+ [sahara-image-elements] integer expression expected error
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara-image-elements (master)

Reviewed: https://review.openstack.org/168096
Committed: https://git.openstack.org/cgit/openstack/sahara-image-elements/commit/?id=207f45d7550ced9d0d6500365f8c35e052f748e8
Submitter: Jenkins
Branch: master

commit 207f45d7550ced9d0d6500365f8c35e052f748e8
Author: Denis Egorenko <email address hidden>
Date: Fri Mar 27 13:39:27 2015 +0400

    Fix check distro version for hadoop setup

    It fails because now condition contains integer value,
    but for CentOS or RHEL 'lsb_release -rs' gets version
    with floating point.
    The simple way to avoid this situation is adding check for
    fedora distro.

    Change-Id: Ie7035a824ea552487c296b234a4cc798995e42d5
    Closes-bug: #1436803

Changed in sahara:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: kilo-rc1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.