Issue
I have a problem with attaching volume to instances on Openstack
.
e.g. the volume had problem to attach, this volume shown on OpenStack Cli by openstack volume list
, but does not attach properly on instances (Linux instance ) and on Linux cli only shown with lsblk
command and can not mount and delete with any ways . ( fdisk
, cfdisk
, sfdisk
, … ) .
Help me to delete this volume from instance because with this problem i can not attach any other volume to this instance.
Solution
Could you execute openstack server add volume
when the instance is shutoff
, and fixed the error ?
If not, try this:
- check the log of
nova-libvirt
andcinder-volume
, and then try torestart
them, because of this error tips: libvirtError: Requested operation is not valid. - get the instance status info by
openstack server show
, and check if the volume works. - if volume not works, try
openstack server reboot --hard
the instance, and check the status info again.
I had met the issue seems like this, because of the incorrect authorization in the cinder-volume
back end — ceph
.
Answered By – VictorLee
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0