SSH hadnshake failure in packer 1.8.6
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia con il percorso di connessione SSH dell’OpenStack builder e riproduci il log Packer 1.8.6 fornito su CentOS Stream 9 o Ubuntu 22.04. Confronta il template predefinito del builder con il valore temporary_key_pair_type segnalato; il lavoro è completato quando la configurazione predefinita esegue correttamente l’autenticazione senza la soluzione alternativa.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I previously reported a similar bug here hashicorp/packer#11656 but since I couldn't comment there , I am opening up a new issue here.
Packer version: 1.8.6
Tested with: CentOS Stream 9 and Ubuntu 22.04
Error:
Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
Packer log:
2023/04/25 12:12:55 ui: ==> openstack: Using SSH communicator to connect: xx.xx.xx.xx
2023/04/25 12:12:55 packer-builder-openstack plugin: [INFO] Waiting for SSH, up to timeout: 5m0s
2023/04/25 12:12:55 ui: ==> openstack: Waiting for SSH to become available...
2023/04/25 12:12:55 packer-builder-openstack plugin: [DEBUG] Using floating IP xx.xx.xx.xx to connect
2023/04/25 12:12:57 packer-builder-openstack plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp xx.xx.xx.xx:22: connect: connection refused
2023/04/25 12:13:02 packer-builder-openstack plugin: [DEBUG] Using floating IP xx.xx.xx.xx to connect
2023/04/25 12:13:02 packer-builder-openstack plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp xx.xx.xx.xx:22: connect: connection refused
2023/04/25 12:13:07 packer-builder-openstack plugin: [DEBUG] Using floating IP xx.xx.xx.xx to connect
2023/04/25 12:13:07 packer-builder-openstack plugin: [DEBUG] TCP connection to SSH ip/port failed: dial tcp xx.xx.xx.xx:22: connect: connection refused
2023/04/25 12:13:12 packer-builder-openstack plugin: [DEBUG] Using floating IP xx.xx.xx.xx to connect
2023/04/25 12:13:12 packer-builder-openstack plugin: [INFO] Attempting SSH connection to xx.xx.xx.xx:22...
2023/04/25 12:13:12 packer-builder-openstack plugin: [DEBUG] reconnecting to TCP connection for SSH
Workaround:
Adding the following in builder template works:
"temporary_key_pair_type": "ed25519"
- Lingua principale
- Go
- Stelle
- 29
- Fork
- 27
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di hashicorp/packer-plugin-openstack
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Error initializing block storage client with Openstack 2026.1Forse già presa @elelaysh l’ha presa 72 giorni fa. Apertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
hashicorp/packer-plugin-openstack#162 · 1 commento ·
-
Feature Request: Add keep_volume option to preserve boot volume artifacts in OpenStack builderApertaenhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
hashicorp/packer-plugin-openstack#151 · 1 commento · 1 reazione ·
-
Packer 1.12.0-alpha1 testingAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Response Error: No image found with ID .... code 404 Not Found title Not Found (Floating problem )Apertabug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
hashicorp/packer-plugin-openstack#130 · 1 commento ·
Tutte le issue di hashicorp/packer-plugin-openstack
Issue simili
-
csp-probe needs efqdn to probe CSP domainsForse già presa @unknownhackerworld l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
projectdiscovery/httpx#2725 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
category:helper tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
LanternOps/breeze#11285 ·
I maintainer di solito rispondono entro 1 giorno
-
Query cache: a failed cache page read leaves the set request's read lock held, so the scan hangsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
turbot/steampipe-plugin-sdk#986 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100