openstack对接华为存储

在某个poc实施时要对接华为2200v3存储
1.查看平台是否有驱动
openstack对接华为存储
若是想要最新的驱动能够手动下载 https://github.com/openstack/cinder/tree/master/cinder/volume/drivers
2.查看 openstack是否支持这款型号的存储
openstack对接华为存储html

3.存储工程师划好存储池(切记:主机组,lun组,主机都不要设置)对接完成后cinder会本身配置
咱们能够看一下存储完成后的一些映射关系
a.主机
openstack对接华为存储
b.主机组
openstack对接华为存储
c.映射关系git

openstack对接华为存储
d.存储池(这个咱们在配置的时候会用到)
openstack对接华为存储github

  1. 在/etc/cinder下建立一个华为自定义的驱动配置文件。文件格式是XML。
    openstack对接华为存储
    5.配置cinder.conf文件
    openstack对接华为存储
    openstack对接华为存储
    openstack对接华为存储
    6.重启cinder-volume

7.服务都起来后,在命令行建立锐捷卷类型,并绑定volume_backend_nameide

cinder type-create Huawei_Storage#volumesui

8.cinder type-key卷类型ID set volume_backend_name= Huawei_Storage#volumesurl

查询是否配置成功命令行

9.cinder type-show卷类型ID3d

遇到的问题rest

1.在对接时发现报SSL错误
openstack对接华为存储
解决方法:htm

a. 在华为存储的驱动上去掉SSL认证

vi rest_client.py
openstack对接华为存储
b.添加ca证书
在res = urllib.request.urlopen(req)改成res = urllib.request.urlopen(req,cafile="xxxxxx")
openstack对接华为存储

参考文档

https://docs.openstack.org/mitaka/config-reference/block-storage/drivers/huawei-storage-driver.html

https://github.com/huaweistorage/OpenStack_Driver/blob/master/ReleaseDoc/en/OpenStack%20Cinder%20Driver%20Configuration%20Guide.pdf

相关文章
相关标签/搜索