Hi, This should have worked, since Antelope, which nova branch or version you are using. Can you please to create a bug with detailed logs at https://bugs.launchpad.net/nova Regards On Fri, Jan 9, 2026 at 8:29 PM <tomergaurav1031@gmail.com> wrote:
Hi Team,
I’ve encountered resize causing issues if source flavor has swap-disabled and target flavor have it enabled or vice-versa. It results into duplicate vdb error. Following are the steps:- 1 Create an image-backed(no volume attached) instance with flavor having swap disabled. 2 Create a volume and attach it with the instance (e.g. get attached at /dev/vdb). 3 Resize it to a bigger flavor which has swap & ephemeral enabled. 4 It results into error complaining about duplicate vdb:- libvirt.libvirtError: XML error: target 'vdb' duplicated for disk sources '/var/lib/nova/instances/1860acb4-012f-4528-b2ef-XXXXX/disk.swap'
Should one not do resize with swap & no-swap flavor combo? Please provide thoughts/suggestions for the same.
Thanks, Gaurav