Is the answer file supposed to be overwritten?

asked 2015-11-20 04:03:38 -0600

theillien gravatar image

I've been reading the book (OpenStack Essentials) to get a feel for OpenStack. I suppose the wisdom of this decision is open to debate but, since it is available on a library service I subscribe to it isn't much of a loss for me. That said, there seems to be some things that are left out, such as mentioning that python-docutils might reside in a non-standard repository. I've since learned this using the RDO docs and this here fancy Q&A site.

I'm early in the book's monologue. Only as far as the installation, really. It says to create an answer file using

# packstack --gen-answer-file ~/answers.txt

This is cool. Nothing substantial should go wrong with that and nothing does.

It then instructs its readers to add configuration options for the multinode situation:


I happily add these options configuring the IPs to what they actually are in my case.

After running the command to generate the answer file and adding the options per the book's instructions, I then run the command to install OpenStack:

# packstack --answer-file ~/answers.txt

Generally, this goes well and I'm left with OpenStack running on the Control node. I am able to log into the dashboard. Yippee!

But, when I try to sort out what else happened, I find that the answer file has been edited to exclude the options that I've added. There is no specification of the network (Neutron) host IP or the compute (Nova) host IP. The VLAN config is gone as are the options telling packstack to install Swift and Heat. Basically, all 11 of the lines I list above are not in the new file.

Is this supposed to happen? The book doesn't mention it. Red Hat's documentation doesn't mention it. The Internet doesn't mention it. At least, not as far as I've been able to find.

With the answer file method being idempotent I wouldn't expect to have to reconfigure it each time I want to execute it (except maybe for the Swift or Heat installations; no need to do that over and over again).

So, what happened? Is the book just off on it's instructions?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-21 02:20:34 -0600

dbaxps gravatar image

Writing correct answer files requires some experience . In sample bellow you may find answer file working for 3 node deployment on RDO Liberty and Kilo :-
Yes , packstack may update answer-file ,if it doesn't understand what you want it to do.

edit flag offensive delete link more


Thank you, sir!

theillien gravatar imagetheillien ( 2015-11-21 03:55:40 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-11-20 03:55:27 -0600

Seen: 463 times

Last updated: Nov 21 '15