Regarding Nova's inability to delete the Cinder volume for creating virtual machines (version Y)
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? 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!!!
On 28/10, 无数的星球 wrote:
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:
Hi There is another mail thread with subject "Openstack volume deletion" that is facing the same issue. As I mentioned there this issue is most likely caused by Nova not being correctly configured in your deployment. Nova needs to be configured to use service tokens, otherwise detach operations are going to fail on the Cinder side to prevent CVE-2023-2088 [1]. If that's the problem you should also have difficulties detaching normal volumes. More on configuring service tokens can be found on the documentation [2]. Cheers, Gorka [1]: https://nvd.nist.gov/vuln/detail/CVE-2023-2088 [2]: https://docs.openstack.org/cinder/latest/configuration/block-storage/service...
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?
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!!!
participants (2)
-
Gorka Eguileor
-
无数的星球