Bug 1054752 - Given version of deployment is overwritten by computed sha when deploying via CLI
Summary: Given version of deployment is overwritten by computed sha when deploying via...
Keywords:
Status: NEW
Alias: None
Product: RHQ Project
Classification: Other
Component: CLI, Content, Plugins
Version: 4.10
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-17 12:03 UTC by Filip Brychta
Modified: 2022-03-31 04:27 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)
cli script (3.17 KB, application/javascript)
2014-01-17 12:03 UTC, Filip Brychta
no flags Details
screen shot (149.71 KB, image/png)
2014-01-17 12:03 UTC, Filip Brychta
no flags Details
deployment (4.91 KB, application/zip)
2014-01-17 12:04 UTC, Filip Brychta
no flags Details

Description Filip Brychta 2014-01-17 12:03:03 UTC
Created attachment 851552 [details]
cli script

Description of problem:
I deployed a new EAR to EAP5.2.0 via CLI and given version of deployment was overwritten by computed sha. 

Version-Release number of selected component (if applicable):
Version :	
4.10.0-SNAPSHOT
Build Number :	
05fa7f2

How reproducible:
Always

Steps to Reproduce:
1. EAP is imported in the inventory
2. run attached cli script with a correct path to attached deployment:
   ./rhq-cli.sh -f /tmp/test.js --args-style=named deployment=/tmp/MiscBeans-3.2.2.ear -s <your server IP> -u rhqadmin -p rhqadmin 
3. go to content tab of newly created MiscBeans.ear resource in the UI

Actual results:
Displayed version is a computed sha instead of given version in the CLI script
(see attached screen shot)

Expected results:
Displayed version is: 3.2.2

Additional info:
There is the same problem for deployment updates.

Comment 1 Filip Brychta 2014-01-17 12:03:35 UTC
Created attachment 851553 [details]
screen shot

Comment 2 Filip Brychta 2014-01-17 12:04:29 UTC
Created attachment 851554 [details]
deployment

Comment 3 Filip Brychta 2014-01-17 13:33:29 UTC
Update:
Ignore original 'Additional info' section. Update works.


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