<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Dominic, and thanks a lot for your help.<div class=""><blockquote type="cite" class="">I only see one issue with what you said, or perhaps didn't say. You are aware that it is a very good idea to sysprep --generalize a Windows instance, before making an image from it, yes?</blockquote><div class="">Yes yes, i did that, sys prep — generalize</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">Regarding OpenStack, could you tell us what glance and cinder drivers you use?<br class=""></blockquote>i’m not sure… for cinder: LVM on a iscsi bay</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">Have you done other volume to image before?<br class=""></blockquote>No, and it’s a good idea to test with a cirros instance. I will try tomorrow.</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">Have you verified that the image finishes creating before trying to create a VM from it?</blockquote></div><div class="">Yes</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">I'm not sure that snapshotting before creating an image is necessary. It's a good idea (maybe even necessary) to have the instance off when converting a volume to an image, thus, depending on your storage technology, the image might just be a snapshot.</blockquote>I just tried with an instance off… same problem, sam error message (Block Device Mapping is Invalid)</div><div class=""><br class=""></div><div class=""><blockquote type="cite" class="">I've done volume to image before, but it's been a little while. I plan to do this with a Linux instance today, so I'll see if I can do it while the instance is running.<br class=""></blockquote>Thanks a lot !! Really !!</div><div class=""><br class=""></div><div class="">
<meta charset="UTF-8" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div><span style="color: rgb(31, 73, 125); font-family: Arial, sans-serif; font-size: 10pt; orphans: 2; widows: 2;" class="">Franck VEDEL</span></div></div></div><div class="" style="orphans: 2; widows: 2; margin: 0cm 0cm 0.0001pt;"><b class=""><font color="#0096ff" class=""><font face="Arial Black, sans-serif" size="2" class=""><span class="" style="font-weight: normal;">Dép. Réseaux </span></font><font face="Arial Black" class="">Informatiques</font><font face="Arial Black, sans-serif" size="2" class=""><span class="" style="font-weight: normal;"> & Télécoms</span></font></font></b></div><div class="" style="orphans: 2; widows: 2; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><b class=""><span class="" style="font-size: 10pt; font-family: "Arial Black", sans-serif;"><font color="#005493" class="">IUT1 - Univ GRENOBLE Alpes</font></span></b></div><div class="" style="orphans: 2; widows: 2; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><b class=""><span class="" style="font-size: 10pt; font-family: "Arial Black", sans-serif;"><font color="#0433ff" class=""><b class="" style="font-family: Calibri, sans-serif; font-size: 14.666666984558105px;"><span class="" style="font-size: 10pt; font-family: "Arial Black", sans-serif;"><font color="#0433ff" class="">0476824462</font></span></b></font></span></b></div><div class="" style="orphans: 2; widows: 2; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><span class="" style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125);">Stages, Alternance, Emploi.</span><span class="" style="color: rgb(31, 73, 125);"><o:p class=""></o:p></span></div><div class="" style="orphans: 2; widows: 2; font-family: Calibri, sans-serif; font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><a href="http://www.rtgrenoble.fr/" class="">http://www.rtgrenoble.fr</a></div></div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Le 13 oct. 2021 à 17:16, <<a href="mailto:DHilsbos@performair.com" class="">DHilsbos@performair.com</a>> <<a href="mailto:DHilsbos@performair.com" class="">DHilsbos@performair.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class="">Franck;<br class=""><br class="">I only see one issue with what you said, or perhaps didn't say. You are aware that it is a very good idea to sysprep --generalize a Windows instance, before making an image from it, yes?<br class=""><br class="">Regarding OpenStack, could you tell us what glance and cinder drivers you use?<br class=""><br class="">Have you done other volume to image before?<br class=""><br class="">Have you verified that the image finishes creating before trying to create a VM from it?<br class=""><br class="">I'm not sure that snapshotting before creating an image is necessary. It's a good idea (maybe even necessary) to have the instance off when converting a volume to an image, thus, depending on your storage technology, the image might just be a snapshot.<br class=""><br class="">I've done volume to image before, but it's been a little while. I plan to do this with a Linux instance today, so I'll see if I can do it while the instance is running.<br class=""><br class="">Thank you,<br class=""><br class="">Dominic L. Hilsbos, MBA<br class="">Vice President – Information Technology<br class="">Perform Air International Inc.<br class=""><a href="mailto:DHilsbos@PerformAir.com" class="">DHilsbos@PerformAir.com</a><br class="">www.PerformAir.com<br class=""><br class="">From: Franck VEDEL [mailto:franck.vedel@univ-grenoble-alpes.fr] <br class="">Sent: Wednesday, October 13, 2021 12:58 AM<br class="">To: openstack-discuss<br class="">Subject: Problème with image from snapshot<br class=""><br class="">Hello and first sorry for my english… thanks google.<br class=""><br class="">Something is wrong with what I want to do:<br class="">I use Wallaby, it works very well (apart from VpnaaS, I wasted too much time this summer to make it work, without success, and the bug does not seem to be fixed).<br class=""><br class="">Here is what I want to do and which does not work as I want:<br class="">- With an admin account, I launch a Win10 instance from the image I created. The instance is working but it takes about 10 minutes to get Win10 up and running.<br class="">I wanted to take a snapshot of this instance and then create a new image from this snapshot. And that users use this new image.<br class="">I create the snapshot, I place the "--public" parameter on the new image.<br class="">I'm trying to create a new instance from this snapshot with the admin account: it works.<br class="">I create a new user, who has his project, and sees all the images. I try to create an instance with this new image and I get the message:<br class=""><br class="">Block Device Mapping is Invalid: failed to get snapshot f12c04f2-51e7-4817-ab9b-eda63c5b9aff. (HTTP 400) (Request-ID: req-c26dab86-c25f-409a-8390-8aa0ea8fe1cb)<br class=""><br class="">Is it a legal problem? Is it possible to do as I do? otherwise how should we do it?<br class=""><br class="">Thanks if you have ideas for helping me<br class=""><br class=""><br class="">Franck VEDEL<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>