
UNSOLVED
VNX - File XML API - Issue with EventQueryParams
Hello
I am trying to pull all Events on a VNX using the XML API. I get data for all other queries, except for the EventQueryParams. My request is as follows
http://www.emc.com/schemas/celerra/xml_api " apiVersion="V1_2">
The response I get is as follows
http://www.emc.com/schemas/celerra/xml_api ">
The user request is not compliant with the XML API Schema.
Refer to the XML API v2 schema/documentation and correct your user program logic.
Exception tag: 14a29403083
Exception message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'EventQueryParams'. One of '{"http://www.emc.com/schemas/celerra/xml_api":FileSystemQueryParams, "http://www.emc.com/schemas/celerra/xml_api":CheckpointQueryParams, "http://www.emc.com/schemas/celerra/xml_api":TreeQuotaQueryParams, "http://www.emc.com/schemas/celerra/xml_api":UserQuotaQueryParams, "http://www.emc.com/schemas/celerra/xml_api":VolumeQueryParams, "http://www.emc.com/schemas/celerra/xml_api":VolumeIntegrityCheck, "http://www.emc.com/schemas/celerra/xml_api":StoragePoolQueryParams, "http://www.emc.com/schemas/celerra/xml_api":MoverQueryParams, "http://www.emc.com/schemas/celerra/xml_api":VdmQueryParams, "http://www.emc.com/schemas/celerra/xml_api":CifsConfigQueryParams, "http://www.emc.com/schemas/celerra/xml_api":CifsShareQueryParams, "http://www.emc.com/schemas/celerra/xml_api":CifsServerQueryParams, "http://www.emc.com/schemas/celerra/xml_api":NfsExportQueryParams, "http://www.emc.com/schemas/celerra/xml_api":MountQueryParams, "http://www.emc.com/schemas/celerra/xml_api":CelerraSystemQueryParams, "http://www.emc.com/schemas/celerra/xml_api":ControlStationQueryParams, "http://www.emc.com/schemas/celerra/xml_api":StorageSystemQueryParams, "http://www.emc.com/schemas/celerra/xml_api":MoverHostQueryParams, "http://www.emc.com/schemas/celerra/xml_api":TaskQueryParams}' is expected.
Can any help me out here. Not sure what is wrong with my request. Is there any service I need to start or any other configuration change needed to support this?
My lead in this direction is much appreciated.
Thanks
Roycey
Responses (7)
Solutions (0)
Rainer_EMC
6 Operator
•
8645 Posts
604
0
Posted December 16th, 2014 14:00
output from a lab system:
[root@VNX]# cat request/queryEvents.xml
xmlns="http://www.emc.com/schemas/celerra/xml_api" apiVersion="V1_2">
[root@VNX]# ./get queryEvents
========== Celerra Response ==========
statusCode=200 statusString=OK
http://www.emc.com/schemas/celerra/xml_api" apiVersion="V1_2">
Reply Rainer_EMC
6 Operator
•
8645 Posts
604
1
Posted December 16th, 2014 14:00
Hi Roycey
I had someone try the same query on a lab system and it worked fine.
Either the problem is some config on your system or are you maybe your requests contains some un-printable character(s).
Please open a service request so that this can be investigated by EMC Support.
Rainer
Reply Thanks Rainer. I did try it on another device and I could get the data. I will follow-up with EMC support on the problem device.
So I had another question regarding the EventQueryParams. Is it possible for me to retrieve all events with severity Warning and higher in a single request? When I pass the Severity="warning" it gives me just the warning events. So is there any other syntax for this query.
Roycey
Reply Rainer_EMC
6 Operator
•
8645 Posts
604
0
Posted December 17th, 2014 06:00
If its not documented in the schema definition then no
Reply

Rainer_EMC
6 Operator
•
8645 Posts
604
0
Posted December 16th, 2014 02:00
Which VNX OE version are you using ?
See nas_version –l or server_version