[openstack-dev] [devstack]Question about using Devstack
Young Yang
afe.young at gmail.com
Tue Nov 24 09:32:47 UTC 2015
@Bob Ball
My goal is that I want to reboot devstack DomU without reinstall devstack.
Thanks to @ALL
I finally reboot devstack successfully without reinstalling.in my case by
this way.
First
I add `exit 0` before the first line of stack.sh to stop openstack
running.
Then i use these commands to start the services.
cd /etc/apache2/sites-enabled && sudo ln -s ../sites-available/keystone.conf
sudo service apache2 restart
sudo service rabbitmq-server restart
sudo service mysql restart
sudo service tgt restart
truncate -s 10737418240 /opt/stack/data/stack-volumes-default-backing-file
truncate -s
10737418240 /opt/stack/data/stack-volumes-lvmdriver-1-backing-file
sudo losetup -f --show /opt/stack/data/stack-volumes-default-backing-file
CINDER_DEVICE=`sudo losetup -f
--show /opt/stack/data/stack-volumes-lvmdriver-1-backing-file`
sudo pvcreate $CINDER_DEVICE
sudo vgcreate stack-volumes-lvmdriver-1 $CINDER_DEVICE
cd /opt/stack/devstack/ && ./rejoin-stack.sh
Some data are lost such as the data in lvm volume used by cinder. But most
of my data are kept.
On Mon, Nov 23, 2015 at 8:51 PM, Bob Ball <bob.ball at citrix.com> wrote:
> Hi Young,
>
>
>
> venv create: /opt/stack/tempest/.tox/venv
> venv installdeps: -r/opt/stack/tempest/requirements.txt,
> -r/opt/stack/tempest/test-requirements.txt
> ERROR: invocation failed (exit code 1), logfile:
> /opt/stack/tempest/.tox/venv/log/venv-1.log
> ERROR: actionid: venv
> msg: getenv
> cmdargs: [local('/opt/stack/tempest/.tox/venv/bin/pip'), 'install', '-U',
> '-r/opt/stack/tempest/requirements.txt',
> '-r/opt/stack/tempest/test-requirements.txt']
>
>
>
> My interpretation is that because tox is using pip directly, which is now
> outside of devstack and knows nothing about the OFFLINE flag.
>
> 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.
>
>
>
> 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.
>
>
>
> @jordan.pittier @Bob Ball
>
> If I can ensure my IP address , localrc and everything else are not
> changed, is there any way I can achieve my goal?
>
>
>
> 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.
>
>
>
> Thanks,
>
>
>
> Bob
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151124/40ecfe88/attachment.html>
More information about the OpenStack-dev
mailing list