Re: [openstack-dev] How to re-compile Devstack Code

2014-04-24 Thread Steve Martinelli
Modify the files, save the changes, and
restart the service.

(I usually use `screen -r` switch to
the service, ctrl+c, then re-run the command that launches the service.)

Thanks,
Steve

Matthew Oliver m...@oliver.net.au wrote on
04/24/2014 01:53:18 AM:

 From: Matthew Oliver m...@oliver.net.au
 To: OpenStack Development Mailing List,
(not for usage questions) 
 openstack-dev@lists.openstack.org, 
 Date: 04/24/2014 01:55 AM
 Subject: Re: [openstack-dev] How to re-compile
Devstack Code
 
 If you put OFFLINE=True in your localrc (or local.conf) file, then
you can: 
 ./unstack.sh; ./stack.sh 
 without the stack.sh attempting to recheck out the latest code. 
 Matt
 On Apr 24, 2014 3:49 PM, shiva m
anjane...@gmail.com wrote:
 Hi,

 I have Devstack havana setup on Ubuntu 13.10.
I am trying to modify 
 some files in /opt/stack/* folder. How do I re-compile the Devstack
 to make my changes get effect.
 
 Does unstacking and stacking works?. I see unstacking and stacking

 installs everything fresh.

 Correct me if wrong.

 Thanks,
 Shiva
 
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] How to re-compile Devstack Code

2014-04-24 Thread Sean Dague
On 04/24/2014 02:06 AM, Steve Martinelli wrote:
 Modify the files, save the changes, and restart the service.
 
 (I usually use `screen -r` switch to the service, ctrl+c, then re-run
 the command that launches the service.)

+1

That's the flow that devstack was written to support.

-Sean

-- 
Sean Dague
http://dague.net



signature.asc
Description: OpenPGP digital signature
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] How to re-compile Devstack Code

2014-04-24 Thread Sandy Walsh
Also, I find setting this in my localrc/local.conf helps debugging:

# get an actual log file vs. screen scrollback
LOGFILE=/opt/stack/logs/stack.sh.log

# gimme all the info
VERBOSE=True

# don't pull from git every time I run stack.sh
RECLONE=False

# make the logs readable
LOG_COLOR=False



From: shiva m [anjane...@gmail.com]
Sent: Thursday, April 24, 2014 2:42 AM
To: openstack-dev@lists.openstack.org
Subject: [openstack-dev] How to re-compile Devstack Code

Hi,

I have Devstack havana setup on Ubuntu 13.10. I am trying to modify some files  
in /opt/stack/* folder. How do I re-compile the Devstack to make my changes get 
effect.

Does unstacking and stacking works?. I see unstacking and stacking installs 
everything fresh.

Correct me  if  wrong.

Thanks,
Shiva
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] How to re-compile Devstack Code

2014-04-24 Thread Dean Troyer
On Thu, Apr 24, 2014 at 12:53 AM, Matthew Oliver m...@oliver.net.au wrote:

 If you put OFFLINE=True in your localrc (or local.conf) file, then you
 can:
 ./unstack.sh; ./stack.sh
 without the stack.sh attempting to recheck out the latest code.

If this works at all it is a side-effect of skipping a git clone and does
not guarantee that the repos will be left untouched.

In addition to what Steve mentions elsewhere in the thread about just
restarting individual services, make sure you do not have RECLONE=True set
(it defaults to False), as 'True' ensures that all repos are reset to the
branches in stackrc/local.conf.

dt

-- 

Dean Troyer
dtro...@gmail.com
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] How to re-compile Devstack Code

2014-04-23 Thread shiva m
Hi,

I have Devstack havana setup on Ubuntu 13.10. I am trying to modify some
files  in /opt/stack/* folder. How do I re-compile the Devstack to make my
changes get effect.

Does unstacking and stacking works?. I see unstacking and stacking installs
everything fresh.

Correct me  if  wrong.

Thanks,
Shiva
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] How to re-compile Devstack Code

2014-04-23 Thread abhishek jain
Hi shiva

You can reload the openstack services by following the below steps after
making the desired changes..

i)  Enter into the devstack directry i.e cd devstack
ii) Execute rejoin-stackh.sh i.e ./rejoin-stack.sh
iii) Press ctrl+a+shift+
iv) Select the appropriate service to restart

Please let me know if further issues.

Thanks


On Thu, Apr 24, 2014 at 11:12 AM, shiva m anjane...@gmail.com wrote:

 Hi,

 I have Devstack havana setup on Ubuntu 13.10. I am trying to modify some
 files  in /opt/stack/* folder. How do I re-compile the Devstack to make my
 changes get effect.

 Does unstacking and stacking works?. I see unstacking and stacking
 installs everything fresh.

 Correct me  if  wrong.

 Thanks,
 Shiva

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] How to re-compile Devstack Code

2014-04-23 Thread Matthew Oliver
If you put OFFLINE=True in your localrc (or local.conf) file, then you can:
./unstack.sh; ./stack.sh
without the stack.sh attempting to recheck out the latest code.

Matt
On Apr 24, 2014 3:49 PM, shiva m anjane...@gmail.com wrote:

 Hi,

 I have Devstack havana setup on Ubuntu 13.10. I am trying to modify some
 files  in /opt/stack/* folder. How do I re-compile the Devstack to make my
 changes get effect.

 Does unstacking and stacking works?. I see unstacking and stacking
 installs everything fresh.

 Correct me  if  wrong.

 Thanks,
 Shiva

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev