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
C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\urllib3\connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.XX.YY.ZZZ'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\client.py", line 449, in getVolumes
response, body = self.http.get('/volumes')
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 352, in get
return self._cs_request(url, 'GET', **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 320, in _cs_request
resp, body = self._time_request(self.api_url + url, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 297, in _time_request
resp, body = self.request(url, method, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 262, in request
raise exceptions.from_response(resp, body)
hpe3parclient.exceptions.HTTPInternalServerError: Internal Server Error (HTTP 500) 1 - internal server error
`
how to fix the issue
The text was updated successfully, but these errors were encountered:
Hi
I have installed python-3parclient ( https://pythonhosted.org/python-3parclient/tutorial.html )
and enabled wssapi
my python code be
`
import json
from hpe3parclient import client, exceptions
USERNAME = 'XXXXXXXXXXX'
PASSWORD = 'YYYYYYYYYYY'
API_URL = 'https://10.XX.YY.ZZZ:8080/api/v1/'
VV_NAME = 'New_5GB_TESTLUN'
NEW_SIZE = '100'
cl = client.HPE3PARClient(API_URL)
cl.setSSHOptions('-oStrictHostKeyChecking=no', '-oUserKnownHostsFile=/dev/null')
cl.login(USERNAME, PASSWORD)
volumes = cl.getVolumes()
Im getting below errors
C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\urllib3\connectionpool.py:1095: InsecureRequestWarning: Unverified HTTPS request is being made to host '10.XX.YY.ZZZ'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#tls-warnings
warnings.warn(
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\client.py", line 449, in getVolumes
response, body = self.http.get('/volumes')
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 352, in get
return self._cs_request(url, 'GET', **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 320, in _cs_request
resp, body = self._time_request(self.api_url + url, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 297, in _time_request
resp, body = self.request(url, method, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\hpe3parclient\http.py", line 262, in request
raise exceptions.from_response(resp, body)
hpe3parclient.exceptions.HTTPInternalServerError: Internal Server Error (HTTP 500) 1 - internal server error
`
how to fix the issue
The text was updated successfully, but these errors were encountered: