When attaching the disk in opennebula by using xmlrpc one.vm.attach option.there is an error

I’m going to attach a new disk,suddenly the created disk was removed from the list.Any one Can solve the error…

Hi,
It may be not an issue with XMLRPC.

If you try to attach a disk and it dissapears it may be because OpenNebula didn’t like what you’ve attached.

At least that’s what happens in Sunstone. If the disk to be attached has any problem (e.g datastore is not reachable, permissions…), the image is added to the disk list while hotplugging it but then when the problem is found a rollback is made and the disk dissapears from the list. Maybe that’s the issue so check what you’re attaching.

Cheers

Thanks…