E版Openstack通过dashboard创建卷失败一例(01)

问题描述:dashboard中创建卷失败

查看日志文件 tail /var/log/nova/volume.log 看到有如下内容:
RROR nova.volume.iscsi [req-53462f68-19c1-4507-b4e5-d1737d6a1dfa a39991a8ad1b4833b62201f4102d214b 5225f35206314051aa12e824ca991c7f] Failed to create iscsi target for volume id:volume-fd29393e-7ad4-4971-98e0-db0751120465. Please ensure your tgtd config file contains 'include /etc/nova/volumes/*

 

解决方法:

修改/etc/tgt/targets.conf 配置文件,添加:
include /etc/nova/volumes/*
然后service tgtd restart


再次在dashboard中创建卷则成功。

你可能感兴趣的:(openstack,openstack,openstack,nova-volume)