[openstack][queens][cinder] volume retype errors

Eugen Block eblock at nde.ag
Mon Mar 7 16:23:03 UTC 2022


Hi,

since you're retyping a volume, what do the cinder logs reveal?


Zitat von Ignazio Cassano <ignaziocassano at gmail.com>:

> Hello, sometimes the volume retype from a netapp nfs storage to another
> netapp nfs storage does not work.
> I do not know the reason but I think something is going wrong in nova:
>
> /var/log/nova/nova-compute.log:2022-02-02 14:23:39.992 194288 ERROR root
> [req-ebbf749f-359f-4282-94c5-0913cffe97a3 66adb965bef64eaaab2af93ade87e2ca
> 68feefdf7c5847388534e9214dc13366 - default default] Original exception
> being dropped: ['Traceback (most recent call last):\n', '  File
> "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 5655, in
> _swap_volume\n    mountpoint, resize_to)\n', '  File
> "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1647,
> in swap_volume\n    self._disconnect_volume(context, new_connection_info,
> instance)\n', '  File
> "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in
> __exit__\n    self.force_reraise()\n', '  File
> "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in
> force_reraise\n    six.reraise(self.type_, self.value, self.tb)\n', '  File
> "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 1644,
> in swap_volume\n    self._swap_volume(guest, disk_dev, conf, resize_to)\n',
> '  File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py",
> line 1593, in _swap_volume\n    raise
> exception.VolumeRebaseFailed(reason=six.text_type(exc))\n',
> "VolumeRebaseFailed: Volume rebase failed: Requested operation is not
> valid: pivot of disk 'vda' requires an active copy job\n"]:
> VolumeAttachmentNotFound: Volume attachment
> 2cd820e0-85e8-498d-a62a-800260d0cf31 could not be found
>
>
> Must I try to change some parameters in nova.conf on compute nodes about
> volume attachment ?
>
> Thanks
> Ignazio






More information about the openstack-discuss mailing list