Re: [Openstack] How to re-create a stack with devstack

2012-01-30 Thread Joshua Harlow
Or use the new devstack v2 ;) On 1/29/12 9:40 PM, "Deepak Garg" wrote: I use Devstack for development purposes and the environment settings are critical for me. So, once my Devstack setup is done, I usually take a snapshot and hence whenever anything gets screwed up, I simply fire the snapsho

Re: [Openstack] How to re-create a stack with devstack

2012-01-29 Thread Deepak Garg
I use Devstack for development purposes and the environment settings are critical for me. So, once my Devstack setup is done, I usually take a snapshot and hence whenever anything gets screwed up, I simply fire the snapshot. Also I keep my source code files on a mounted drive (nfs share exported fr

Re: [Openstack] How to re-create a stack with devstack

2012-01-28 Thread Vishvananda Ishaya
Someone has already done this. The last message in the thread mentioned it, but perhaps you missed it: https://blueprints.launchpad.net/devstack/+spec/upstart Vish On Jan 27, 2012, at 11:34 PM, nandakumar raghavan wrote: > Hi Vish, > > Thanks. I just have a weird thought. Based on the stack.

Re: [Openstack] How to re-create a stack with devstack

2012-01-27 Thread nandakumar raghavan
Hi Vish, Thanks. I just have a weird thought. Based on the stack.sh logs I understand that when I run stack.sh second time it simply spawns all the services. Ex: I saw the below in stack.sh log ' screen -S stack -p n-net -X stuff 'cd /opt/stack/nova && /opt/stack/nova/bin/nova-network + screen_it

Re: [Openstack] How to re-create a stack with devstack

2012-01-27 Thread Yun Mao
There is a hack on top of devstack for you to restart those services easily across reboot. https://blueprints.launchpad.net/devstack/+spec/upstart Yun On Fri, Jan 27, 2012 at 1:18 AM, nandakumar raghavan wrote: > Hi, > > I have similar query. I had installed open stack using devstack on a fresh

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Vishvananda Ishaya
That is correct. Devstack is primarily for development. It isn't really designed to be a production ready system. Vish On Jan 26, 2012, at 10:18 PM, nandakumar raghavan wrote: > Hi, > > I have similar query. I had installed open stack using devstack on a freshly > installed stand-alone mach

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread nandakumar raghavan
Hi, I have similar query. I had installed open stack using devstack on a freshly installed stand-alone machine(not vm). For the first time once the stack.sh is completed I was able to connect to the dashboard and all the services are up and running. Once I rebooted the box, all my settings are gon

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Naveed Massjouni
Awesome authors indeed! Thanks. -Naveed On Thu, Jan 26, 2012 at 6:31 PM, Vishvananda Ishaya wrote: > looks like the awesome authors of devstack are now handling this for you: > > https://github.com/openstack-dev/devstack/blob/master/stack.sh#L931 > > So the instances are destroyed on the second r

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Vishvananda Ishaya
looks like the awesome authors of devstack are now handling this for you: https://github.com/openstack-dev/devstack/blob/master/stack.sh#L931 So the instances are destroyed on the second run. Vish On Jan 26, 2012, at 3:14 PM, Naveed Massjouni wrote: > That's easy enough, thanks. Sometimes I fo

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Naveed Massjouni
That's easy enough, thanks. Sometimes I forget to delete all my instances before blowing away screen and running ./stack.sh. Just curious, what happens to all those vm's? Am I building up an army of zombie vm's that are taking up resources? Or do they disappear into the ether? -Naveed On Thu, Jan

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Vishvananda Ishaya
There is another thread on this, but the quick answer is; killall screen ./stack.sh You should generally make sure that you have terminated all instances and deleted all volumes in advance or you could run into issues. It is always safer to start from a clean vm, but the above should work in mo

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Joshua Harlow
I think its just use a new virtual machine for now is the suggested way. On 1/26/12 12:58 PM, "Naveed Massjouni" wrote: I would like to know the proper way to blow away a stack and create a fresh stack with devstack. Currently, I hit ctrl-c and ctrl-d a bunch of times to close all the windows in

Re: [Openstack] How to re-create a stack with devstack

2012-01-26 Thread Dean Troyer
On Thu, Jan 26, 2012 at 2:58 PM, Naveed Massjouni wrote: > I would like to know the proper way to blow away a stack and create a > fresh stack with devstack. Currently, I hit ctrl-c and ctrl-d a bunch > of times to close all the windows in the screen session. Then I run > ./stack.sh again. Is this

[Openstack] How to re-create a stack with devstack

2012-01-26 Thread Naveed Massjouni
I would like to know the proper way to blow away a stack and create a fresh stack with devstack. Currently, I hit ctrl-c and ctrl-d a bunch of times to close all the windows in the screen session. Then I run ./stack.sh again. Is this the best way? Is this documented somewhere? Thanks, Naveed _