Swarm Troubleshooting
Questa sezione fornisce un elenco di errori comuni che possono verificarsi durante il deploy degli agenti e le relative soluzioni. Se si verifica un errore non elencato qui, contattare l'assistenza.
Volume not found
<ERROR> : Volume not found
- Descrizione: L'agente è stato avviato senza alcun volume collegato o, almeno, non è riuscito a trovarne alcuno.
- Risoluzione: Controllare i volumi sul nodo e la loro mappatura sull'agente.
400 - Port mismatch
<ERROR> Cannot announce the agent: 400: 400 Bad Request.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Port mismatch","type":"invalid","data":("params":null,"actions_required":null))':
Invalid http response
- Descrizione: C'è una mancata corrispondenza tra la porta specificata nella configurazione e la porta dell'agente annunciato.
- Risoluzione: Aggiornare la porta dell'agente per allinearla a quella dell'announce.
403 - Secret not found
<ERROR> Cannot announce the agent: 403: 403 Forbidden.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Secret *** not found","type":"forbidden","data":("params":null,"actions_required":null))':
Invalid http response
- Descrizione: Il cliente deve correggere il segreto fornito all'agente.
- Risoluzione: L'utente deve verificare che il segreto corretto sia allineato a quello annunciato.
409 - Agent with the same public key already exists
<ERROR> Cannot announce the agent: 409: 409 Conflict.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Agent with the same public key already exists","type":"conflict","data":("params":null,"actions_required":null))':
Invalid http response
- Descrizione: L'agente viene avviato con il disco di un altro agente montato su di lui.
- Risoluzione: Verificare che i dischi siano montati sulla stessa configurazione che avevano al primo avvio. Alla fine aggiornare la configurazione sull'interfaccia web e distribuire nuovamente l'agente.
409 - Secret mismatch
<ERROR> Cannot announce the agent: 409: 409 Conflict.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"Announce: secret mismatch","params":["agent.secret_id","secret.id"])':
Invalid http response
- Descrizione: L'agente si avvia senza segreti.
- Risoluzione: Controllare attentamente i segreti forniti agli agenti.
409 - Agent is not in pending status
<ERROR> Cannot announce the agent: 409: 409 Conflict.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"agent is not in pending status","type":"conflict","data":("params":null,"actions_required":null))':
Invalid http response
- Descrizione: L'agente si sta annunciando con la chiave pubblica sbagliata.
- Risoluzione: Controllare la chiave pubblica corretta nell'annuncio.
503 - Service Unavailable. System under maintenance
<ERROR> Cannot announce the agent: 503: 503 Service Unavailable.
'Error parsing response body: [json.exception.out_of_range.403] key 'statusCode' not found,
raw: ("message":"under maintenance","type":"under-manteinance","data":("params":null,"actions_required":null))':
Invalid http response
- Descrizione: Il sistema è in manutenzione.
- Risoluzione: Controlla la status page.
composer-hub.cubbit.eu: Host not found
<ERROR> composer-hub.cubbit.eu : Host not found (non-authoritative),
try again later: Unknown error
- Descrizione: Problema di rete temporaneo.
- Risoluzione: Ignorare.
composer-hub.cubbit.eu: Operation timed out
<ERROR> composer-hub.cubbit.eu : Operation timed out: Unknown error
- Descrizione: Problema di rete temporaneo.
- Risoluzione: Ignorare.