Bug 7735 - Cluster administration commands require Python 2
Summary: Cluster administration commands require Python 2
Status: CLOSED FIXED
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VSM Server (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Frida Flodin
URL:
Keywords: ossman_tester, prosaic
Depends on:
Blocks: 4586
  Show dependency treegraph
 
Reported: 2021-06-29 13:40 CEST by Frida Flodin
Modified: 2021-07-01 14:58 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Frida Flodin cendio 2021-06-29 13:40:51 CEST
tl-rsync-all and tl-ssh-all run with Python 2. We need to convert these to work with Python 3.
Comment 6 Frida Flodin cendio 2021-07-01 10:27:32 CEST
Should work with Python 3 now. Tested build 2188 on RHEL 8. Had two agents and one master.

tl-ssh-all
----------
 ✓ ssh to all agents
 ✓ ssh failed on one agent
 ✓ Not specifying any arguments


tl-rsync-all
------------
 ✓ rsync all agents
 ✓ ssh failed on one agent
 ✓ Not specifying any arguments
 ✓ Specifying arguments but no source to sync
Comment 7 Pierre Ossman cendio 2021-07-01 14:58:11 CEST
Tested using Ubuntu 20.04 as the source and RHEL 8 as the target, both with agents on them. Configured the RHEL 8 machine as a secondary sub-cluster.

tl-ssh-all:

 ✓ Simple command on all agents (ls)
 ✓ Bad agent doesn't stop run for remaining agents
 ✓ Help output with no arguments

tl-rsync-all:

 ✓ Sync of one file with relative path
 ✓ Sync of multiple files with relative path
 ✓ Recursion in directory
 ✓ Sync of one file with absolute path
 ✓ Bad agent doesn't stop run for remaining agents
 ✓ Help output with no arguments

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