Bug 1080157 - Do not use empty string as values for properties in rhq-storage.properties
Summary: Do not use empty string as values for properties in rhq-storage.properties
Status: ON_QA
Alias: None
Product: RHQ Project
Classification: Other
Component: Installer, Storage Node
Version: 4.10
Hardware: Unspecified
OS: Unspecified
high vote
Target Milestone: ---
: RHQ 4.13
Assignee: Michael Burman
QA Contact: Mike Foley
Depends On:
Blocks: 1080158
TreeView+ depends on / blocked
Reported: 2014-03-24 19:11 UTC by John Sanda
Modified: 2014-07-13 20:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1080158 (view as bug list)
Last Closed:

Attachments (Terms of Use)

Description John Sanda 2014-03-24 19:11:21 UTC
Description of problem:
If the rhq.storage.hostname or rhq.storage.seeds properties are uncommented and left uninitialized with empty strings, the storage installer creates an invalid configuration. The listen_address and seeds properties in cassandra.yaml are left blank. The empty seeds property will cause the storage node startup to fail. The installer needs to fall back to default values if an empty string is used. This applies to all properties in rhq-storage.properties.

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

How reproducible:

Steps to Reproduce:

Actual results:

Expected results:

Additional info:

Comment 1 Heiko W. Rupp 2014-05-08 14:42:38 UTC
Bump the target version now that 4.11 is out.

Comment 2 Michael Burman 2014-07-13 20:16:58 UTC
commit e4fd26bf70c3fe9be9b6efc79855e140850b20b5
Author: Michael Burman <miburman@redhat.com>
Date:   Sun Jul 13 23:15:03 2014 +0300

    [BZ 1080157] Ignore empty values in rhq-storage.properties

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