<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"> <span><br>Hello,<br>It solves the problem. <br>Thanks for the help.<br><br>Regards,<br>Batsayan Das<br>Tata Consultancy Services<br>Mailto: <a href="mailto:batsayan.das@tcs.com">batsayan.das@tcs.com</a><br>Website: <a href="http://www.tcs.com">http://www.tcs.com</a><br>____________________________________________<br>Experience certainty.  IT Services<br>                   Business Solutions<br>                    Consulting<br>____________________________________________</span><br><br><font color="#990099">-----Swapnil Kulkarni <swapnilkulkarni2608@gmail.com> wrote: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: Batsayan Das <batsayan.das@tcs.com><br>From: Swapnil Kulkarni <swapnilkulkarni2608@gmail.com><br>Date: 08/21/2013 12:51PM<br>Cc: openstack@lists.openstack.org<br>Subject: Re: [Openstack] How to restore existing vms after host reboot in devstack<br><br><div dir="ltr"><div><div><div>Hello,<br><br></div>I think the cause is you are running stack.sh everytime you restart devstack which clears the configuration. rejoin-stack.sh can help for your cause.<br><br></div></div>Before proceeding for running the script please associate the vg file with a loop device with following command with root<br> <br>losetup /dev/loop2 /opt/stack/data/stack-volumes-backing-file<br><br>Please use rejoin-stack.sh script located at your devstack installation directory or /opt/stack/devstack<br><div class="gmail_extra"><br clear="all"> <div>Best <span></span><span></span>Regards,<br>Swapnil Kulkarni<br><a href="mailto:swapnilkulkarni2608@gmail.com" target="_blank">swapnilkulkarni2608@gmail.com</a><br><br></div> <br><br><div class="gmail_quote">On Wed, Aug 21, 2013 at 12:37 PM, Batsayan Das <span dir="ltr"><<a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <font face="sans-serif">Hi,</font> <br> <br><font face="sans-serif">I launch the openstack by running stack.sh as mentioned in </font><a href="http://devstack.org/guides/single-machine.html" target="_blank"><font face="sans-serif">http://devstack.org/guides/single-machine.html</font></a> <br> <br><font face="sans-serif">I created some images and instances in devstack using dashboard. When I reboot Host machine and run stack.sh again, those images and instance got lost, and I am not able to see those images and instances that I already created using dashboard.</font> <br> <br><font face="sans-serif">My question is</font> <br> <br><font face="sans-serif">1. Is this what is expected from host reboot?</font> <br><font face="sans-serif">2. What I need to do to retain images and instances between multiple host reboots.</font> <br> <br><font face="sans-serif">The thread </font><a href="http://www.mail-archive.com/openstack@lists.launchpad.net/msg08453.html" target="_blank"><font face="sans-serif">http://www.mail-archive.com/openstack@lists.launchpad.net/msg08453.html</font></a><font face="sans-serif"> says to use the switch  --start_guests_on_host_boot --resume_guests_state_on_host_boot. I am not sure how I should use these , which config files should have those switched enabled when I launch the devstack by simply running stack.sh </font> <br> <br><font face="sans-serif">I guess I need to pass some parameters or need to  do **something** before running to stack.sh so that it does not destroy already crested instances and images. As I understand stack.sh  reinitialize  all the stuffs</font> <br> <br><font face="sans-serif">Looking for any help.</font> <br> <br><font face="sans-serif">Regards,</font> <br><font face="sans-serif">Batsayan Das<br> Tata Consultancy Services<br> Mailto: <a href="mailto:batsayan.das@tcs.com" target="_blank">batsayan.das@tcs.com</a><br> Website: </font><a href="http://www.tcs.com/" target="_blank"><font face="sans-serif">http://www.tcs.com</font></a><font face="sans-serif"><br> ____________________________________________<br> Experience certainty.        IT Services<br>                         Business Solutions<br>                         Consulting<br> ____________________________________________</font><p>=====-----=====-----=====<br> Notice: The information contained in this e-mail<br> message and/or attachments to it may contain <br> confidential or privileged information. If you are <br> not the intended recipient, any dissemination, use, <br> review, distribution, printing or copying of the <br> information contained in this e-mail message <br> and/or attachments to it are strictly prohibited. If <br> you have received this communication in error, <br> please notify us by reply e-mail or telephone and <br> immediately and permanently delete the message <br> and any attachments. Thank you</p> <p></p><br>_______________________________________________<br> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br> <br></blockquote></div><br></div></div> </div></div></font>