1.参考 http://www.chenshake.com/openstack-folsom-install-guide-vlan-mode/#Cinder
可能个人原因,无法使用其上的cinder功能。感觉cinder部分 没有配置完整(cinder服务器端没配置,客户端computer没安装open-iscsi),测试cinder 卷无法 attach到vm
其controller 段使用iscsitarget、iscsitarget-dkms配置iscsi服务端,
改成使用tgt配置
参照:http://docs.openstack.org/trunk/openstack-compute/install/apt/content/osfolubuntu-cinder.html
修改如下
1.安装tgt (改用tgt部署iscsiserver)
tgt 配置
1)/etc/tgt/targets.conf (参照https://bugs.launchpad.net/cinder/+bug/1057904)
include /etc/tgt/conf.d/cinder.conf
include /etc/tgt/conf.d/cinder_tgt.conf
include /etc/tgt/conf.d/nova_tgt.conf
2)/etc/tgt/conf.d/cinder.conf /etc/tgt/conf.d/cinder_tgt.conf /etc/tgt/conf.d/nova_tgt.conf 内容一样
include /var/lib/cinder/volumes/*
2./etc/cinder/
volumes_dir = /var/lib/cinder/volumes/(添加)
iscsi_helper = tgtadm (修改)
verbose = 1 (打开debug模式)
3. /etc/nova/nova.conf (参考 http://www.openstack.org.cn/blog/blog.php?do=showone&type=blog&itemid=117 ,让nova使用Cinder)
cinder_catalog_info=volume:cinder:publicURL (添加)