Description of problem: Trying to set the CustomFenceAgentDefaultParams via engine-config key fails with an error Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1./engine-config -s CustomFenceAgentDefaultParams=ipmilan:lanplus; 2. 3. Actual results: Cannot set value ipmilan:lanplus to key CustomFenceAgentDefaultParams. The entered key value is invalid. Value should match expression '([\w]+([=][\w]+){0,1}[,]{0,1})+'. Example: agent1=key1=val1,flag;key2=val2 Expected results: Key should be set correctly Additional info: Also some getters fails , for example ./engine-config -g FenceAgentDefaultParams Error fetching FenceAgentDefaultParams value: no such entry. Please verify key name and property file support. Seems a mismatch of the Regexp validator with the defined format
Bug/problem isn't solved. Testing on version: ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos.noarch # engine-config -s CustomFenceAgentDefaultParams=ipmilan:lanplus; Cannot set value ipmilan:lanplus to key CustomFenceAgentDefaultParams. The entered key value is invalid. Value should match expression '([\w]+[:]([\w]*[=][\w]*[,]{0,1}[;]{0,1}){0,3}[;]{0,1})+'. Example: agent1=key1=val1,flag;key2=val2
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
(In reply to David Necpal from comment #1) > Bug/problem isn't solved. > > Testing on version: > ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos.noarch > > > # engine-config -s CustomFenceAgentDefaultParams=ipmilan:lanplus; > Cannot set value ipmilan:lanplus to key CustomFenceAgentDefaultParams. The > entered key value is invalid. Value should match expression > '([\w]+[:]([\w]*[=][\w]*[,]{0,1}[;]{0,1}){0,3}[;]{0,1})+'. Example: > agent1=key1=val1,flag;key2=val2 fence-agents package changed the syntax and now we can not send Boolean keys by their own, we not to use always the format <key>=<value> Please verify using the following syntax : # engine-config -s CustomFenceAgentDefaultParams=ipmilan:lanplus=1;
Verified on version: ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos.noarch
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017. Since the problem described in this bug report should be resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.