Termix-SSH / Termix-SSH/Support

[BUG] Can't import Proxmox guests

Open
#1,195 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug platform-docker platform-proxmox platform-web ssh
Dominant language
No language data
Stars
28
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Title

Can't import Proxmox guests

Platform

Website - Chrome

Server Installation Method

Docker

Version

1.7.1

CLI Installation Method

None

CLI Version

No response

Troubleshooting
  • I have examined logs and tried to find the issue
  • I have reviewed opened and closed issues
  • I have tried restarting the application
  • I have checked open issues and ensured this is not a duplicate
The Problem

Follow-up to https://github.com/Termix-SSH/Support/issues/1177

Now it's no longer possible to import the proxmox guests. Discovering the guests from proxmox works, but then when actually clicking the import buttons throws an error.

http://IP:8080/host/bulk-import returns

{
    "message": "Import completed: 0 created, 0 updated, 18 failed",
    "success": 0,
    "updated": 0,
    "skipped": 0,
    "failed": 18,
    "errors": [
        "Host 1: Username required for SSH connections",
        "Host 2: Username required for SSH connections",
        "Host 3: Username required for SSH connections",
        "Host 4: Username required for SSH connections",
        "Host 5: Username required for SSH connections",
        "Host 6: Username required for SSH connections",
        "Host 7: Username required for SSH connections",
        "Host 8: Username required for SSH connections",
        "Host 9: Username required for SSH connections",
        "Host 10: Username required for SSH connections",
        "Host 11: Username required for SSH connections",
        "Host 12: Username required for SSH connections",
        "Host 13: Username required for SSH connections",
        "Host 14: Username required for SSH connections",
        "Host 15: Username required for SSH connections",
        "Host 16: NOT NULL constraint failed: ssh_data.username",
        "Host 17: Username required for SSH connections",
        "Host 18: Username required for SSH connections"
    ]
}
How to Reproduce
  1. Add a host and mark it as a proxmox node
  2. in the hosts overview, click manually on the Discover & import proxmox guests
Additional Context

Since the last ticket I haven't changed anything. So I also have no idea why host 16 has a different error message.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Discover & import Proxmox guests flow and inspect the /host/bulk-import endpoint, focusing on how discovered guests are converted into SSH host records. Done means the guests import successfully without the username-required or ssh_data.username constraint errors; verify the result with the reported 18-guest case.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.