Bug 1254957

Summary: Remove deprecated keys from list
Product: Red Hat Enterprise Virtualization Manager Reporter: Andrei Stepanov <astepano>
Component: ovirt-engineAssignee: Moti Asayag <masayag>
Status: CLOSED CURRENTRELEASE QA Contact: Gonza <grafuls>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.0CC: amureini, gklein, lsurette, masayag, mgoldboi, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ovirt-3.6.1   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:11:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrei Stepanov 2015-08-19 10:20:41 UTC
engine-config

Can show all keys:
-a, --all
           Get all available configuration values.

Also, it can show specific key:
-g KEY, --get=KEY
           Get the value of the given key for the given version.


Both of this options should show the same info for the same key.

# engine-config -a | grep MacPoolRanges
MacPoolRanges: 00:1a:4a:42:30:00-00:1a:4a:42:30:ff version: general

# engine-config -g MacPoolRanges
Configuration key MacPoolRanges is deprecated, thus cannot get its value.

There are also other keys, that cannot be read.

It is definitely bad behavior to display different text -a/-g options.

Bug summary: -g & -a should show the same text and be synchronized.


rhevm-tools-3.6.0-0.11.master.el6.noarch

Comment 1 Moti Asayag 2015-09-24 12:18:59 UTC
Confirmed no differences between the engine-config's output by comparing:

engine-config -a | while read LINE
do 
  verb=`echo $LINE | cut -f1 -d:`
  echo $LINE
  engine-config -g $verb
  echo "---------------------"
done

Comment 2 Red Hat Bugzilla Rules Engine 2015-10-20 11:24:41 UTC
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.

Comment 3 Red Hat Bugzilla Rules Engine 2015-10-20 11:27:13 UTC
Fixed bug tickets must have version flags set prior to fixing them. Please set the correct version flags and move the bugs back to the previous status after this is corrected.

Comment 4 Gonza 2015-11-26 08:05:33 UTC
On which version has this been fixed?

Comment 5 Moti Asayag 2015-11-26 09:04:14 UTC
(In reply to Gonza from comment #4)
> On which version has this been fixed?

It was merged to branch ovirt-engine-3.6 and is included on rhev-3.6.0-22

Comment 6 Gonza 2015-11-26 15:08:14 UTC
Verified with:
ovirt-engine-3.6.2-0.0.master.20151124181807.git6d4897e.fc22.noarch

# engine-config -a | grep MacPoolRanges
{no output}
# engine-config -g MacPoolRanges
null