Red Hat Bugzilla – Bug 906006
The --gen-answer-file parameter does not understand the ~ shortcut for home.
Last modified: 2016-04-26 10:12:46 EDT
Description of problem: When running packstack --gen-answer-file='~/answer.txt' I get an error. If I use './answer.txt' from the home directory it works: # echo $HOME /root # pwd /root # packstack --gen-answer-file='~/answer.txt' [Errno 2] No such file or directory: '~/answer.txt' Please check log file /var/tmp/71bd87d1-576a-4d64-89bc-0b0d0c47691b/openstack-setup_2013_01_29_22_41_48.log for more information # packstack --gen-answer-file='./answer.txt' # Version-Release number of selected component (if applicable): openstack-packstack-2012.2.2-0.2.dev211.el6ost.noarch Actual results: packstack --gen-answer-file='~/answer.txt' fails with file not found. Expected results: packstack --gen-answer-file='~/answer.txt' creates $HOME/answer.txt.
Fix submitted upstream https://review.openstack.org/20830
Verified NVR: openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch Verification steps based on Comment #0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0595.html