[英]OpenStack Wallaby: Cinder - Unable to update attachment
請告訴我用哪種方式去挖,google完了。 也許有人遇到過。
可用的:
Openstack Wallaby:從頭開始部署模塊(不是 devstack)
Cinder 的問題 創建 VM 時,出現錯誤:
Unable to update attachment.(Bad or unexpected response from the storage volume backend API: Create export for volume failed (Resource could not be found.).).
日志 Cinder 卷 + 物理卷結構: https://pastebin.com/yykdPLcV
記錄新星計算: https://pastebin.com/04YtArhs
Error: Build of instance aborted: Block Device Mapping is Invalid.
並出現一個不斷創造的體積請幫忙
我的猜測是 Cinder 無法創建映像源卷。 嘗試從圖像創建卷,還要仔細檢查 Cinder、Glance 和 Nova 配置,特別是跨服務配置(例如 cinder.conf 中的 nova 和glance conf)
正如我看到的 Oslo 產生的錯誤, state_path和volumes_dir設置似乎存在問題。 在這種情況下,Cinder 可以成功創建卷,但計算無法對創建的卷進行精細處理。 要確保這一點,請檢查 Cinder-volume 服務器上的目錄“/var/lib/cinder/volumes/”。 遵循這些步驟可能會有所幫助: https://docs.openstack.org/cinder/queens/admin/ts-cinder-config.html#issues-with-state-path-and-volumes-dir-settings
我遇到了同樣的問題。 在我的情況下,這是由缺少持久性 tgt 包含文件引起的。
echo 'include /var/lib/cinder/volumes/*' >> /etc/tgt/conf.d/cinder.conf
為我完成了這項工作。
可以在此處找到有關此(希望有效)解決方案的更詳細說明: https://docs.openstack.org/cinder/queens/admin/ts-cinder-config.html#the-persistent-tgt-include-file 。 請注意,在文檔中, volumes/
和*
之間有一個額外的空格。 我認為這是文檔中的錯字,至少它確實對我有用,但沒有空格。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.