dell / PyU4V

PyU4V is a Python module that simplifies interaction with the Unisphere for PowerMax REST API. It wraps REST calls with simple APIs that abstracts the HTTP request and response handling.
Apache License 2.0
41 stars 37 forks source link

get_volume_stats() issue #176

Closed hidden75 closed 9 months ago

hidden75 commented 10 months ago

Version PyU4V Version 10.1.0.1

I've tried all different combinations using this and I always get the same response back. I've tried using volume_range_start and volume_range_end or a storage group. The results are the same.

The response is always

PyU4V.utils.exception.ResourceNotFoundException: The requested resource was not found: Error POST Volume resource. The status code received is 404 and the message is None.

Is there a sample code using this or are there any requirements on the array and/or SMAS server side? Thanks.

sheehp3 commented 10 months ago

Hi,

What version of Unisphere are you using ?

https://pyu4v.readthedocs.io/en/latest/installation.html

Minimum Unisphere Version is 10.1

Phil

hidden75 commented 10 months ago

Hi,

What version of Unisphere are you using ?

https://pyu4v.readthedocs.io/en/latest/installation.html

Minimum Unisphere Version is 10.1

Phil

That may be the issue. Array is at 10.0.1.0 but off array SMAS is at 10.1.0.0.

Thanks Phil.

sheehp3 commented 10 months ago

Here is useful blog by @rawstorage which some useful code samples and what has been added for Unisphere 10.1

https://rawstorage.wordpress.com/2023/10/17/resting-on-our-laurels-whats-new-with-the-powermax-api-and-unisphere-10-1/#more-673

rawstorage commented 9 months ago

Closing issue as it's resolved