Ask Your Question

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

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

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



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

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

I made changes to the file /usr/lib/python2.7/site-packages/nova/scheduler/weights/ 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 -0500 )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 -0500 )edit

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

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

1 answer

Sort by ยป oldest newest most voted

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 3,648 times

Last updated: Jun 06 '15