Bug 1420712

Summary: updateBackingContent CLI operation is not blocking and following retrieveBackingContent returns older content for some time
Product: [JBoss] JBoss Operations Network Reporter: Filip Brychta <fbrychta>
Component: ContentAssignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED ERRATA QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: high Docs Contact:
Priority: medium    
Version: JON 3.3.7, JON 3.3.8CC: hhovsepy, rvargasp, spinder
Target Milestone: CR01Keywords: Triaged
Target Release: JON 3.3.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-02 17:21:51 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: 1420717    

Description Filip Brychta 2017-02-09 11:25:29 UTC
Description of problem:
When retrieving backing contend immediately after updateBackingContent it will return older content. It's necessary to wait for some time before it retrieves correct new content.

Version-Release number of selected component (if applicable):
JON 3.3.8, 3.3.7 but probably in previous versions as well

How reproducible:
Always

Steps to Reproduce:
1. crate new eap6 deployment
2. update content via cli operation updateBackingContent, use deployment at least with size 1MB
3. immediately invoke retrieveBackingContent

Actual results:
retrieveBackingContent will return old content created in step 1

Expected results:
Either updateBackingContent should be blocking or there should be some way how to wait for the operation to be finished

Comment 3 Simeon Pinder 2017-09-19 11:33:13 UTC
Moving to ON_QA.

JON 3.3.9 CR01 artifacts are available for test from here:
http://download.eng.bos.redhat.com/brewroot/packages/org.jboss.on-jboss-on-parent/3.3.0.GA/135/maven/org/jboss/on/jon-server-patch/3.3.0.GA/jon-server-patch-3.3.0.GA.zip
 *Note: jon-server-patch-3.3.0.GA.zip maps to CR01 build of
 jon-server-3.3.0.GA-update-09.zip.

Comment 4 Hayk Hovsepyan 2017-09-21 13:09:52 UTC
Verified on:
Version : 3.3.0.GA Update 09
Build Number :	44ba698:204e925

Immediately after "updateBackingContent" execution, when "retrieveBackingContent" is executed, it retrieves the updated deployment without any error in CLI or in server log.

Comment 5 errata-xmlrpc 2017-10-02 17:21:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2846