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

Ignazio Cassano ignaziocassano at gmail.com
Mon Mar 7 09:47:19 UTC 2022

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
"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 ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20220307/c595dca6/attachment.htm>

More information about the openstack-discuss mailing list