Bug 1015975

Summary: RHEVM-CLI: incorrect property to python built-in symbol encapsulation
Product: Red Hat Enterprise Virtualization Manager Reporter: Michael Pasternak <mpastern>
Component: ovirt-engine-cliAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 3.3.0CC: acathrow, bazulay, cmestreg, iheim, iliam, oramraz, Rhev-m-bugs, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:18:06 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 Michael Pasternak 2013-10-07 07:45:57 UTC
Description of problem:

bug
===

[oVirt shell (connected)]# add role --name MyRole --permits-permit "permit.id=1300"

error: "id_" is invalid segment at option "--permit.id=1300".

cause:
=====

fixing bug 1005751, - 'id' should not be suffixed with '_' despite it python
built-in symbol.


resolution: 
==========

before appending '_' suffix to properties that match python built-in symbols,
check if such property exist in object.

Comment 2 Michael Pasternak 2013-10-08 13:10:47 UTC
*** Bug 1016632 has been marked as a duplicate of this bug. ***

Comment 3 Michael Pasternak 2013-10-14 11:34:57 UTC
*** Bug 1015447 has been marked as a duplicate of this bug. ***

Comment 4 Ilia Meerovich 2013-10-16 08:53:08 UTC
Verified with IS18

Comment 7 Itamar Heim 2014-01-21 22:18:06 UTC
Closing - RHEV 3.3 Released

Comment 8 Itamar Heim 2014-01-21 22:24:30 UTC
Closing - RHEV 3.3 Released