Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 906006 - The --gen-answer-file parameter does not understand the ~ shortcut for home.
The --gen-answer-file parameter does not understand the ~ shortcut for home.
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack (Show other bugs)
2.1
Unspecified Unspecified
medium Severity low
: snapshot3
: 2.1
Assigned To: Martin Magr
Nir Magnezi
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-30 10:44 EST by Stephen Gordon
Modified: 2016-04-26 10:12 EDT (History)
4 users (show)

See Also:
Fixed In Version: openstack-packstack-2012.2.2-0.9.dev406
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-05 16:03:08 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 20830 None None None Never
Red Hat Product Errata RHSA-2013:0595 normal SHIPPED_LIVE Moderate: openstack-packstack security and bug fix update 2013-03-05 21:00:00 EST

  None (edit)
Description Stephen Gordon 2013-01-30 10:44:38 EST
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.
Comment 1 Derek Higgins 2013-01-30 16:41:52 EST
Fix submitted upstream
https://review.openstack.org/20830
Comment 3 Nir Magnezi 2013-02-17 05:33:11 EST
Verified NVR: openstack-packstack-2012.2.2-1.0.dev408.el6ost.noarch

Verification steps based on Comment #0
Comment 5 errata-xmlrpc 2013-03-05 16:03:08 EST
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

Note You need to log in before you can comment on or make changes to this bug.