<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 22, 2018 at 7:21 AM, Zip <span dir="ltr">&lt;<a href="mailto:plord@intricatenetworks.com" target="_blank">plord@intricatenetworks.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div>I am having an issue where when I use the REST API to connect a snapshot from another VM to a Backup-Appliance-VM, after the clone when I remove the Disk and delete the Snapshot, the disk remains in the Backup-Appliance-VM as /dev/sdb ot /dev/vdb. </div><div><br></div><div>If I reboot the Bakup-Applicance-VM the disk disappears.</div><div><br></div><div>If I manually remove the disk by &quot;echo 1 &gt; /sys/block/sdb/device/delete” the disk will disappear, but if I rescan the scsi bus, it is found and shows up again in the VM OS, but the oVirt WebGUI does NOT show it as connected.</div></div></blockquote><div><br></div><div>The first part is expected - the 2nd isn&#39;t.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div><br></div><div>I am also not able to attach any other disks as it complains of :</div><div><br></div><div><span class="m_-3670774818294595794Apple-tab-span" style="white-space:pre-wrap">        </span>HotPlugDiskVDS failed: internal error: unable to execute QEMU command &#39;__com.redhat_drive_add&#39;: Duplicate ID &#39;drive-scsi0-0-0-2&#39; for drive</div><div><br></div><div>I did see that others in the past have gotten around this issue by rebooting the Backup-Appliance-VM and then continuing on with the next VM backup and looping through backup-reboot-backup-reboot-<wbr>etc. </div><div><br></div><div>Anyone have an idea on how to solve this issue and remove the hooks from the guest OS?</div><div><br></div><div>Steps to reproduce this issue:</div><div><br></div><ol><li>Create a backup appliance VM to be used for the backup script execution</li><li>Currently I have the Vms set to virtio with threaded I/O enabled. Also tried virtio_scsi with same result.</li><li>Using REST API – make snapshot of target VM</li><li>Using REST API – fetch vm metadata</li><li>Using REST API – attach the snapshot/disk to the Backup-Appliance-VM</li><li>dd the drive to backup folder</li><li>Using REST API – remove the disk from the Backup-Appliance-VM</li><li>Using REST API – delete the snapshot</li><li>** Check the guest OS of the Backup-Appliance-VM and the mounted drive from the backup above still appears and behaves as mentioned in comments above.</li></ol><div><br></div></div></blockquote><div><br></div><div>There are many details missing, including versions of everything used, but logs would be most helpful here.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div></div><div>A second issue is that the above wont work when I have the Vms running on MPIO iSCSI storage, so for testing I have moved to NFS4. Anyone have ideas about either issue, I’d love to hear ;)</div></div></blockquote><div><br></div><div>Same - logs would be helpful here.</div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif"><div><br></div><div>Thanks</div><div><br></div><div><a href="http://Irc.oftc.net" target="_blank">Irc.oftc.net</a> #ovirt</div><div>zipur</div><div><br></div><br></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>