Votatile disk hotplugging: fix target name
|Category:||Core & System|
|Target version:||Release 4.0|
|Affected Versions:||OpenNebula 3.8|
I have a problem with Xen hypervisor. We are currently using partitions (xvda1, xvda2) and not disks (xvda, xvdb) as target names in vm templates. The problem is when we try to hotplug a volatile disk (so you cannot specify target name), OpenNebula tries to register xvda instead of xvda3 (or eventually xvdb) which fails, of course.
I seems ok if I define disk targets (xvda and xvdb). In this case, the hotplug code tries to register xvdc.