Ask Your Question
1

how to upgrade devstack and a single project installed by devstack [closed]

asked 2014-10-16 00:38:21 -0500

whg gravatar image

updated 2014-11-19 19:31:17 -0500

horizon has been running ok after devstack installation.

but it report 500/internal server error after git pull under /opt/stack/horizon?

the horizon is back to live after a unstack.sh/stack.sh.

what is the procedure to update the devstack or a single project like horizon installed by devstack?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by whg
close date 2014-11-25 19:40:23.917031

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-19 22:20:29 -0500

9lives gravatar image

if you want to update a few openstack projects in devstack, you can try the following steps:

1.cd to your local openstack source directory eg: /opt/stack/ 2. find the project folder you want to update, eg: cd /horizon 3. run git pull to update 4. modify your local.conf and set the RECLONE=False and OFFLINE=True 5. rerun the unstack.sh and stack.sh

you will get the updated horizon in devstack.

Hope that helps!

Vic

edit flag offensive delete link more

Comments

The OFFLINE setting mentioned here should not be necessary. This answer is generally true, but also note that Horizon runs under Apache, so it has the distinction of only requiring an Apache restart for changes in the Horizon working dir to be recognized.

dtroyer gravatar imagedtroyer ( 2014-11-24 22:22:49 -0500 )edit
1

answered 2014-10-16 02:54:59 -0500

jamie gravatar image

Whenever you stack/unstack the script pulls the latest code from the repositories. you don't need to update a devstack. the stack.sh script always pulls the latest packages and downloads them every time it runs.

edit flag offensive delete link more

Comments

how will the devstack be updated after the devstack is installed? the stack.sh won't run anymore after installation. we run the rejoin-stack.sh to bring up devstack

whg gravatar imagewhg ( 2014-10-16 21:00:24 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-10-16 00:38:21 -0500

Seen: 1,341 times

Last updated: Nov 19 '14