Skip to content

Instantly share code, notes, and snippets.

2020-01-05 23:21:02 default INFO ember_csi.common [req-ec5e1f88-2666-4b24-80ac-35bd9c8b3db4] => GRPC CreateVolume pvc-03009a27-9458-4631-986e-2a8031a7e897
2020-01-05 23:21:02 default DEBUG ember_csi.common [req-ec5e1f88-2666-4b24-80ac-35bd9c8b3db4] With params:
name: "pvc-03009a27-9458-4631-986e-2a8031a7e897"
capacity_range {
required_bytes: 1073741824
}
volume_capabilities {
mount {
fs_type: "ext4"
}
2019-12-30 07:22:19.453 79626 DEBUG hpelefthandclient.http [req-da35bc8e-06ae-4b4b-ab84-460557fd75a8 - - - - -] RESP:{'status': '200'
'X-API-Version': '1.2'
'Content-Length': '0'
'content-location': u'https://10.10.4.125:8081/lhos/credentials/9b4bea11-1fe4-48aa-8540-f7926c6e053b'
'X_HP-CHRP-Service-Version': '1.0.4'
'Cache-Control': 'no-cache'
'Date': '2019-12-30T12:22:04.790484Z'
'Content-Type': 'application/json'}
_http_log_resp /usr/lib/python2.7/site-packages/hpelefthandclient/http.py:175
2019-12-30 07:22:19.454 79626 DEBUG hpelefthandclient.http [req-da35bc8e-06ae-4b4b-ab84-460557fd75a8 - - - - -] RESP BODY:
>>> import cinderlib as cl
>>> HSA = cl.Backend(hpelefthand_password="password", volume_backend_name="HSA", suppress_requests_ssl_warnings=False, hpelefthand_debug=True, hpelefthand_clustername="persist-storage", volume_driver="cinder.volume.drivers.hpe.hpe_lefthand_iscsi.HPELeftHandISCSIDriver", enable_unsupported_driver=True, hpelefthand_username="cinder", hpelefthand_api_url="https://10.10.4.125:8081/lhos")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/callen/.local/lib/python2.7/site-packages/cinderlib/cinderlib.py", line 90, in __init__
self.driver.init_capabilities()
File "/home/callen/.local/lib/python2.7/site-packages/cinder/volume/driver.py", line 748, in init_capabilities
stats = self.get_volume_stats(True)
File "/home/callen/.local/lib/python2.7/site-packages/cinder/utils.py", line 784, in trace_logging_wrapper
return f(*args, **kwargs)