apache / cloudstack

Apache CloudStack is an opensource Infrastructure as a Service (IaaS) cloud computing platform
https://cloudstack.apache.org/
Apache License 2.0
2.06k stars 1.1k forks source link

Console Proxy Not Working #7863

Closed Hossein4185 closed 1 year ago

Hossein4185 commented 1 year ago
ISSUE TYPE

Question

CLOUDSTACK VERSION

4.13.1

OS / ENVIRONMENT
SUMMARY

I use two management servers, but when I stop the first management, I lose the console view, while the second management performs other tasks correctly. And when I perform the SSVM health check, I encounter the following output. It seems that the console view only works on one management and does not move to the second management.

First DNS server is 172.17.10.21 PING 172.17.10.21 (172.17.10.21): 56 data bytes 64 bytes from 172.17.10.21: icmp_seq=0 ttl=127 time=2.052 ms 64 bytes from 172.17.10.21: icmp_seq=1 ttl=127 time=1.981 ms --- 172.17.10.21 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.981/2.017/2.052/0.036 ms Good: Can ping DNS server

Good: DNS resolves cloudstack.apache.org

ERROR: NFS is not currently mounted Try manually mounting from inside the VM NFS server is 0.0.0.0 PING 0.0.0.0 (0.0.0.0): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=0.226 ms 64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.252 ms --- 0.0.0.0 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.226/0.239/0.252/0.000 ms Good: Can ping nfs server

Management server is 172.17.60.31. Checking connectivity. 2023/08/14 08:59:10 socat[4397] E write(5, 0x55ddebdba000, 1): Connection refused Good: Can connect to management server 172.17.60.31 port 8250

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.

kiranchavala commented 1 year ago

@Hossein4185 what is the value of the global setting "host" please update it to the second management server ip address

Screenshot 2023-08-14 at 2 36 36 PM

Hossein4185 commented 1 year ago

resolve the problem

kiranchavala commented 1 year ago

@Hossein4185 are you still facing the issue ?

Hossein4185 commented 1 year ago

@Hossein4185 what is the value of the global setting "host" please update it to the second management server ip address

Screenshot 2023-08-14 at 2 36 36 PM

I change the ip but i got an error in cloud.log on past ip 2023-08-14 11:26:03,184 WARN [utils.nio.NioConnection] (main:null) Unable to connect to remote: is there a server running on port 8250 2023-08-14 11:26:08,187 INFO [cloud.agent.Agent] (main:null) Connecting to host:172.17.60.31 2023-08-14 11:26:08,188 INFO [utils.nio.NioClient] (main:null) Connecting to 172.17.60.31:8250 2023-08-14 11:26:08,192 WARN [utils.nio.NioConnection] (main:null) Unable to connect to remote: is there a server running on port 8250 2023-08-14 11:26:13,196 INFO [cloud.agent.Agent] (main:null) Connecting to host:172.17.60.31 2023-08-14 11:26:13,196 INFO [utils.nio.NioClient] (main:null) Connecting to 172.17.60.31:8250 2023-08-14 11:26:13,200 WARN [utils.nio.NioConnection] (main:null) Unable to connect to remote: is there a server running on port 8250 2023-08-14 11:26:18,203 INFO [cloud.agent.Agent] (main:null) Connecting to host:172.17.60.31 2023-08-14 11:26:18,204 INFO [utils.nio.NioClient] (main:null) Connecting to 172.17.60.31:8250 2023-08-14 11:26:18,209 WARN [utils.nio.NioConnection] (main:null) Unable to connect to remote: is there a server running on port 8250 2023-08-14 11:26:23,213 INFO [cloud.agent.Agent] (main:null) Connecting to host:172.17.60.31 2023-08-14 11:26:23,214 INFO [utils.nio.NioClient] (main:null) Connecting to 172.17.60.31:8250 2023-08-14 11:26:23,220 WARN [utils.nio.NioConnection] (main:null) Unable to connect to remote: is there a server running on port 8250

Hossein4185 commented 1 year ago

I destroyed the CPVM and Create the new CPVM and Resolved the problem thanks for your support