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

Bug 1753652

Summary: multihost jobs aborted on s390x during newly added synchronization
Product: [Retired] Restraint Reporter: Ondrej Moriš <omoris>
Component: generalAssignee: Carol Bouchard <cbouchar>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 0.1.40CC: asavkov, bpeck, breilly, cbeer, cbouchar, lzachar, mastyk, tklohna
Target Milestone: 0.1.42Keywords: Reopened, Triaged
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-07 14:43:41 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:
Attachments:
Description Flags
Harness log none

Description Ondrej Moriš 2019-09-19 14:16:19 UTC
Created attachment 1616750 [details]
Harness log

Description of problem:

Recently [1], multihost synchronization was added into restraint. Unfortunately,  it break libreswan tests on s390x (only). Maybe also other multihost tasks are affected. Issue is as follows:

 * Single SERVER and CLIENT (see TJ#3791097)
 * Machine X and Y
 * Scheduler schedules two pairs
   - SERVER on X + CLIENT on Y
   - CLIENT on X + SERVER on Y
 * SERVER task on X finishes but waits for newly added synchronization 
   between X and Y 
 * CLIENT task on Y finishes 
 * SERVER task on Y starts but CLIENT task on X never starts

See attached harness log from SERVER task on X.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1730617

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

0.1.40

How reproducible:

100% with libreswan multihost beaker tasks

Actual results:

+ rhts-sync-set -s DONE
/usr/bin/rhts-sync-set -s DONE
+ rhts-sync-block -s DONE ibm-z-135.rhts.eng.bos.redhat.com kvm-08-guest24.hv2.lab.eng.bos.redhat.com
/usr/bin/rhts-sync-block -s DONE ibm-z-135.rhts.eng.bos.redhat.com kvm-08-guest24.hv2.lab.eng.bos.redhat.com
Failed to connect to remote server: Connection refused

Comment 9 Carol Bouchard 2019-10-22 16:44:37 UTC
Thanks Ondrej.  I'm rerunning your job for myself.  Hope that's okay.
Thank you for the feedback.

Comment 13 Martin Styk 2019-10-30 06:41:04 UTC
*** Bug 1766861 has been marked as a duplicate of this bug. ***

Comment 14 Lukáš Zachar 2019-10-30 06:59:03 UTC
Since bug 1766861 was closed as duplicate but I don't see my exact issue: 

On single host job (SERVERS CLIENTS are missing in environment) following is in the harness.log:

+ rhts-sync-block -s DONE
Usage:
        /usr/bin/rhts-sync-block -s <STATE> [-s <STATE>] [OPTION...] <MACHINE> [<MACHINE>] .. [<MACHINE>]

Comment 15 Carol Bouchard 2019-10-30 10:09:09 UTC
With next restraint release, that is covered as well.  Again it is benign.