Fail to attach a snapshot disk: "Domain already contains a disk with that address"

Solution In Progress - Updated -


When attaching a snapshot disk to another VM with the interface virtio-scsi with an API request like this:

curl -v -k --request POST \
    --header 'Version: 4' \
    --header 'Accept: application/xml' \
    --header 'Content-Type: application/xml' \
    -d '<disk_attachment><disk id="dfdfa1b1-34d4-4c97-8085-e60e957210f9"><snapshot id="cb84361c-5291-4ae1-8750-d246806d896d"/></disk><active>true</active><bootable>false</bootable><interface>virtio_scsi</interface></disk_attachment>' \
    -u admin@internal:PASSWORD \

The process sometimes fails with the error:

HotPlugDiskVDS failed: Requested operation is not valid: Domain already contains a disk with that address

We notice that every time it fails, the disk was tried to be added with unit='0'.


Red Hat Virtualization (RHV) 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In