Hello, I was told by Netapp support that this was the place for my question. I have an issue with some of my read-only volumes sometimes not having space attributes.
for cluster in cluster_list:<br> server = netapp.netapp_login(cluster)<br> request = server.invoke('aggr-get-iter', 'max-records', 10000).child_get('attributes-list')<br> if request is None:<br> print "No aggregate attributes were found for cluster:", cluster<br> continue<br> request = request.children_get()<br> for a in request:<br> aggr_name = a.child_get_string('aggregate-name')<br> space_attrs = a.child_get('aggr-space-attributes')<br> if space_attrs is None:<br> print "No space attributes were found for:", aggr_name, cluster<br> continue<br> size = space_attrs.child_get_string('size-total')<br> used = space_attrs.child_get_string('size-used')
The error messages look like this:
No space attributes for: edadisk002_ro_6a torcfs01 No space attributes for: edagroup_ro_5b torcfs01 No space attributes for: edalicense_ro_5b torcfs01
And they aren't consistent. This script runs every five minutes but I'll get this notification for different volume(s) each time and only a couple times a day (or none at all). Any idea why this could be happening?