Description of problem: show event -id does not accept string instead of numeric value ( see additional information ) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: [RHEVM shell (connected)]# show event --id 1534 unknown error: cannot concatenate 'str' and 'int' objects [RHEVM shell (connected)]# show event --id "1534" id : 1534 description: User admin@internal logged in. code : 30 severity : normal time : 2012-12-13T09:27:03.784+02:00 user-id : fdfc627c-d875-11e0-90f0-83df133b58cc
i would not call this a bug, see help for this command [1], id should be of string type, but we can implement auto-boxing to strings. [1] [oVirt shell (connected)]# help show event USAGE - show <type> - show <type> <id> [object identifiers] DESCRIPTION Shows an object by type 'event'. See 'help show' for generic help on showing objects. ATTRIBUTE OPTIONS The following options are available for objects with type 'event': * [--id :string] * [--name: string]
[RHEVM shell (connected)]# show event --id 60 id : 60 description : New Tag foo was created by admin@internal. code : 432 correlation_id: 3e4d4350 custom_id : -1 flood_rate : 30 origin : oVirt severity : normal time : 2013-07-03 10:57:43.257000+03:00 user-id : fdfc627c-d875-11e0-90f0-83df133b58cc [RHEVM shell (connected)]# show event --id '60' id : 60 description : New Tag foo was created by admin@internal. code : 432 correlation_id: 3e4d4350 custom_id : -1 flood_rate : 30 origin : oVirt severity : normal time : 2013-07-03 10:57:43.257000+03:00 user-id : fdfc627c-d875-11e0-90f0-83df133b58cc
Closing - RHEV 3.3 Released