← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2039381] Re: Regarding Nova's inability to delete the Cinder volume for creating virtual machines (version Y)

 

reviewing the steps rene performed and the initial bug description this
work flow is not supported

nova has never supported attaching a volume to a guest via the cidner API 
and detaching it has been explicitly blocked due to the cve exposures 

so for nova i belive this is invalid.

cinder likely should prevent normal user form creating attachments for a
nova instance with the same mitigation as the detach case.

creating a volume attachment for a nova instance should require a service token with the service role
just as delete does.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2039381

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

Status in Cinder:
  Confirmed
Status in OpenStack Compute (nova):
  Invalid

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/2039381/+subscriptions



References