-
Notifications
You must be signed in to change notification settings - Fork 3.4k
az ssh config - windows - missing rpds python module #30320
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botPossible-SolutionSSHService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssueVM SSHact-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botPossible-SolutionSSHService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Similar-IssueVM SSHact-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Command Name
az ssh configIssue Summary
After upgrading Azure CLI from version 2.65 to 2.66, the
az ssh configcommand now produces an error due to a missing module,rpds.rpds. This issue seems to specifically affect theaz ssh configcommand, even when other ssh-related commands likeaz ssh vmfunction without issue. This differs from previous reports ofrpds.rpdserrors tied toaz ssh vmor other SSH commands in the CLI.Errors:
This suggests that a dependency may be missing or was improperly packaged in the 2.66 update, leading to an unexpected failure in running SSH configuration commands.
Steps to Reproduce:
aks-preview(version 9.0.0b7)azure-iot(version 0.25.0)interactive(version 1.0.0b1)az ssh config --ip {Your_IP} --file {Path_to_File} --keys-dest-folder {Destination_Folder}Expected Behavior
The command should execute successfully, generating SSH configuration files and placing them in the specified
--keys-dest-folderwithout dependency-related errors.Actual Behavior
The command fails with a
ModuleNotFoundError: No module named "rpds.rpds"error, preventing SSH configuration.Environment Summary
Additional Context
This bug seems unique to the 2.66 update, as it did not occur in 2.65. Attempting to downgrade may serve as a temporary workaround, but please note that downgrading is not always feasible depending on dependency requirements and setup configurations.
Why This Differs from #29938
While issue #29938 also references
rpds.rpdserrors, that issue generally impactsaz ssh vmand similar commands, resulting from issues with SSH connection setups to Azure VMs. In this case,az ssh configfails independently, suggesting that the dependency error in version 2.66 may be specific to the configuration functions and related only to this command.