Open numewre opened 3 years ago
This repo is for our legacy product VNXe3200, and it's verified for Ocata and older release. It's not guaranteed that can be run under Ussuri.
Are you using it to manage VNXe3200 storage? You can use unity driver (https://github.com/openstack/cinder/tree/master/cinder/volume/drivers/dell_emc/unity) if you are managing Unity storage.
Hi Murray,
I am using VNXe3200 only. Should I try to use unity driver? or these are only compatible with unity.
and also, i have removed the exception in /openstack/venvs/cinder-21.0.1/lib/python3.6/site-packages/cinder/volume/manager.py and now I can initialize driver but when creating LUN
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager File "/openstack/venvs/cinder-21.0.1/lib/python3.6/site-packages/cinder/volume/drivers/emc/emc_vnxe.py", line 218, in _request
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager err, resp = self._send_request(req)
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager File "/openstack/venvs/cinder-21.0.1/lib/python3.6/site-packages/cinder/volume/drivers/emc/emc_vnxe.py", line 225, in _send_request
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager resp = self.url_opener.open(req)
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager File "/usr/lib64/python3.6/urllib/request.py", line 524, in open
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager req = meth(req)
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager File "/usr/lib64/python3.6/urllib/request.py", line 1248, in do_request_
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager raise TypeError(msg)
2020-10-18 23:02:45.195 3328321 ERROR cinder.volume.manager TypeError: POST data should be bytes, an iterable of bytes, or a file object. It cannot be of type str.
You could try with Unity driver. cannot guarantee it works 100% for VNXe.
The error you paste is caused by different types of string in python2 and python3.
Hi I have tried installing theses drivers with Ussri release: made three changes import http.cookiejar as cookielib import urllib.request as urllib2 from cinder.volume import volume_utils as vol_utils but now i am getting the below error: