Bug 879671 - unable to edit parameter using CCS
Summary: unable to edit parameter using CCS
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby-utils
Version: Development
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 2.3
: ---
Assignee: Robert Rati
QA Contact: Lubos Trilety
URL:
Whiteboard:
Depends On:
Blocks: 802510
TreeView+ depends on / blocked
 
Reported: 2012-11-23 16:29 UTC by Lubos Trilety
Modified: 2013-03-19 16:37 UTC (History)
4 users (show)

Fixed In Version: condor-wallaby-tools-5.0.4-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-19 16:37:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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