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
Thank you for your endeavor for PyU4V.
To monitor PowerMAX, VMAX performance, I would like to use PyU4V.
Even though I followd guide of "https://pyu4v.readthedocs.io/en/latest/quick_start.html", but failed.
May I have your advice to fix this situation ?
Thank you.
b.rgds
//
// Summary
//
Network connection & username, password: OK
Installation of PyU4V: OK
Creating conf file: OK
Initialising the connection with Unisphere use: Failed
With below msg
"PyU4V.utils.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error GET None. The status code received is 500 and the message is {'message': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}."
//
// Detail
//
network connectivity
$ping -c 1 10.65.224.185
PING 10.65.224.185 (10.65.224.185) 56(84) bytes of data.
64 bytes from 10.65.224.185: icmp_seq=1 ttl=125 time=99.0 ms
--- 10.65.224.185 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 98.981/98.981/98.981/0.000 ms
port 8443 connection
$telnet 10.65.224.185 8443
Trying 10.65.224.185...
Connected to 10.65.224.185.
Escape character is '^]'.
adding the cert to a CA certificate bundle
$ sudo cp unisphere90.pem /usr/share/ca-certificates/unisphere90.crt
$ sudo dpkg-reconfigure ca-certificates
SETUP
$ cat PyU4V.conf
[setup]
username=monitor
password=******** (intentionally changed for security)
server_ip=10.65.224.185
port=8443
array=00029780**** (intentionally changed for security)
verify=True
$ pip show PyU4V
Name: PyU4V
Version: 10.1.0.0
Summary: A Python library for use with Dell EMC's Unisphere for PowerMax REST API.
Home-page: https://github.com/dell/PyU4V/
Author: Dell Inc. or its subsidiaries
Author-email: helen.walsh@dell.com
License: Apache 2.0
Location: /home/sjsong/.local/lib/python3.8/site-packages
Requires: six, requests, sphinx-rtd-theme, prettytable, urllib3
Required-by:
$
$ python3 -V
Python 3.8.10
$
$ python3
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
import PyU4V
conn = PyU4V.U4VConn()
Traceback (most recent call last):
File "", line 1, in
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/univmax_conn.py", line 124, in init
self.validate_unisphere()
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/univmax_conn.py", line 187, in validate_unisphere
uni_ver, major_ver = self.common.get_uni_version()
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 523, in get_uni_version
response = self.get_resource(category=VERSION, no_version=True)
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 339, in get_resource
return self.get_request(
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 313, in get_request
self.check_status_code_success(operation, sc, message)
File "/mnt/c/Users/seckjun.song/UBUNTU/EMC/PyU4V/PyU4V/common.py", line 180, in check_status_code_success
raise exception.VolumeBackendAPIException(
PyU4V.utils.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error GET None. The status code received is 500 and the message is {'message': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}.
The text was updated successfully, but these errors were encountered:
Thank you for your comment.
With you comment, I just checked the version.
"Unisphere for PowerMax
Version Number: V9.0.2.19"
I will update Unisphere for PowerMax version to the latest version.
(downloading "UNIVMAX_10.1.0.1_RELEASE_WINDOWS_X86_64.exe" file from Dell)
and then back here with the result.
Thanks, the error message should have been clearer, if you are upgrading Unisphere you will first need to upgrade solutions enabler as your upgrade will fail otherwise.
Hello,
Thank you for your endeavor for PyU4V.
To monitor PowerMAX, VMAX performance, I would like to use PyU4V.
Even though I followd guide of "https://pyu4v.readthedocs.io/en/latest/quick_start.html", but failed.
May I have your advice to fix this situation ?
Thank you.
b.rgds
//
// Summary
//
With below msg
"PyU4V.utils.exception.VolumeBackendAPIException: Bad or unexpected response from the storage volume backend API: Error GET None. The status code received is 500 and the message is {'message': 'The server encountered an unexpected condition which prevented it from fulfilling the request'}."
//
// Detail
//
$ping -c 1 10.65.224.185
PING 10.65.224.185 (10.65.224.185) 56(84) bytes of data.
64 bytes from 10.65.224.185: icmp_seq=1 ttl=125 time=99.0 ms
--- 10.65.224.185 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 98.981/98.981/98.981/0.000 ms
port 8443 connection
$telnet 10.65.224.185 8443
Trying 10.65.224.185...
Connected to 10.65.224.185.
Escape character is '^]'.
SSL Certificate
$ openssl s_client -showcerts -connect 10.65.224.185:8443 </dev/null 2>/dev/null|openssl x509 -outform PEM > unisphere90.pem
adding the cert to a CA certificate bundle
$ sudo cp unisphere90.pem /usr/share/ca-certificates/unisphere90.crt
$ sudo dpkg-reconfigure ca-certificates
$ cat PyU4V.conf
[setup]
username=monitor
password=******** (intentionally changed for security)
server_ip=10.65.224.185
port=8443
array=00029780**** (intentionally changed for security)
verify=True
$ pip show PyU4V
Name: PyU4V
Version: 10.1.0.0
Summary: A Python library for use with Dell EMC's Unisphere for PowerMax REST API.
Home-page: https://github.com/dell/PyU4V/
Author: Dell Inc. or its subsidiaries
Author-email: helen.walsh@dell.com
License: Apache 2.0
Location: /home/sjsong/.local/lib/python3.8/site-packages
Requires: six, requests, sphinx-rtd-theme, prettytable, urllib3
Required-by:
$
$ python3 -V
Python 3.8.10
$
$ python3
Python 3.8.10 (default, May 26 2023, 14:05:08)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
The text was updated successfully, but these errors were encountered: