Hi<div><br></div><div>Automatic device mapping, KVM and hot-plugging is a bit tricky. As you see from your log the VM behaves as a physical host, hotplugging is only supported for the SCSI bus.</div><div><br></div><div>Now, OpenNebula automatically compute target per bus. If your VM template uses hd it will take hda for the first OS. A hot-plugging operation (target=sd) may collide with the first OS disk...</div>
<div><br></div><div>Could you try to use DEV_PREFIX=sd for both the OS image and the attaching volume (target=sd + DEV_PREFIX=sd in the Image template or in the DISK attribute in the VM template).</div><div><br></div><div>
Cheers</div><div><br></div><div>Ruben<br><br><div class="gmail_quote">On Mon, Jul 30, 2012 at 4:24 PM, Jan Benadik <span dir="ltr"><<a href="mailto:jan.benadik@atos.net" target="_blank">jan.benadik@atos.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hi all,<br>
<br>
I have one running VM with W2008R2 Server and second VM with Linux
in OpenNebula 3.6. <br>
<br>
I am able to attach volatile disk to Windows VM, in
/var/log/one/oned.log is:<br>
<small>Fri Jul 27 12:11:37 2012 [VMM][D]: Message received: LOG I 65
mkimage: Making filesystem of 500M and type ntfs at
myto:/var/lib/one/datastores/0/65/disk.2<br>
Fri Jul 27 12:11:37 2012 [VMM][D]: Message received: LOG I 65
ExitCode: 0<br>
Fri Jul 27 12:11:37 2012 [VMM][D]: Message received: LOG I 65
Successfully execute transfer manager driver operation: tm_attach.<br>
Fri Jul 27 12:11:38 2012 [VMM][D]: Message received: LOG I 65
ExitCode: 0<br>
Fri Jul 27 12:11:38 2012 [VMM][D]: Message received: LOG I 65
Successfully execute virtualization driver operation: attach_disk.<br>
<big><br>
I see that disk in sunstone interface (screenshot1.png) and
inside of running Windows VM too (screenshot2.png).<br>
I'm able to do it with existing image too.<br>
<br>
BUT - If I try to do it the same way with Linux VM (volatile
disk / existing image), it crashed without visible alert, in log
there is:</big> <big><br>
If TARGET="sd"</big><br>
</small>
<pre>Mon Jul 30 18:11:20 2012 [VMM][I]: clone: Cloning ../../1/2d952692bba90bdb69d4c9f655f20a03 in one:/var/lib/one/datastores/0/21/disk.2
Mon Jul 30 18:11:20 2012 [VMM][I]: ExitCode: 0
Mon Jul 30 18:11:20 2012 [VMM][I]: Successfully execute transfer manager driver operation: tm_attach.
Mon Jul 30 18:11:20 2012 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/attach_disk one-21 /var/lib/one/datastores/0/21/disk.2 sda 0 PFZNTV9EUklWRVJfQUNUSU9OX0RBVEE+PEhPU1Q+b25lPC9IT1NUPjxORVRfRFJWPmR1bW15PC9ORVRfRFJWPjxNSUdSX0hPU1QvPjxNSUdSX05FVF9EUlYvPjxERVBMT1lfSUQ+b25lLTIxPC9ERVBMT1lfSUQ+PExPQ0FMX0RFUExPWU1FTlRfRklMRS8+PFJFTU9URV9ERVBMT1lNRU5UX0ZJTEUvPjxDSEVDS1BPSU5UX0ZJTEUvPjxUTV9DT01NQU5EPjwhW0NEQVRBW0NMT05FIHNoYXJlZCBteXRvLW5vZGU6L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMS8yZDk1MjY5MmJiYTkwYmRiNjlkNGM5ZjY1NWYyMGEwMyBvbmU6L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMC8yMS9kaXNrLjIgMjEgMQpdXT48L1RNX0NPTU1BTkQ+PERJU0tfVEFSR0VUX1BBVEg+L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMC8yMS9kaXNrLjI8L0RJU0tfVEFSR0VUX1BBVEg+PFZNPjxJRD4yMTwvSUQ+PFVJRD4wPC9VSUQ+PEdJRD4wPC9HSUQ+PFVOQU1FPm9uZWFkbWluPC9VTkFNRT48R05BTUU+b25lYWRtaW48L0dOQU1FPjxOQU1FPm1pbnQ8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjA8L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BVEFbMjFdXT48L1ZNSUQ+PC9URU1QTEFURT48SElTVE9SWV9SRUNPUkRTPjxISVNUT1JZPjxPSUQ+MjE8L09JRD48U0VRPjE8L1NFUT48SE9TVE5BTUU+b25lPC9IT1NUTkFNRT48SElEPjM8L0hJRD48U1RJTUU+MTM0MzY0NzgzMjwvU1RJTUU+PEVUSU1FPjA8L0VUSU1FPjxWTU1NQUQ+dm1tX2t2bTwvVk1NTUFEPjxWTk1NQUQ+ZHVtbXk8L1ZOTU1BRD48VE1NQUQ+c2hhcmVkPC9UTU1BRD48RFNfSUQ+MDwvRFNfSUQ+PFBTVElNRT4wPC9QU1RJTUU+PFBFVElNRT4wPC9QRVRJTUU+PFJTVElNRT4xMzQzNjQ3OTAwPC9SU1RJTUU+PFJFVElNRT4wPC9SRVRJTUU+PEVTVElNRT4wPC9FU1RJTUU+PEVFVElNRT4wPC9FRVRJTUU+PFJFQVNPTj4wPC9SRUFTT04+PC9ISVNUT1JZPjwvSElTVE9SWV9SRUNPUkRTPjwvVk0+PC9WTU1fRFJJVkVSX0FDVElPTl9EQVRBPg== 21 one
<span>Mon Jul 30 18:11:20 2012 [VMM][E]: attach_disk: Command "virsh --connect qemu:///system attach-device one-21 /var/lib/one/datastores/0/21/disk.2.attach" failed: error: Failed to attach device from /var/lib/one/datastores/0/21/disk.2.attach</span>
Mon Jul 30 18:11:20 2012 [VMM][I]: error: internal error No device with bus 'scsi' and target 'sda'
<span>Mon Jul 30 18:11:20 2012 [VMM][E]: Could not attach /var/lib/one/datastores/0/21/disk.2 (sda) to one-21</span>
Mon Jul 30 18:11:20 2012 [VMM][I]: ExitCode: 1
Mon Jul 30 18:11:20 2012 [VMM][I]: Failed to execute virtualization driver operation: attach_disk.
<span>Mon Jul 30 18:11:20 2012 [VMM][E]: Error attaching new VM Disk: Could not attach /var/lib/one/datastores/0/21/disk.2 (sda) to one-21</span>
Mon Jul 30 18:11:29 2012 [VMM][I]: ExitCode: 0
Mon Jul 30 18:11:29 2012 [VMM][D]: Monitor Information:</pre>
<small><big>If TARGET="hd"</big></small><br>
<pre>Mon Jul 30 18:13:53 2012 [VMM][I]: clone: Cloning ../../1/2d952692bba90bdb69d4c9f655f20a03 in one:/var/lib/one/datastores/0/21/disk.2
Mon Jul 30 18:13:53 2012 [VMM][I]: ExitCode: 0
Mon Jul 30 18:13:53 2012 [VMM][I]: Successfully execute transfer manager driver operation: tm_attach.
Mon Jul 30 18:13:54 2012 [VMM][I]: Command execution fail: /var/tmp/one/vmm/kvm/attach_disk one-21 /var/lib/one/datastores/0/21/disk.2 hdb 1 PFZNTV9EUklWRVJfQUNUSU9OX0RBVEE+PEhPU1Q+b25lPC9IT1NUPjxORVRfRFJWPmR1bW15PC9ORVRfRFJWPjxNSUdSX0hPU1QvPjxNSUdSX05FVF9EUlYvPjxERVBMT1lfSUQ+b25lLTIxPC9ERVBMT1lfSUQ+PExPQ0FMX0RFUExPWU1FTlRfRklMRS8+PFJFTU9URV9ERVBMT1lNRU5UX0ZJTEUvPjxDSEVDS1BPSU5UX0ZJTEUvPjxUTV9DT01NQU5EPjwhW0NEQVRBW0NMT05FIHNoYXJlZCBteXRvLW5vZGU6L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMS8yZDk1MjY5MmJiYTkwYmRiNjlkNGM5ZjY1NWYyMGEwMyBvbmU6L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMC8yMS9kaXNrLjIgMjEgMQpdXT48L1RNX0NPTU1BTkQ+PERJU0tfVEFSR0VUX1BBVEg+L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMC8yMS9kaXNrLjI8L0RJU0tfVEFSR0VUX1BBVEg+PFZNPjxJRD4yMTwvSUQ+PFVJRD4wPC9VSUQ+PEdJRD4wPC9HSUQ+PFVOQU1FPm9uZWFkbWluPC9VTkFNRT48R05BTUU+b25lYWRtaW48L0dOQU1FPjxOQU1FPm1pbnQ8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+P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11dPjwvVkxBTj48L05JQz48T1M+PEFSQ0g+PCFbQ0RBVEFbeDg2XzY0XV0+PC9BUkNIPjxCT09UPjwhW0NEQVRBW2hkXV0+PC9CT09UPjwvT1M+PFJBVz48VFlQRT48IVtDREFUQVtrdm1dXT48L1RZUEU+PC9SQVc+PFJFUVVJUkVNRU5UUz48IVtDREFUQVtDTFVTVEVSX0lEID0gMTAwXV0+PC9SRVFVSVJFTUVOVFM+PFRFTVBMQVRFX0lEPjwhW0NEQVRBWzE0XV0+PC9URU1QTEFURV9JRD48VkNQVT48IVtDREFUQVsyXV0+PC9WQ1BVPjxWTUlEPjwhW0NEQVRBWzIxXV0+PC9WTUlEPjwvVEVNUExBVEU+PEhJU1RPUllfUkVDT1JEUz48SElTVE9SWT48T0lEPjIxPC9PSUQ+PFNFUT4xPC9TRVE+PEhPU1ROQU1FPm9uZTwvSE9TVE5BTUU+PEhJRD4zPC9ISUQ+PFNUSU1FPjEzNDM2NDc4MzI8L1NUSU1FPjxFVElNRT4wPC9FVElNRT48Vk1NTUFEPnZtbV9rdm08L1ZNTU1BRD48Vk5NTUFEPmR1bW15PC9WTk1NQUQ+PFRNTUFEPnNoYXJlZDwvVE1NQUQ+PERTX0lEPjA8L0RTX0lEPjxQU1RJTUU+MDwvUFNUSU1FPjxQRVRJTUU+MDwvUEVUSU1FPjxSU1RJTUU+MTM0MzY0NzkwMDwvUlNUSU1FPjxSRVRJTUU+MDwvUkVUSU1FPjxFU1RJTUU+MDwvRVNUSU1FPjxFRVRJTUU+MDwvRUVUSU1FPjxSRUFTT04+MDwvUkVBU09OPjwvSElTVE9SWT48L0hJU1RPUllfUkVDT1JEUz48L1ZNPjwvVk1NX0RSSVZFUl9BQ1RJT05fREFUQ
T4= 21 on
e
<span>Mon Jul 30 18:13:54 2012 [VMM][E]: attach_disk: Command "virsh --connect qemu:///system attach-device one-21 /var/lib/one/datastores/0/21/disk.2.attach" failed: error: Failed to attach device from /var/lib/one/datastores/0/21/disk.2.attach</span>
Mon Jul 30 18:13:54 2012 [VMM][I]: error: internal error No device with bus 'ide' and target 'hdb'
<span>Mon Jul 30 18:13:54 2012 [VMM][E]: Could not attach /var/lib/one/datastores/0/21/disk.2 (hdb) to one-21</span>
Mon Jul 30 18:13:54 2012 [VMM][I]: ExitCode: 1
Mon Jul 30 18:13:54 2012 [VMM][I]: Failed to execute virtualization driver operation: attach_disk.
<span>Mon Jul 30 18:13:54 2012 [VMM][E]: Error attaching new VM Disk: Could not attach /var/lib/one/datastores/0/21/disk.2 (hdb) to one-21</span>
</pre>
My typical question is - what I did wrong? :-)<span class="HOEnZb"><font color="#888888"><br>
<br>
Jan<br>
<br>
<div>-- <br>
<font size="3" face="Verdana" color="black"> <img alt="" width="252" height="15"><br>
<b>Ján Beňadik</b><br>
<font face="Verdana"> Managed Services - Solution
Design Architect<br>
<a href="tel:%2B421%2046%205151%20332" value="+421465151332" target="_blank">+421 46 5151 332</a><br>
<a href="tel:%2B421%20903%20691%20634" value="+421903691634" target="_blank">+421 903 691 634</a><br>
<a href="mailto://jan.benadik@atos.net" target="_blank">jan.benadik@atos.net</a><br>
Vinohradnícka 6, 971 01 Prievidza<br>
<a href="http://www.sk.atos.net" target="_blank">www.sk.atos.net</a><br>
__________________________________<br>
<br>
<img alt="" width="261" height="58"><br>
</font> </font></div>
</font></span></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect<br>OpenNebula - The Open Source Solution for Data Center Virtualization<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula<br>
</div>