现象:Volume Type lvmdriver-1 already exists. (HTTP 409) 问题原因: 控制节点在执行devstack时已经创建了一个名为 lvmdriver-1 的cinder type。 问题解决:修改/opt/stack/devstack/lib/cinder文件551行,改动如下: // 修改前 if is_service_enabled c-api && [[ -n “$CINDER_ENABLED_BACKENDS” ]]; then local be be_name for be in ${CINDER_ENABLED_BACKENDS//,/ }; do be_name=${be##:} openstack –os-region-name=”$REGION_NAME” volume type create –property volume_backend_name=”${be_name}” ${be_name} done fi //修改后 if is_service_enabled c-api && [[ -n “$CINDER_ENABLED_BACKENDS” ]]; then local be be_name for be in ${CINDER_ENABLED_BACKENDS//,/ }; do be_name=${be##:} openstack volume type show $be_name ||
openstack –os-region-name=”$REGION_NAME” volume type create
–property volume_backend_name=”${be_name}” ${be_name} done fi 原文链接:https://www.cnblogs.com/Streamr-letsgo/p/9002936.html