Repository navigation
fix: make sure directory of copied file exists, ensure flash and reset tools are found in path - #57
Merged
Merged
Conversation
Since the move to asyncssh, a file is copied with an SFTP put, which does not create the directory of the remote file as scp did: flash, copy-file and run-script failed for an account whose shared/.iotlabsshcli did not exist on the frontend of a site, that is at its first use there. The copy failed, the nodes of the site were then reported as failed without the command being run. The directory is created before the put. Tested against an SFTP server run on the loopback: the mocked client took any path.
flash and reset ran /usr/bin/iotlab_flash and /usr/bin/iotlab_reset, where the Yocto images have them. The OCI open Linux images install the gateway code with pip: the commands are in /usr/local/bin, and the flash of the M3 failed on every node. The profile is already sourced before the command: it gives a PATH with both directories.
aabadie
force-pushed
the
fix/flash-open-linux
branch
from
November 27, 2026 14:24
c36b999 to
1a229a6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.