Skip to content

Fix: Use SCP to copy replacement configuration to SR Linux#3068

Merged
ipspace merged 1 commit intodevfrom
srl-reload
Feb 3, 2026
Merged

Fix: Use SCP to copy replacement configuration to SR Linux#3068
ipspace merged 1 commit intodevfrom
srl-reload

Conversation

@ipspace
Copy link
Owner

@ipspace ipspace commented Feb 3, 2026

The SR Linux 'reload config' used 'docker cp' which broke after #2913. Using 'scp' instead of that seems to work like a charm.

Closes #3067

The SR Linux 'reload config' used 'docker cp' which broke after #2913.
Using 'scp' instead of that seems to work like a charm.

Closes #3067
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug introduced by #2913 where SR Linux configuration reload broke because ansible_host changed from a container name to an IPv4 address. The fix replaces the direct docker cp command with the standard SCP-based approach used by other platforms.

Changes:

  • Replaced docker cp with include_tasks: _copy_config.yml in the SR Linux reload task
  • Added netlab_device_disk: "/tmp/" variable for the included task

@ipspace ipspace merged commit b4351c2 into dev Feb 3, 2026
17 checks passed
@ipspace ipspace deleted the srl-reload branch February 3, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Configuration reload is broken for SR Linux due to #2913

1 participant