6.3.3. Running PackStack with an Answer File

Once an answer file has been created and customized it can be used to run the packstack non-interactively.

Procedure 6.4. Running PackStack with an Answer File

  1. Run the packstack with the --answer-file=FILE parameter to specify an answer file. Replace FILE with the path to the answer file.
    $ sudo packstack --answer-file=FILE

    Example 6.5. Running PackStack with an Answer File

    In this example packstack is run using an answer file stored in ~/answers.cfg.
    $ sudo packstack --answer-file=~/answers.cfg
  2. PackStack will attempt to deploy OpenStack using Puppet manifests. This process may take a significant amount of time depending on the deployment options selected. When the deployment is complete PackStack will display this message:
    **** Installation completed successfully ******
    Additional information about your environment including the location of the keystonerc containing your OpenStack administrator authentication token and the URL of the dashboard, if configured, will also be displayed.
You have successfully deployed OpenStack using a PackStack answer file.


Currently packstack does not support deployment of OpenStack networking. If you have deployed OpenStack using packstack and wish to use OpenStack Networking, then refer to Chapter 12, Deploying OpenStack Networking Services for more information.
It is important that such a conversion is performed before you begin creating and configuring compute instances with the Nova networking deployment created by packstack.


A log file containing the details of each PackStack run is stored in a uniquely named folder in the /var/tmp/packstack/ directory.