Bug 879671

Summary: unable to edit parameter using CCS
Product: Red Hat Enterprise MRG Reporter: Lubos Trilety <ltrilety>
Component: wallaby-utilsAssignee: Robert Rati <rrati>
Status: CLOSED CURRENTRELEASE QA Contact: Lubos Trilety <ltrilety>
Severity: high Docs Contact:
Priority: high    
Version: DevelopmentCC: ltoscano, matt, rrati, willb
Target Milestone: 2.3Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: condor-wallaby-tools-5.0.4-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-19 16:37:32 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:
Bug Depends On:    
Bug Blocks: 802510    

Description Lubos Trilety 2012-11-23 16:29:32 UTC
Description of problem:
On RHEL5 when someone tries to edit parameter using condor_configure_store it always ends with fatal error.

$ condor_configure_store -e -p PAR
Console Connection Established...
fatal:  undefined method `count' for ["needs", "restart"]:Array

Let's try existed param for check where bug is:

$ condor_configure_store -e -p STARTD_DEBUG
Console Connection Established...
fatal:  undefined method `count' for ["needs", "restart"]:Array

Let's check if the parameters are present in store:

$  condor_configure_store -l -p STARTD_DEBUG,PAR
Console Connection Established...
STARTD_DEBUG
  kind:  "String"
  default:  ""
  description:  "The debugging output that the startd will produce in its log"
  must_change:  false
  requires_restart:  false
  visibility_level:  0
  depends:  []
  conflicts:  []
  annotation:  ""
PAR
  kind:  "string"
  default:  ""
  description:  ""
  must_change:  false
  requires_restart:  false
  visibility_level:  0
  depends:  []
  conflicts:  []
  annotation:  ""

It works fine on RHEL6.


Version-Release number of selected component (if applicable):
wallaby-utils-0.16.1-2

How reproducible:
100%

Steps to Reproduce:
see above
  
Actual results:
fatal error

Expected results:
no error

Additional info:

Comment 1 Robert Rati 2012-11-27 18:49:59 UTC
The issue was using count instead of length on an array.

Fixed upstream on:
BZ879671-edit-failure

Comment 6 Lubos Trilety 2012-12-10 17:14:31 UTC
Tested with:
condor-wallaby-tools-5.0.4-1

Tested on:
RHEL5 i386,x86_64
RHEL6 i386,x86_64

Parameter and groups can be now edited on all systems.

>>> verified