Bug 841232

Summary: RFE - Agent's operation Execute Prompt Command is successful even when unknown command is passed
Product: [Other] RHQ Project Reporter: Filip Brychta <fbrychta>
Component: OperationsAssignee: RHQ Project Maintainer <rhq-maint>
Status: NEW --- QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.4CC: hrupp
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Filip Brychta 2012-07-18 09:30:50 EDT
Description of problem:
$Summary

Version-Release number of selected component (if applicable):
Version: 3.1.0.GA
Build Number: b575169:a53e41e

How reproducible:
Always

Steps to Reproduce:
1. Navigate to RHQ Agent in the JON inventory
2. Invoke Execute Prompt Command operation with some incorrect command parameter (i.e. 'disovery'  <-- typo)

  
Actual results:
Operation is successful with following output: Unknown command: [disovery] 

Expected results:
Operation failed

Additional info:
Only operation status is visible in history overview, so without checking the operation output, the user would think that discovery operation was successful but nothing actually happend