Bug 1296437

Summary: cimcli xq returns CIM_ERR_NOT_SUPPORTED
Product: Red Hat Enterprise Linux 6 Reporter: AshwiniKumar <ashwini.kumar>
Component: tog-pegasusAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-06 10:28:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
proposed fix none

Description AshwiniKumar 2016-01-07 09:21:12 UTC
Description of problem:
When trying to run execute query on RHEL6.5 with tog-pegasus version 2.12.0, cimcli xq command returns with CIM_ERR_NOT_SUPPORTED. It seems tog-pegasus 2.12.0 rpm package has not been compiled with execute query support.
I tried to run:
cimcli xq "Select * from PG_OperatingSystem" and respose I am getting is CIM_ERR_NOT_SUPPORTED.

Version-Release number of selected component (if applicable):
tog-pegasus 2.12.0

How reproducible:
Always

Steps to Reproduce:
1.Run the command:
cimcli xq "Select * from PG_OperatingSystem"
2.Check the comamnd response.

Actual results:
CIM_ERR_NOT_SUPPORTED

Expected results:
It should enumerate the PG_OperatingSystem provider class.

Additional info:

Comment 2 Vitezslav Crhonek 2016-01-07 12:41:42 UTC
Hello Ashwini,

Thanks for the bug report. You're right, the package is built without query execution support and we should fix that.

(By the way... cimcli is not shipped with tog-pegasus-2.12.0 on RHEL6, right?)

Comment 3 Vitezslav Crhonek 2016-01-07 12:42:59 UTC
Created attachment 1112437 [details]
proposed fix

The patch enables exec query support.

Comment 4 AshwiniKumar 2016-01-08 04:45:08 UTC
(In reply to Vitezslav Crhonek from comment #3)
> Created attachment 1112437 [details]
> proposed fix
> 
> The patch enables exec query support.

Hello Vitezslav,

Yes cimcli is not shipped with tog-pegasus-2.12.0 so i have nuilt myself and using the same.

Also agree that the patch you mentioned above can be used for further development and testing purpose. But can you please tell by what time we can expect this fix in the RHEL6.5 RPM package.

Also I would mention that this same support is missing in RHEL6.6....RIGHT? 

Ashwini

Comment 5 Vitezslav Crhonek 2016-01-11 12:11:43 UTC
(In reply to AshwiniKumar from comment #4)
> 
> But can you please tell by what time we can
> expect this fix in the RHEL6.5 RPM package.

Sorry, I can't - I don't know it. This depends on bugs prioritization and product planning.

> Also I would mention that this same support is missing in RHEL6.6....RIGHT? 

Yes, that's true.

Comment 7 Jan Kurik 2017-12-06 10:28:48 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/