[openstack-dev] [devstack]Question about using Devstack

Bob Ball bob.ball at citrix.com
Mon Nov 23 11:31:00 UTC 2015


Ah yes - I’d forgotten about OFFLINE=True (shows how often I use it!)

If you set this in your localrc file then yes, in theory it should work offline – but will still generate a new environment when you reboot the VM.

Bob

From: yatin kumbhare [mailto:yatinkumbhare at gmail.com]
Sent: 23 November 2015 11:24
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [devstack]Question about using Devstack

Use OFFLINE=True in localrc - by this you can run devstack without internet access.

Use rejoin-stack.sh - this will create all your screens, and will not delete your data.

make sure rabbitmq and mysql is runnig.

Always do ./unstack.sh before reboot, this will cleanup resources. check screen -ls, the stack screen should have been deleted.

if not, run ./unstack.sh again.

Regards,
Yatin


On Mon, Nov 23, 2015 at 4:38 PM, Jordan Pittier <jordan.pittier at scality.com<mailto:jordan.pittier at scality.com>> wrote:
Hi

On Mon, Nov 23, 2015 at 11:58 AM, Young Yang <afe.young at gmail.com<mailto:afe.young at gmail.com>> wrote:
Hi,
I'm using devstack to deploy stable/Kilo in my Xenserver.
I successfully deploy devstack. But I found that every time I restart it, devstack always run ./stack.sh to clear all my data and resintall all the components.
So here comes  the questions.

1) Can I stop devstack from reinstalling after rebooting and just use the openstack installed successfully last time.
I've tried  replacing the stack.sh with another blank shell script to stop it running. Then  It didn't reinstall the services after rebooting.  However, some services didn't start successfully.
No. As far as I know, if you reboot your server you need to relaunch ./stack.sh. . Because, but not only, your IP address (on which some services bind to) could have changed.

2) I found that devstack will exit if it is unable to connect the Internet when rebooting.
Is there any way I can reboot devstack successfully without connection to the Internet after I've install it successfully with connection to the Internet.
After a successful install, you can start devstack again with the "offline mode": OFFLINE=yes ./stack.sh

Thanks in advance !  :)

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@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/20151123/69f4825f/attachment.html>


More information about the OpenStack-dev mailing list