You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
The deserialization fails because the value of a fields is None where a string was expected. This is a direct result of the array being offline.
Reproduction
Add an array using a bad IP address
Attempt to retrieve the list of storage-systems
Expected Results
A list containing the storage-systems
Actual Results
File "C:/Users/lorenp/PycharmProjects/santricity-webapi-pythonsdk/samples/volume_provisioning.py", line 29, in
storage_system = system_api.get_storage_system(system_id="1")
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api\v2\storage_systems_api.py", line 1617, in get_storage_system
callback=params.get('callback'))
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 320, in call_api
response_type, auth_settings, callback)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 153, in __call_api
deserialized_data = self.deserialize(response_data, response_type)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 240, in deserialize
return self.__deserialize(data, response_type)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 283, in __deserialize
return self.__deserialize_model(data, klass)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 574, in __deserialize_model
setattr(instance, attr, self.__deserialize(value, attr_type))
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\models\v2\storage_system_response.py", line 1023, in fc_remote_mirroring_state
.format(allowed_values)
ValueError: Invalid value for fc_remote_mirroring_state, must be one of ['unknown', 'disabled', 'enabledLegacyRvm', 'enabledArvm', 'enabledAll', '__UNDEFINED']
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Issue Type
Component Name
/storage-systems
SANtricity OS Version
2.0
NetApp E/EF-Series Model
2600
OS / Environment
Windows/Python 2.6
Summary
The deserialization fails because the value of a fields is None where a string was expected. This is a direct result of the array being offline.
Reproduction
Expected Results
A list containing the storage-systems
Actual Results
File "C:/Users/lorenp/PycharmProjects/santricity-webapi-pythonsdk/samples/volume_provisioning.py", line 29, in
storage_system = system_api.get_storage_system(system_id="1")
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api\v2\storage_systems_api.py", line 1617, in get_storage_system
callback=params.get('callback'))
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 320, in call_api
response_type, auth_settings, callback)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 153, in __call_api
deserialized_data = self.deserialize(response_data, response_type)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 240, in deserialize
return self.__deserialize(data, response_type)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 283, in __deserialize
return self.__deserialize_model(data, klass)
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\api_client.py", line 574, in __deserialize_model
setattr(instance, attr, self.__deserialize(value, attr_type))
File "C:\Users\lorenp\PycharmProjects\santricity-webapi-pythonsdk\netapp\santricity\models\v2\storage_system_response.py", line 1023, in fc_remote_mirroring_state
.format(allowed_values)
ValueError: Invalid value for
fc_remote_mirroring_state
, must be one of ['unknown', 'disabled', 'enabledLegacyRvm', 'enabledArvm', 'enabledAll', '__UNDEFINED']The text was updated successfully, but these errors were encountered: