Bug 840629

Summary: rhq-cli does not open files relative to the current directory.
Product: [JBoss] JBoss Operations Network Reporter: wertnick
Component: CLIAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: unspecified    
Version: JON 3.1.1CC: hrupp, jshaughn, lkrejci
Target Milestone: ER01   
Target Release: JON 3.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:03:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wertnick 2012-07-16 18:05:32 UTC
Description of problem: rhq-cli does not read files from the current directory


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


How reproducible: Completely


Steps to Reproduce:
1. rhq-cli -f script.js
2. make sure script.js is not in CLI_HOME
3. Witness rhq-cli NOT opening the script.js file.
  
Actual results:

It can't find the file.

Expected results:

It should find the file. Maybe it should check relative to the current directory, THEN go relative to the CLI_HOME.

Additional info:

I did not figure out that scripts are supposed to be in CLI_HOME without assistance. Please at least update the rhq-cli tutorial to include this in bold.

Comment 1 Heiko W. Rupp 2013-08-12 11:39:57 UTC
Lukas, can you please investigate the state of this one?

Comment 3 Lukas Krejci 2014-06-09 11:32:52 UTC
This has been implemented in RHQ by BZ 959603 and is included in RHQ 4.10.

Comment 4 Jay Shaughnessy 2014-08-25 20:13:20 UTC
That means it should be in 3.3 already. Setting to ON_QA for ER01.