Bug 729709

Summary: aeolus-node errors out when given "--help" command line argument
Product: [Retired] CloudForms Cloud Engine Reporter: Justin Clift <jclift>
Component: aeolus-configureAssignee: Mo Morsi <mmorsi>
Status: CLOSED UPSTREAM QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 0.3.0CC: dajohnso, kwade, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-22 04:06:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Clift 2011-08-10 15:23:23 UTC
Description of problem:

  When providing the standard *nix "--help" option to aeolus-node, it errors out:

    $ aeolus-node --help
    /bin/cat: /etc/aeolus-configure/nodes/default_--help: No such file or directory

  It should instead display some form of banner/usage information.

Version-Release number of selected component (if applicable):

  The Aeolus 0.3.0 release rpms: aeolus-configure-2.0.1-1.el6.fc14.noarch

How reproducible:

  Every time.

Comment 1 Mo Morsi 2011-09-22 04:06:24 UTC
aeolus-node is not meant to be invoked by the end user. Rather it serves as a helper script required by puppet to be run by the configuration suite whose purpose is to simply output the specified node yaml.

Thus we cannot display any help / banner text as this would throw puppet off and result in unintended results.

To get around this I moved aeolus-node off the standard user executable PATH and updated references in configure to refer to the exact location on the filesystem. 

This is resolved with the following commit:

http://git.fedorahosted.org/git/?p=aeolus/configure.git;a=commitdiff;h=8e85f17175ccabbdd9a87de83e9757f34d9fda1e