Ask Your Question
0

After making changes to the Openstack do i need to rerun packstack answer file everytime?

asked 2015-03-13 23:36:26 -0600

HK gravatar image

I am using Openstack Juno on Centos 7.

Every Time i make any small change to Openstack, do i need to re run the whole packstack answer file again using the following command.

sudo packstack --answer-file=packstack-answers-20141218-125821.txt

This is a very tedious and time consuming process. Is there a shorter alternative to this ?

edit retag flag offensive close merge delete

Comments

1

Please, provide a concrete sample of update which per your opinion requires rerun packstack.

dbaxps gravatar imagedbaxps ( 2015-03-14 01:21:56 -0600 )edit

I made changes to the file /usr/lib/python2.7/site-packages/nova/scheduler/weights/ram.py to stack the Vm's instead of spreading (default) across the nodes. Following which i have to rerun the packstack again which again configures all the openstack components again. I there an alternate to this ?

HK gravatar imageHK ( 2015-03-14 01:33:10 -0600 )edit

Another update: If i wish to add more compute nodes to the already set up architecture. i edit the packstack answer file previously generated. So it too requires rerun packstack.

HK gravatar imageHK ( 2015-03-14 01:35:52 -0600 )edit
1

Yes, you are correct. Safe way is to rerun packstack.

dbaxps gravatar imagedbaxps ( 2015-03-14 02:13:35 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-06 20:39:49 -0600

jdexter gravatar image

Anytime you run packstack --answer-file, you will be essentially reseting your configuration to that of when you originally installed openstack via packstack.
Running packstack will not propagate changes that are not made to your answer file.

If you want to add more compute nodes, the 2 easiest ways are to re-run packstack with the already installed nodes excluded and the new nodes listed in compute. Or to copy the configuration from your current compute nodes to the new ones.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-03-13 23:36:26 -0600

Seen: 3,363 times

Last updated: Jun 06 '15