<div dir="ltr">@Bob Ball<div>My goal is that I want to reboot devstack DomU without reinstall devstack.</div><div><br></div><div>Thanks to @ALL</div><div><br></div><div>I finally reboot devstack successfully without <a href="http://reinstalling.in">reinstalling.in</a> my case by this way.</div><div><br></div><div><br></div><div>First</div><div>I add `exit 0` before the first line of stack.sh to stop openstack running. </div><div><br></div><div>Then i use these commands to start the services. </div><div><br></div><div><br></div><div><div>cd /etc/apache2/sites-enabled && sudo ln -s ../sites-available/keystone.conf</div><div>sudo service apache2 restart</div><div>sudo service rabbitmq-server restart</div><div>sudo service mysql restart</div><div>sudo service tgt restart</div><div>truncate -s 10737418240 /opt/stack/data/stack-volumes-default-backing-file</div><div>truncate -s 10737418240 /opt/stack/data/stack-volumes-lvmdriver-1-backing-file</div><div>sudo losetup -f --show /opt/stack/data/stack-volumes-default-backing-file</div><div>CINDER_DEVICE=`sudo losetup -f --show /opt/stack/data/stack-volumes-lvmdriver-1-backing-file`</div><div>sudo pvcreate $CINDER_DEVICE</div><div>sudo vgcreate stack-volumes-lvmdriver-1 $CINDER_DEVICE</div><div>cd /opt/stack/devstack/ && ./rejoin-stack.sh</div></div><div><br></div><div><br></div><div>Some data are lost such as the data in lvm volume used by cinder. But most of my data are kept.</div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 23, 2015 at 8:51 PM, Bob Ball <span dir="ltr"><<a href="mailto:bob.ball@citrix.com" target="_blank">bob.ball@citrix.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Young,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div>
<blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><span class="">
<p class="MsoNormal">venv create: /opt/stack/tempest/.tox/venv<br>
venv installdeps: -r/opt/stack/tempest/requirements.txt, -r/opt/stack/tempest/test-requirements.txt<br>
ERROR: invocation failed (exit code 1), logfile: /opt/stack/tempest/.tox/venv/log/venv-1.log<br>
ERROR: actionid: venv<br>
msg: getenv<br>
cmdargs: [local('/opt/stack/tempest/.tox/venv/bin/pip'), 'install', '-U', '-r/opt/stack/tempest/requirements.txt', '-r/opt/stack/tempest/test-requirements.txt']<span style="color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</span><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">My interpretation is that because tox is using pip directly, which is now outside of devstack and knows nothing about the OFFLINE flag.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">This is in the “install_tempest” function from devstack/lib/tempest. A code change would be needed to stop tox from running if OFFLINE was specified. At first
glance, I believe this is probably a devstack bug.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I suspect that, since Tempest creates flavors, you will not be able to use tempest in OFFLINE=true mode, but you may be able to use other services if you remove
tempest from ENABLED_SERVICES.<u></u><u></u></span></p>
</blockquote>
</div><span class="">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">@jordan.pittier @Bob Ball</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt">If I can ensure my IP address , localrc and everything else are not changed, is there any way I can achieve my goal?</span><u></u><u></u></p>
</div>
</span><div>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I don’t think I understand what your goal is – perhaps if you clarify exactly what you’re trying to achieve then we can answer the question.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Bob<u></u><u></u></span></p>
</font></span></div>
</div>
</div>
</div>
</div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>