<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:11pt;color:#000000;font-family:'Comic Sans MS',Fantasy,cursive;">
<p><br>
</p>
<span style="font-family: "Courier New", monospace;"></span>
<meta content="text/html; charset=UTF-8">
<span style="font-family: "Courier New", monospace;"></span>
<div dir="ltr"><span style="font-family: "Courier New", monospace;"></span>
<div id="x_divtagdefaultwrapper" style="font-size: 11pt; color: rgb(0, 0, 0);"><span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;">Daniel</span></p>
<span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><br>
<span style="font-family: "Courier New", monospace;"></span></p>
<span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;">Yes, thanks, but the thing is this does not occur with regular volumes!</span></p>
<span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><br>
<span style="font-family: "Courier New", monospace;"></span></p>
<span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;">The process seems to be you need to connect the volume then the encryptor.</span></p>
<span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;">In pre migration at the destination I connect the volume and then setup the encryptor and that works fine, but in post migration</span></p>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;">at destination it rebuilds the instance xml and defines the vm which calls <span>_get_guest_storage_config which does another call to</span></span></p>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;"><span>connect_volume. This seems redundant to me, because it is already connected,</span></span></p>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;"><span>but it works for normal volumes and if I bypass it for encrypted volumes</span></span></p>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;"><span>it just fails with the same error when the same function is</span></span></p>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;"><span>called as part of</span></span></p>
<p><font face="Courier New, monospace">a subsequent hard</font></p>
<p><font face="Courier New, monospace">reboot.</font></p>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;"><br>
</span></p>
<span style="font-family: "Courier New", monospace;"></span>
<p style="font-family: "Comic Sans MS", fantasy, cursive;"><br>
<span style="font-family: "Courier New", monospace;"></span></p>
<span style="font-family: "Courier New", monospace;"></span>
<div id="x_Signature" style="font-family: "Comic Sans MS", fantasy, cursive;"><span style="font-family: "Courier New", monospace;"></span>
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<span style="font-family: "Courier New", monospace;"></span>
<div style="font-family:Tahoma; font-size:13px"><span style="font-family: "Courier New", monospace;"></span>
<div class="x_BodyFragment"><font size="2"><span style="font-size:10pt"><span style="font-family: "Courier New", monospace;"></span>
<div class="x_PlainText"><br>
<br>
<br>
<br>
<br>
<br>
Paul Carlton<br>
Software Engineer<br>
Cloud Services <br>
Hewlett Packard Enterprise<br>
BUK03:T242<br>
Longdown Avenue<br>
Stoke Gifford<br>
Bristol BS34 8QZ<br>
<br>
Office: +44 (0) 1173 162189<br>
Mobile: +44 (0)7768 994283<br>
Email: paul.carlton@hpe.com<br>
Hewlett-Packard Enterprise Limited registered Office: Cain Road, Bracknell, Berks RG12 1HN Registered No: 690597 England.
<br>
The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within
HP, unless otherwise stated you should consider this message and attachments as "HP CONFIDENTIAL".<br>
<br>
</div>
</span></font></div>
</div>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Daniel P. Berrange <berrange@redhat.com><br>
<b>Sent:</b> 01 November 2016 11:29:51<br>
<b>To:</b> OpenStack Development Mailing List (not for usage questions)<br>
<b>Subject:</b> Re: [openstack-dev] [nova] [cinder] Issue with live migration of instances with encrypted volumes</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On Tue, Nov 01, 2016 at 11:22:25AM +0000, Carlton, Paul (Cloud Services) wrote:<br>
> I'm working on a bug <a href="https://bugs.launchpad.net/nova/+bug/1633033" id="LPlnk447875" previewremoved="true">
https://bugs.launchpad.net/nova/+bug/1633033</a> with the live migration of<br>
> <br>
> instances with encrypted volumes. I've submitted a work in progress version of a patch<br>
> <br>
> <a href="https://review.openstack.org/#/c/389608" id="LPlnk962414" previewremoved="true">
https://review.openstack.org/#/c/389608</a> but I can't overcome an issue with an iscsi command<br>
> <br>
> failure that only occurs for encrypted volumes during the post migration processing, see<br>
> <br>
> <a href="http://paste.openstack.org/show/587535/" id="LPlnk973002" previewremoved="true">
http://paste.openstack.org/show/587535/</a><br>
> <br>
> <br>
> Does anyone have any thoughts on how to proceed with this issue?<br>
<br>
No particular ideas, but I wanted to point out that the scsi_id command<br>
shown in that stack trace has a device path that points to the raw<br>
iSCSI LUN, not to the dm-crypt overlay. So it looks like you're hitting<br>
a failure before you get the encryption part, so encryption might be<br>
unrelated.<br>
<br>
<br>
Regards,<br>
Daniel<br>
-- <br>
|: <a href="http://berrange.com" id="LPlnk175558" previewremoved="true">http://berrange.com</a> -o-
<a href="http://www.flickr.com/photos/dberrange/" id="LPlnk510421" previewremoved="true">
http://www.flickr.com/photos/dberrange/</a> :|
<div id="LPBorder_PT_14780012483580.38330429139873035" contenteditable="false" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14780012483490.2931560522931256" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td colspan="2" style="position: relative;">
<div id="LPRemovePreviewContainer_14780012483580.5613599394930726"><a id="LPRemovePreview" class="ms-Icon--x ms-icon-font-size-14" style="font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-weight: normal; position: relative; cursor: pointer; padding: 8px; float: right; color: rgb(102, 102, 102); background-color: rgb(249, 249, 249); -webkit-user-select: none; margin-left: 10px;"></a></div>
</td>
</tr>
<tr valign="top" style="border-spacing: 0px;">
<td colspan="2" style="position: relative; display: table-cell;">
<div id="LPImageAlbumContainer_14780012483510.27811155667142007" style="margin-top: 5px; background-color: rgb(255, 255, 255); height: auto; position: relative;">
<a id="LPImageAnchor_14780012483520.8737330650187376" href="https://www.flickr.com/photos/dberrange/29946935211/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483530.7223018541509705" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8415/29946935211_5a6ba4ef9b_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483540.026617568705846528" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8415/29946935211_5a6ba4ef9b_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483540.4169313745475387" href="https://www.flickr.com/photos/dberrange/29916493322/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483540.05658610592192592" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8571/29916493322_c0f93f561b_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483550.4803846052960603" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8571/29916493322_c0f93f561b_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483550.4023312383271489" href="https://www.flickr.com/photos/dberrange/29606308140/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483550.006110919018385452" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8529/29606308140_bb9b431935_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483550.18966727450727938" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8529/29606308140_bb9b431935_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483550.5000276963941659" href="https://www.flickr.com/photos/dberrange/29587752710/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483560.06251588422947774" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8037/29587752710_f796a9cd03_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483560.4505209771617247" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8037/29587752710_f796a9cd03_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483560.5299266396172084" href="https://www.flickr.com/photos/dberrange/28856954053/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483560.021919614478084437" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8258/28856954053_52370f685f_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483560.10197275648467263" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8258/28856954053_52370f685f_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483560.5015110326700949" href="https://www.flickr.com/photos/dberrange/29479072195/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483560.6144349316009323" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8125/29479072195_cf5172f125_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483570.7786653151677583" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8125/29479072195_cf5172f125_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483570.4129660445009935" href="https://www.flickr.com/photos/dberrange/28791422423/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483570.7113092221046011" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8294/28791422423_f82b18e31c_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483570.8859475386865387" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8294/28791422423_f82b18e31c_b.jpg"></div>
</a><a id="LPImageAnchor_14780012483570.4765013800377824" href="https://www.flickr.com/photos/dberrange/29297131575/" target="_blank" style="display: inline-block; text-align: center; width: 90px; height: 90px; vertical-align: middle; overflow: hidden; margin: 5px;"><img aria-label="Preview image with link selected. Double-tap to open the link." id="LPThumbnailImageID_14780012483570.6029410403623736" style="display: inline-block; width: 90px; height: 90px; border-width: 0px;" src="https://farm9.staticflickr.com/8432/29297131575_f7f39d36d7_q.jpg">
<div style="display: none;"><img id="LPFullsizeImageID_14780012483570.6157094862662751" style="-webkit-user-select: none;" src="https://farm9.staticflickr.com/8432/29297131575_f7f39d36d7_b.jpg"></div>
</a></div>
</td>
</tr>
<tr valign="top" style="border-spacing: 0px;">
<td></td>
</tr>
</tbody>
</table>
</div>
<br>
<div id="LPBorder_GT_14780012443690.30698160156305776" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14780012443630.1153650757651834" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14780012443660.4458971530262077" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14780012443660.525136565957232"></div>
<div id="LPTitle_14780012443660.596748144258872" style="top: 0px; color: rgb(128, 116, 110); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14780012443670.4010268850449943" href="http://berrange.com/" target="_blank" style="text-decoration: none;">Dan Berrange</a></div>
<div id="LPMetadata_14780012443670.18472953354168076" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
berrange.com</div>
<div id="LPDescription_14780012443680.9219709910019571" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
Until today, libvirt has used a 3 digit version number for monthly releases off the git master branch, and a 4 digit version number for maintenance releases off ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
|: <a href="http://libvirt.org" id="LPlnk226351" previewremoved="true">http://libvirt.org</a> -o-
<a href="http://virt-manager.org">http://virt-manager.org</a> :|
<div id="LPBorder_GT_14780012449230.8450899340398261" style="margin-bottom: 20px; overflow: auto; width: 100%; text-indent: 0px;">
<table id="LPContainer_14780012449190.2842931910378774" cellspacing="0" style="width: 90%; background-color: rgb(255, 255, 255); position: relative; overflow: auto; padding-top: 20px; padding-bottom: 20px; margin-top: 20px; border-top: 1px dotted rgb(200, 200, 200); border-bottom: 1px dotted rgb(200, 200, 200);">
<tbody>
<tr valign="top" style="border-spacing: 0px;">
<td id="TextCell_14780012449200.9699096229696249" colspan="2" style="vertical-align: top; position: relative; padding: 0px; display: table-cell;">
<div id="LPRemovePreviewContainer_14780012449210.7214701213183725"></div>
<div id="LPTitle_14780012449210.43356105015497803" style="top: 0px; color: rgb(128, 116, 110); font-weight: normal; font-size: 21px; font-family: wf_segoe-ui_light, "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; line-height: 21px;">
<a id="LPUrlAnchor_14780012449210.9743380249277056" href="http://libvirt.org/" target="_blank" style="text-decoration: none;">libvirt: The virtualization API</a></div>
<div id="LPMetadata_14780012449220.328105839616579" style="margin: 10px 0px 16px; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 14px;">
libvirt.org</div>
<div id="LPDescription_14780012449220.9862804827136193" style="display: block; color: rgb(102, 102, 102); font-weight: normal; font-family: wf_segoe-ui_normal, "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; font-size: 14px; line-height: 20px; max-height: 100px; overflow: hidden;">
The virtualization API libvirt is: A toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes), see our project ...</div>
</td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
|: <a href="http://entangle-photo.org">http://entangle-photo.org</a> -o-
<a href="http://search.cpan.org/~danberr/">http://search.cpan.org/~danberr/</a> :|<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div>
</span></font></div>
</body>
</html>