Regarding Nova's inability to delete the Cinder volume for creating virtual machines (version Y)

Bug #2039381 reported by sam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Undecided
Unassigned
OpenStack Compute (nova)
New
Undecided
Unassigned

Bug Description

When creating a virtual machine in the dashboard, create a volume and choose to delete the virtual machine while also deleting the volume. When deleting the virtual machine, there is no normal uninstallation of the volume and the volume is not deleted.

The relevant error logs are shown in the image, but the openstack CLI can delete its volume. The specific commands are as follows.

CLI:

source /etc/keystone/admin-openrc.sh (Verify password file)
openstack volume set --detached 191e555c-3947-4928-be46-9f09e2190877(volumeID)
openstack volume delete 191e555c-3947-4928-be46-9f09e2190877(volumeID)

It seems that Nova is unable to interact with the Cinder API to delete(or detached) commands, but I am not very professional. I don't know if it's a bug?

此错误跟踪器适用于文档错误,请使用以下内容作为模板,并根据需要删除或添加字段。将 [ ] 转换为 [x] 以复选框:

- [ ] 此文档以这种方式不准确:______
- [ ] 这是一个文档添加请求。
- [ ] 我对文档有一个修复程序,我可以粘贴到下面,包括示例:输入和输出。

如果您有故障排除或支持问题,请使用以下资源:

- 邮件列表:https://lists.openstack.org
 - IRC:电讯局的「开放栈」频道

-----------------------------------
发布: 25.2.2.dev1 在 2019-10-08 11:20:05
SHA: fd0d336ab5be71917ef9bd94dda51774a697eca8
来源: https://opendev.org/openstack/nova/src/doc/source/install/index.rst
网址: https://docs.openstack.org/nova/yoga/install/

Tags: doc
Revision history for this message
sam (sam22926) wrote :
Revision history for this message
sam (sam22926) wrote :

In the dashboard, you can see in the volume options bar that the volume has been mounted to the virtual machine, but the virtual machine has been deleted. In this case, it is not correct. In theory, the volume can be deleted when deleting the virtual machine.

Revision history for this message
sam (sam22926) wrote :

Note that I have seen similar bug patch files, but they are invalid.
URL:
  BUG page
  https://bugs.launchpad.net/nova/+bug/2016173

  Page for patching files
  https://review.opendev.org/c/openstack/nova/+/880399

Is not working!!!

sam (sam22926)
description: updated
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.