Description of problem: It's not possible to blank entity metadata with an empty string, and trying to do so produces an error. This is causing issues with ccs/ccp since a user could set metadata to an empty string from a non-string value. $ wallaby modify-param --default-val "" invalid argument: --default-val Usage: wallaby modify-param PARAMETER [...] [OPTIONS] -h, --help displays this message --description VALUE Sets the description property of the modified parameter (valid values are strings) --kind VALUE Sets the kind property of the modified parameter (valid values are strings) --needs-restart VALUE Sets the needsRestart property of the modified parameter (valid values are "yes", "no") --default-val VALUE Sets the default_val property of the modified parameter (valid values are strings) --must-change VALUE Sets the must_change property of the modified parameter (valid values are "yes", "no") --level VALUE Sets the level property of the modified parameter (valid values are integers) --annotation VALUE Sets the annotation property of the modified parameter (valid values are strings) Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Corrected repo: wallaby modify-param PAR --default-val ""
Tested with: wallaby-utils-0.16.3-1 Tested on: RHEL6 i386,x86_64 RHEL5 i386,x86_64 # wallaby modify-param PAR --default-val '' --kind '' --annotation '' --description '' Console Connection Established... Modifying the following parameter: PAR with {:kind=>"", :annotation=>"", :default_val=>"", :description=>""} # wallaby show-param PAR Console Connection Established... PAR kind: "" default: "" description: "" must_change: false requires_restart: false visibility_level: 0 depends: [] conflicts: [] annotation: "" >>> verified
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0564.html