Skip to content

[Bug]: dstack server is not compatible with paramiko<3.2 #1982

Closed

Description

@un-def

Steps to reproduce

server side:

pip install 'dstack[all]'
pip install 'paramiko<3.2'
pip freeze | grep paramiko
paramiko==3.1.0
pip check
No broken requirements found.
dstack server

client side:

cat fleet.dstack.yml
type: fleet
name: vm-fleet
ssh_config:
  user: debian
  identity_file: ~/.ssh/vm_debian12
  hosts:
    - 192.168.122.75
cat ~/.ssh/vm_debian12.pub
ssh-rsa <KEY_CONTENT> debian@debian
dstack apply -f fleet.dstack.yml

Actual behaviour

See Server logs

Expected behaviour

No response

dstack version

0.18.24

Server logs

[07:26:15] INFO     dstack._internal.server.background.tasks.process_instances:217 Adding ssh instance vm-fleet-0...
           WARNING  dstack._internal.server.background.tasks.process_instances:281 Provisioning instance vm-fleet-0 could not be completed because of the error: Deploy instance raised an error: 'RSAKey' object has no attribute 'fingerprint'

Additional information

No response

Activity

  1. self-assigned this
    on Nov 12, 2024
  2. changed the title [-][Bug]: `dstack server` is not compatible with `paramiko<2.12`[/-] [+][Bug]: `dstack server` is not compatible with `paramiko<3.2`[/+] on Nov 12, 2024
  3. un-def commented on Nov 12, 2024

    @un-def
    CollaboratorAuthor

    Affects bot SSH and cloud instance provisioning (SSH via get_paramiko_connection(), CUDO and DataCrunch backends via get_public_key_fingerprint())

  4. added a commit that references this issue on Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions