Re: Regarding WQL indications.

Paul von Behren <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
This is a known bug in Pegasus.  Bugzilla 2653.
http://bugzilla.openpegasus.org/show_bug.cgi?id=2653
This bug celebrated its five year anniversary last week :-(

I believe some SNIA vendors are working around this bug by 
pre-populating IndicationFilter instances in the CIMOM from their 
providers.  Client that try to create inastances of this filter still 
fail, but this is a workaround for CTP. CTP first looks to see whether 
this filter already exists in the CIMOM and only does the CreateInstance 
when it can't find one.  Other vendors have worked around this in other 
ways.

Paul

On 2/8/2010 5:29 AM, Neeta.Sonawane wrote:
>
> Hello ,
>
> I am trying to run CTP for a certain block services profile. The CTP 
> version is 1.3.0.
>
> CTP is subscribes for the WQL indication
>
> "SELECT * FROM CIM_InstModification WHERE SourceInstance ISA 
> CIM_ConcreteJob AND SourceInstance.OperationalStatus = 17 AND 
> SourceInstance.OperationalStatus = 2"
>
> But CTP never receives the indication although the desired task is 
> completed and the indication is dispatched to Pegasus by the.
>
> The Pegasus version used is 2.9.1, it is complied with the SNIA_EXTENSIONS
>
> I have tried to create a filter , listener and subscription for the 
> same WQL indication out of CTP.
>
> I have found that the Pegasus is not able to parse the query itself. 
> Following is the part of the Pegasus log,
>
> 1265107339s-370875us: IndicationService 
> [1244:18446744073709551614:IndicationService.cpp:3848]: Entering 
> method IndicationService::_checkRequiredProperty
>
> 1265107339s-370875us: IndicationService 
> [1244:18446744073709551614:IndicationService.cpp:3931]: Exiting method 
> IndicationService::_checkRequiredProperty
>
> 1265107339s-370875us: IndicationService 
> [1244:18446744073709551614:IndicationService.cpp:4147]: Entering 
> method IndicationService::_checkPropertyWithDefault
>
> 1265107339s-370875us: IndicationService 
> [1244:18446744073709551614:IndicationService.cpp:4211]: Exiting method 
> IndicationService::_checkPropertyWithDefault
>
> 1265107339s-370875us: IndicationService 
> [1244:18446744073709551614:IndicationService.cpp:5130]: Entering 
> method IndicationService::_getQueryExpression
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:105]: Entering method 
> WQLParser::parse
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:55]: Entering method 
> WQLParser::parse
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:148]: Entering method WQLInput
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:174]: Exiting method WQLInput
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:132]: Entering method WQL_error
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:142]: Exiting method WQL_error
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:114]: Entering method 
> WQLParser::cleanup
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:123]: Exiting method 
> WQLParser::cleanup
>
> 1265107339s-370875us: WQL 
> [1244:18446744073709551614:WQLParser.cpp:81]: Exiting method 
> WQLParser::parse
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:417]: Entering method 
> MessageLoader::getMessage
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:418]: Message ID = 
> Common.InternalException.PARSE_ERROR
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:478]: Entering method 
> MessageLoader::openMessageFile
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:507]: Exiting method 
> MessageLoader::openMessageFile
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:439]: Entering method 
> MessageLoader::getMessage2
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:529]: Entering method 
> MessageLoader::formatDefaultMessage
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:540]: Exiting method 
> MessageLoader::formatDefaultMessage
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:472]: Exiting method 
> MessageLoader::getMessage2
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:513]: Entering method 
> MessageLoader::closeMessageFile
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:523]: Exiting method 
> MessageLoader::closeMessageFile
>
> 1265107339s-370875us: L10N 
> [1244:18446744073709551614:MessageLoader.cpp:433]: Exiting method 
> MessageLoader::getMessage
>
> 1265107339s-370875us: IndicationService 
> [1244:18446744073709551614:IndicationService.cpp:5150]: Exiting method 
> IndicationService::_getQueryExpression
>
> I have tried to create a filter , listener and subscription for the 
> another WQL indication ,in which the query was simpler , it did not 
> contain any "." , "::"  etc characters ,
>
> For this case the WQL query parsed successfully but it gave error,
>
> 1265186845s-297625us: DiscardedData 
> [6068:18446744073709551614:CIMxmlIndicationHandler.cpp:353]: 
> CIMxmlIndicationHandler::handleIndication failed to deliver indication 
> due to Exception: Missing CIMExport HTTP header
>
> 1265186845s-297625us: IndicationHandler 
> [6068:18446744073709551614:CIMxmlIndicationHandler.cpp:355]: Exiting 
> method CIMxmlIndicationHandler::handleIndication()
>
> 1265186845s-297625us: IndicationHandler 
> [6068:18446744073709551614:IndicationHandlerService.cpp:363]: Exiting 
> method IndicationHandlerService::__loadHandler()
>
> 1265186845s-297625us: L10N 
> [6068:18446744073709551614:MessageLoader.cpp:417]: Entering method 
> MessageLoader::getMessage
>
> 1
>
> Can somebody please let me know that is there a pacth or fix that 
> needs to be applied in order to get the WQL indications working with 
> the open peagsus.
>
> _____________________________________________________________________
>
> This e-mail message may contain proprietary, confidential or legally 
> privileged information for the sole use of the person or entity to 
> whom this message was originally addressed. Any review, e-transmission 
> dissemination or other use of or taking of any action in reliance upon 
> this information by persons or entities other than the intended 
> recipient is prohibited. If you have received this e-mail in error 
> kindly delete this e-mail from your records. If it appears that this 
> mail has been forwarded to you without proper authority, please notify 
> us immediately at [email protected] and delete this mail.
> _____________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.