Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print rsync output on RHEL9 #53

Open
sbliven opened this issue Apr 25, 2024 · 0 comments
Open

Print rsync output on RHEL9 #53

sbliven opened this issue Apr 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sbliven
Copy link
Member

sbliven commented Apr 25, 2024

#43 contains a regression on RHEL9 where the rsync output isn't printed.

Michael reports on RHEL8:

2024/04/25 14:39:56 Running: [/usr/bin/rsync -e ssh -avxz --progress -q --msgs2stderr /home/kallmeier_m/testfiles/ [email protected]:archive/18715950-5c68-440b-bc4c-960ca5cc4987/home/kallmeier_m/testfiles].
sending incremental file list
./
AREMA Portal Client Installation and Configuration Guide.doc
      2,719,744 100%   25.88MB/s    0:00:00 (xfr#1, to-chk=3/5)
SeaChestUtilities.zip
    481,682,157 100%   27.82MB/s    0:00:16 (xfr#2, to-chk=2/5)
ibm-semeru-open-8-jdk-1.8.0.332.b09_0.32.0-1.x86_64.rpm
     93,588,112 100%   24.12MB/s    0:00:03 (xfr#3, to-chk=1/5)
testfile-to-write-in.json
              7 100%    0.01kB/s    0:00:00 (xfr#4, to-chk=0/5)
 
sent 577,430,015 bytes  received 95 bytes  28,167,322.44 bytes/sec
total size is 577,990,020  speedup is 1.00

while on RHEL9:

...
2024/04/23 09:58:35 Do you want to continue (Y/n)? 
y
2024/04/23 09:58:36 Created dataset with id 20.500.11935/26e7695e-daf2-4cf6-ab5b-c3663f6041cb
2024/04/23 09:58:36 The dataset contains 3 files. 
2024/04/23 09:58:37 Created file block from file 0 to 2 with total size of 577990013 bytes and 3 files 
2024/04/23 09:58:37 short dataset id: 26e7695e-daf2-4cf6-ab5b-c3663f6041cb
2024/04/23 09:58:37 Running: [/usr/bin/rsync -e ssh -avxz --progress --stderr=error /home/kallmeier_m/testfiles/ [email protected]:archive/26e7695e-daf2-4cf6-ab5b-c3663f6041cb/home/kallmeier_m/testfiles].
---rsync output missing here------
2024/04/23 09:58:50 Successfully updated {"pid":"20.500.11935/26e7695e-daf2-4cf6-ab5b-c3663f6041cb","owner":"kallmeier_m","ownerEmail":"","contactEmail":"","sourceFolder":"/home/kallmeier_m/testfiles","sourceFolderHost":"ginfra.psi.ch","size":577990013,"numberOfFiles":3,"creationTime":"2020-10-28T08:09:00.000Z","type":"base","datasetName":"kallmeier_m/testfiles","classification":"IN=medium,AV=low,CO=low","license":"CC BY-SA 4.0","version":"3.1.0","isPublished":false,"ownerGroup":"a-35259","accessGroups":null,"createdBy":"oidc.kallmeier_m","updatedBy":"oidc.kallmeier_m","history":[],"datasetlifecycle":{"archivable":true,"retrievable":false,"publishable":false,"archiveRetentionTime":"2034-04-23T00:00:00.000Z","dateOfPublishing":"2027-04-23T00:00:00.000Z","isOnCentralDisk":false,"archiveStatusMessage":"datasetCreated","retrieveStatusMessage":"","retrieveIntegrityCheck":false},"createdAt":"2024-04-23T07:58:36.855Z","updatedAt":"2024-04-23T07:58:50.686Z","techniques":[],"creationLocation":"Kallmeier Test Robocopy","principalInvestigator":""}
2024/04/23 09:58:50 Submitting Archive Job for the ingested datasets.
2024/04/23 09:58:50 Job response Status: okay
2024/04/23 09:58:50 A confirmation email will be sent to [email protected]
20.500.11935/26e7695e-daf2-4cf6-ab5b-c3663f6041cb

The difference is that RHEL9 uses rsync 3.2.3, which uses --stderr=error instead of --msgs2stderr.

@kavir1698 kavir1698 added the bug Something isn't working label Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants