Active IQ Unified Manager Discussions
Active IQ Unified Manager Discussions
Hello,
I've run into an error in DFM/OC Core that although is rare, causes some pain when it does occur. We are making API calls to OnCommand run a custom report and most times it works without issue. However, we are occasionally seeing this error from OnCommand:
Jul 17 02:16:32 [Unknown:NOTIC]: root:API:err:[127.0.0.1]::Error in fetching the output format
The API call we make is to run this command:
dfm report save -R vfilerseczone -K 981_421_2012_7_17_2_16_31 -F csv -U root -o 0 -P 1m -I 981 -n vfilerseczone -T 421
Based on this it appears that OnCommand is having some sort of issue with the csv format of this report. There's really nothing more to go on and I'm not able to reproduce the error on demand, it just happens sometimes. I've seen no problems with the report via the cli or web gui and only this rare occurence via API call.
Anyone ever seen this before or know where else I should look? I've already tried NetApp support but was told they can't help because we're making the API call from our own in-house tool. Thanks!
-Dave
Hi Dave -
dcornely1 wrote:
The API call we make is to run this command:
dfm report save -R vfilerseczone -K 981_421_2012_7_17_2_16_31 -F csv -U root -o 0 -P 1m -I 981 -n vfilerseczone -T 421
I don't understand, because what you call an "API call" looks like an DFM CLI command.
- Rick -
Thanks for the quick reply Rick! I'll reconfirm with the storage service person that this is coming in via API call and update here.
Rick,
Finally got the details - this is the result of the report-output-read API call to DFM via our Ruby coded storage service. Here's the entire chunk of errors from DFM:
Jul 17 02:16:32 [Unknown:NOTIC]: root:API:in:[127.0.0.1]::<report-output-read> <length>1000000</length> <offset>0</offset> <report-output-id>421</report-output-id> </report-output-read>
Jul 17 02:16:32 [Unknown:NOTIC]: root:API:err:[127.0.0.1]::Error in fetching the output format
Jul 17 02:16:32 [dfm:NOTIC]: root:CMD:in:[127.0.0.1]:dfm report save -R vfilerseczone -K 981_421_2012_7_17_2_16_31 -F csv -U root -o 0 -P 1m -I 981 -n vfilerseczone -T 421:
Again, this is a rare occurrence but I'd like to understand why we get this failure sometimes. Thanks.
Dave -
What version of OnCommand are you using. I was not able to find the error.
I have used this API, but in my usage, I only fetched 500,000 bytes at a time, not 1,000,000 bytes. I would lower the fetch size and see what happens.
Once the OnCommand version is identified, I'm hoping to find the error output.
Regards,
- Rick -
This is OC v5.0
I will look into reducing the fetch size and see if that eliminates the error. Thanks Rick!