Skip to content

Console Proxy - No authorization to connect #6828

@fermosan

Description

@fermosan
ISSUE TYPE
  • Bug Report
COMPONENT NAME
ConsoleProxy
CLOUDSTACK VERSION
main (7936b0)
CONFIGURATION

Advanced Networking
No SSL

OS / ENVIRONMENT

UBUNTU 22.04 / KVM

SUMMARY

running a clean install on current 4.18 tree looks like something is not working in consoleproxy.
(noVNC and classic as well)

An identical 4.17 environment works fine.

STEPS TO REPRODUCE
Deploydb for cloudstack current
Create Zone / Storage 
Join KVM Host
Enable Zone
Try to open console for system vms

EXPECTED RESULTS
Console Window opens for SystemVMS
ACTUAL RESULTS
Authorization Fails. 
**Logs Consoleproxy System VM:**
INFO  [cloud.consoleproxy.ConsoleProxyNoVNCHandler] (qtp1810267116-38:null) Get websocket connection request from remote IP : 10.8.80.3
WARN  [cloud.consoleproxy.ConsoleProxy] (qtp1810267116-38:null) External authenticator failed authentication request for vm d59c31a5-e4c8-454f-a9ff-432bc8910fcb with sid 7lXWphOeekTsH0G6x3xWVQ
[cloud.consoleproxy.ConsoleProxyNoVNCHandler] (qtp1810267116-38:null) Failed to create viewer due to External authenticator failed request for vm d59c31a5-e4c8-454f-a9ff-432bc8910fcb with sid 7lXWphOeekTsH0G6x3xWVQ
com.cloud.consoleproxy.AuthenticationException: External authenticator failed request for vm d59c31a5-e4c8-454f-a9ff-432bc8910fcb with sid 7lXWphOeekTsH0G6x3xWVQ

**Logs Management vmops**
WARN  [c.c.a.d.ParamGenericValidationWorker] (qtp1637207591-343:ctx-79672d38 ctx-0d2376ce) (logid:b4beffac) Received unknown parameters for command createConsoleEndpoint. Unknown parameters : client-inet-address
INFO  [o.a.c.c.ConsoleAccessManagerImpl] (qtp1637207591-343:ctx-79672d38 ctx-0d2376ce) (logid:b4beffac) Parse host info returned from executing GetVNCPortCommand. host info: 172.31.255.211
WARN  [c.c.a.m.AgentManagerImpl] (qtp1637207591-343:ctx-79672d38 ctx-0d2376ce) (logid:b4beffac) Unsupported Command: Unsupported command issued: com.cloud.agent.api.BadCommand.  Are you sure you got the right type of server?
ERROR [c.c.c.AgentHookBase] (AgentManager-Handler-3:null) (logid:) Invalid session, only one session allowed per token
<!-- Paste verbatim command output between quotes below -->

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions