Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1136488

Summary: [domain mode] application version is 'none' for domain deployments
Product: [JBoss] JBoss Operations Network Reporter: Armine Hovsepyan <ahovsepy>
Component: Plugin -- JBoss EAP 6Assignee: Jay Shaughnessy <jshaughn>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: mfoley
Target Milestone: ER03   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:01:49 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:
Bug Depends On:    
Bug Blocks: 1070326    
Attachments:
Description Flags
domain_deployment_application_version
none
domain_delp_version none

Description Armine Hovsepyan 2014-09-02 17:16:42 UTC
Created attachment 933879 [details]
domain_deployment_application_version

Description of problem:
[domain mode] application version is 'none' for domain deployments

Version-Release number of selected component (if applicable):
JON 3.3 ER01.1

How reproducible:
always

Steps to Reproduce:

Scenario #1
1. navigate to eap6 in domain mode
2. create a child resource as domain deployment
3. upload test.war and deploy to all main server group

Scenario#2
1. create a bundle with test.war app 
2. deploy to eap6 in domain mode (to main managed server )

 
Actual results:
application version is 'None'

Expected results:
Application is versioned

Additional info:
screen-shot attached

Comment 1 Jay Shaughnessy 2014-09-10 18:31:11 UTC
Master commit 3bc7d6bfc641e6a477d08c3b4fa1208536dc9e54
Author: Jay Shaughnessy <jshaughn>
Date:   Wed Sep 10 14:22:01 2014 -0400

    Add versioned-deployment logic to domain deployments.  This includes
    resource upgrade for existing resources.  Also, tweak the operations to
    use the correct path value as opposed to the version-stripped resource key.



Release/jon3.3.x commit b00520710a6dc7949327bb73da141608e12e53fc
Author: Jay Shaughnessy <jshaughn>
Date:   Wed Sep 10 14:22:01 2014 -0400

    (cherry picked from commit 3bc7d6bfc641e6a477d08c3b4fa1208536dc9e54)
    Signed-off-by: Jay Shaughnessy <jshaughn>



Test Notes:
Should include resource upgrade for an existing version-named domain deployment, as well as deployment of a new resource.  And then subsequent server group assignment.

Comment 2 Simeon Pinder 2014-09-17 02:49:27 UTC
Moving to ON_QA as available for test with the following brew build:
https://brewweb.devel.redhat.com//buildinfo?buildID=385149

Comment 3 Armine Hovsepyan 2014-09-17 12:52:15 UTC
Created attachment 938462 [details]
domain_delp_version

Comment 4 Armine Hovsepyan 2014-09-17 12:53:44 UTC
during the bundle deployment - bundle version is not considered as version for app, app version is detected from app file name *only* 

marking as verified in JON 3.3 ER03
screen-shot attached