[SERVER-30996] Add shell_binary feature to remote_operations.py Created: 07/Sep/17  Updated: 30/Oct/23  Resolved: 08/Sep/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.13

Type: Task Priority: Major - P3
Reporter: Jonathan Abrahams Assignee: Jonathan Abrahams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-29816 Powercycle test script Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2017-10-02
Participants:

 Description   

The file buildscripts/remote_operations.py will invoke a remote shell in the shell method via the ssh command as

            cmd = "ssh {} {} /bin/bash -c \"{}'{}'\"".format(
                self.ssh_options,
                self.user_host,
                dollar,
                operation_param)

It should support a new option to specify which remote shell to use:

            cmd = "ssh {} {} {} -c \"{}'{}'\"".format(
                self.ssh_options,
                self.user_host,
                self.shell_binary,
                dollar,
                operation_param)

New tests should be added to buildscripts/tests/test_remote_operations.py



 Comments   
Comment by Ramon Fernandez Marina [ 08/Sep/17 ]

Author:

{'username': u'hptabster', 'name': u'Jonathan Abrahams', 'email': u'jonathan@mongodb.com'}

Message:SERVER-30996 Add shell_binary feature to remote_operations.py
Branch:master
https://github.com/mongodb/mongo/commit/529720057c6888c81a205e06b90d205ef7291380

Generated at Thu Feb 08 04:25:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.