Re: server listen ipv6 not ipv4

2023-10-03 Thread Wei ZHOU
Hi,

The netstat output looks ok.

Can you check  the IP 10.0.33.1 is reachable from system vm ?

-Wei



On Wed, 4 Oct 2023 at 03:30, jaejong  wrote:

> OS : Rocky 8.8
> ACS : 4.18.1
>
> ACS management server listem 8250 port only from ipv6(tcp6)
> So SystemVMs can not connect to server.
>
> How to Fix to listen on ipv4?
>
> 2023-10-04 00:18:10,281 INFO  [cloud.agent.Agent] (main:null) Agent [id =
> 2 : type = PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers =
> 5 : host = 10.0.33.1 : port = 8250
> 2023-10-04 00:18:10,300 INFO  [utils.nio.NioClient] (main:null) Connecting
> to 10.0.33.1:8250
> 2023-10-04 00:18:13,358 ERROR [utils.nio.NioConnection] (main:null) Unable
> to initialize the threads.
> java.net.NoRouteToHostException: No route to host
> at java.base/sun.nio.ch.Net.connect0(Native Method)
> at java.base/sun.nio.ch.Net.connect(Net.java:483)
> at java.base/sun.nio.ch.Net.connect(Net.java:472)
> at java.base/sun.nio.ch
> .SocketChannelImpl.connect(SocketChannelImpl.java:692)
> at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
> at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
> at com.cloud.agent.Agent.start(Agent.java:283)
> at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
> at
> com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
> at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
> at com.cloud.agent.AgentShell.start(AgentShell.java:511)
> at com.cloud.agent.AgentShell.main(AgentShell.java:541)
>
> $ netstat -tulpn
> Active Internet connections (only servers)
> Proto Recv-Q Send-Q Local Address   Foreign Address State
>  PID/Program name
> tcp0  0 0.0.0.0:892 0.0.0.0:*
>  LISTEN  1533/rpc.mountd
> tcp0  0 0.0.0.0:20490.0.0.0:*
>  LISTEN  -
> tcp0  0 0.0.0.0:32803   0.0.0.0:*
>  LISTEN  -
> tcp0  0 0.0.0.0:33060.0.0.0:*
>  LISTEN  1127/mysqld
> tcp0  0 0.0.0.0:111 0.0.0.0:*
>  LISTEN  1/systemd
> tcp0  0 0.0.0.0:662 0.0.0.0:*
>  LISTEN  1532/rpc.statd
> tcp0  0 0.0.0.0:22  0.0.0.0:*
>  LISTEN  1036/sshd
> tcp6   0  0 :::8250 :::*
> LISTEN  1454/java
> tcp6   0  0 :::36667:::*
> LISTEN  1454/java
> tcp6   0  0 :::892  :::*
> LISTEN  1533/rpc.mountd
> tcp6   0  0 :::41533:::*
> LISTEN  1454/java
> tcp6   0  0 :::2049 :::*
> LISTEN  -
> tcp6   0  0 :::9090 :::*
> LISTEN  1454/java
> tcp6   0  0 :::32803:::*
> LISTEN  -
> tcp6   0  0 :::33060:::*
> LISTEN  1127/mysqld
> tcp6   0  0 :::111  :::*
> LISTEN  1/systemd
> tcp6   0  0 :::8080 :::*
> LISTEN  1454/java
> tcp6   0  0 :::662  :::*
> LISTEN  1532/rpc.statd
> tcp6   0  0 :::22   :::*
> LISTEN  1036/sshd
>
>
>
>
>


Re: Management server not connected from SSVM

2023-10-03 Thread jaejong
Thanks Jithin Raju!!

I  tried send all about settngs and log.
But the mail rejected due to limited size.

SSVM can ping to management server, but can not connected.
After analyzed the log file and checked the port status of the server.
I found server only listen on ipv6.

So I created another titled mail as  "server listen ipv6 not ipv4";

I trying install acs 4.18 for two months on rockylinux 9.

I guess the problems are drived not listening ipv4 address.

Let me know how to up;oad logs.

thanks.





-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.org";
Cc:
Sent: 2023-10-04 (수) 13:41:27 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

Hi Jaejong,

I doubt we can share any files attached over this mailing list, you could 
create a github issue?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 5:39 PM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi Jithin Raju
I wonder it is right way to present log state as attached file.

I do'nt understand you said "I am assuming you are not using a hostname?"
For the port connectivity, see ip-listen-state file.


I send log files.

during installation configuration, I set stroage traffic ips as from 10.0.33.1 
to 10.0.33.10
I  only add nfs server of 10.0.33.1 as secondary storage. but I see at 
cloud.log as follows;
Mon 02 Oct 2023 01:11:30 PM UTC Successfully setup storage network with 
STORAGE_IP:10.0.33.2, STORAGE_NETMASK:255.255.240.0, STORAGE_CIDR

except it, I can find any problems.

I hope you can help me.

Thanks a lot.





-Original Message-
From: "jaejong"
To: ;
Cc:
Sent: 2023-10-03 (화) 16:40:12 (GMT+09:00)
Subject: Re: Management server not connected from SSVM
I will reboot for clean log.
I will report server and host settig all.
Can i upload log and settings as file attached?

I need help for this. I will be back.


-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.org";
Cc:
Sent: 2023-10-03 (화) 16:28:26 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

Hi Jeojong,

Since you mentioned the management server IP is reachable from the SSVM I am 
not sure why this error should appear, can you check the port connectivity? I 
am assuming you are not using a hostname?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 11:58 AM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi  Jithin Raju
error messages from cloud.log:

2023-10-03 04:17:26,867 INFO  [utils.nio.NioClient] (main:null) Connecting to 
serverIP:8250
2023-10-03 04:17:29,935 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.net.NoRouteToHostException: No route to host
 at java.base/sun.nio.ch.Net.connect0(Native Method)
 at java.base/sun.nio.ch.Net.connect(Net.java:483)
 at java.base/sun.nio.ch.Net.connect(Net.java:472)
 at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
 at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
 at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
 at com.cloud.agent.Agent.start(Agent.java:283)
 at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
 at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
 at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
 at com.cloud.agent.AgentShell.start(AgentShell.java:511)
 at com.cloud.agent.AgentShell.main(AgentShell.java:541)
2023-10-03 04:17:29,939 WARN  [cloud.agent.Agent] (main:null) NIO Connection 
Exception  com.cloud.utils.exception.NioConnectionException: No route to host
...
2023-10-03 04:17:37,999 INFO  [cloud.agent.Agent] (main:null) Attempted to 
connect to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
 at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
 at com.cloud.agent.Agent.start(Agent.java:294)
 at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
 at com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
 at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
 at com.cloud.agent.AgentShell.start(AgentShell.java:511)
 at com.cloud.agent.AgentShell.main(AgentShell.java:541)
Caused by: java.net.NoRouteToHostException: No route to host
 at java.base/sun.nio.ch.Net.connect0(Native Method)
 at java.base/sun.nio.ch.Net.connect(Net.java:483)
 at java.base/sun.nio.ch.Net.connect(Net.java:472)
 at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
 at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
 at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
 ... 6 more
.
2023-10-03 04:17:44,187 INFO  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) found 3 
templates[/mnt/SecStorage/7d99d8d2-539f-3850-8a

Re: Management server not connected from SSVM

2023-10-03 Thread Jithin Raju
Hi Jaejong,

I doubt we can share any files attached over this mailing list, you could 
create a github issue?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 5:39 PM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi Jithin Raju
I wonder it is right way to present log state as attached file.

I do'nt understand you said "I am assuming you are not using a hostname?"
For the port connectivity, see ip-listen-state file.


I send log files.

during installation configuration, I set stroage traffic ips as from 10.0.33.1 
to 10.0.33.10
I  only add nfs server of 10.0.33.1 as secondary storage. but I see at 
cloud.log as follows;
Mon 02 Oct 2023 01:11:30 PM UTC Successfully setup storage network with 
STORAGE_IP:10.0.33.2, STORAGE_NETMASK:255.255.240.0, STORAGE_CIDR

except it, I can find any problems.

I hope you can help me.

Thanks a lot.


 


-Original Message-
From: "jaejong"
To: ;
Cc:
Sent: 2023-10-03 (화) 16:40:12 (GMT+09:00)
Subject: Re: Management server not connected from SSVM
I will reboot for clean log.
I will report server and host settig all.
Can i upload log and settings as file attached?

I need help for this. I will be back.


-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.org";
Cc:
Sent: 2023-10-03 (화) 16:28:26 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

Hi Jeojong,

Since you mentioned the management server IP is reachable from the SSVM I am 
not sure why this error should appear, can you check the port connectivity? I 
am assuming you are not using a hostname?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 11:58 AM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi  Jithin Raju
error messages from cloud.log:

2023-10-03 04:17:26,867 INFO  [utils.nio.NioClient] (main:null) Connecting to 
serverIP:8250
2023-10-03 04:17:29,935 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.net.NoRouteToHostException: No route to host
  at java.base/sun.nio.ch.Net.connect0(Native Method)
  at java.base/sun.nio.ch.Net.connect(Net.java:483)
  at java.base/sun.nio.ch.Net.connect(Net.java:472)
  at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
  at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
  at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
  at com.cloud.agent.Agent.start(Agent.java:283)
  at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
  at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
  at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
  at com.cloud.agent.AgentShell.start(AgentShell.java:511)
  at com.cloud.agent.AgentShell.main(AgentShell.java:541)
2023-10-03 04:17:29,939 WARN  [cloud.agent.Agent] (main:null) NIO Connection 
Exception  com.cloud.utils.exception.NioConnectionException: No route to host
...
2023-10-03 04:17:37,999 INFO  [cloud.agent.Agent] (main:null) Attempted to 
connect to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
  at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
  at com.cloud.agent.Agent.start(Agent.java:294)
  at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
  at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
  at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
  at com.cloud.agent.AgentShell.start(AgentShell.java:511)
  at com.cloud.agent.AgentShell.main(AgentShell.java:541)
Caused by: java.net.NoRouteToHostException: No route to host
  at java.base/sun.nio.ch.Net.connect0(Native Method)
  at java.base/sun.nio.ch.Net.connect(Net.java:483)
  at java.base/sun.nio.ch.Net.connect(Net.java:472)
  at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
  at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
  at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
  ... 6 more
.
2023-10-03 04:17:44,187 INFO  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) found 3 
templates[/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/3/db2b01f1-5a4f-44b5-a0e7-bd2dac5c3b6e.qcow2,
 /mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4/, 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202/]
2023-10-03 04:17:44,195 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4
2023-10-03 04:17:44,197 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmp

Re: Creation of VM in XCP-NG 8.2

2023-10-03 Thread Jithin Raju
Hi Marty,

I can try the same and let you know if I could find anything useful.

-Jithin

From: ma...@gonsource.com 
Date: Wednesday, 4 October 2023 at 2:31 AM
To: users@cloudstack.apache.org 
Subject: RE: Creation of VM in XCP-NG 8.2
I don't care to answer at all.

What is the guest OS?

- - - - - - Windows Server 2022

Are the test XCP and the XCP hosts managed by CS on the same version?

- - - - - - - Yes, they are. 8.2.1. The CS managed needs patches but they
are the same version.

Is the template information as per XAPI DB ( using xe commands) for the
standalone and the CS managed VMs different?

- - - - - - - As far as I could tell no. I exported the VDI straight from
the XCP test cluster and imported it as a VDI directly into Cloudstack.

What is the CS version in use?

- - - - - - - I am on 4.18.1



 


-Original Message-
From: Jithin Raju 
Sent: Tuesday, October 3, 2023 1:14 AM
To: users@cloudstack.apache.org
Subject: Re: Creation of VM in XCP-NG 8.2

Hi Marty,

I have a few questions to understand your scenario better. I hope you don't
mind answering.

What is the guest OS?
Are the test XCP and the XCP hosts managed by CS on the same version?
Is the template information as per XAPI DB ( using xe commands) for the
standalone and the CS managed VMs different?
What is the CS version in use?

-Jithin

From: ma...@gonsource.com 
Date: Tuesday, 3 October 2023 at 12:29 AM
To: users@cloudstack.apache.org 
Subject: Creation of VM in XCP-NG 8.2
Hello all,



I have a template I imported with the Citrix Management Agent installed from
Xenserver.com.  On my "test" XCP cluster (not connected to CS), the agent
says it is there and the VM shows the Xenserver NIC, for example. When I
export the disk and import it into CS, the agent does not show it is
installed and the NIC is the Realtek NIC. Is there anything "special" that
is being changed when CS deploys the template in a cluster with XCP-NG that
would cause this?



Thank you for the help.





server listen ipv6 not ipv4

2023-10-03 Thread jaejong
OS : Rocky 8.8
ACS : 4.18.1

ACS management server listem 8250 port only from ipv6(tcp6) 
So SystemVMs can not connect to server.

How to Fix to listen on ipv4?

2023-10-04 00:18:10,281 INFO  [cloud.agent.Agent] (main:null) Agent [id = 2 : 
type = PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers = 5 : 
host = 10.0.33.1 : port = 8250
2023-10-04 00:18:10,300 INFO  [utils.nio.NioClient] (main:null) Connecting to 
10.0.33.1:8250
2023-10-04 00:18:13,358 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.net.NoRouteToHostException: No route to host
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:483)
at java.base/sun.nio.ch.Net.connect(Net.java:472)
at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
at com.cloud.agent.Agent.start(Agent.java:283)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
at com.cloud.agent.AgentShell.start(AgentShell.java:511)
at com.cloud.agent.AgentShell.main(AgentShell.java:541)

$ netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address State   
PID/Program name
tcp0  0 0.0.0.0:892 0.0.0.0:*   LISTEN  
1533/rpc.mountd
tcp0  0 0.0.0.0:20490.0.0.0:*   LISTEN  
-
tcp0  0 0.0.0.0:32803   0.0.0.0:*   LISTEN  
-
tcp0  0 0.0.0.0:33060.0.0.0:*   LISTEN  
1127/mysqld
tcp0  0 0.0.0.0:111 0.0.0.0:*   LISTEN  
1/systemd
tcp0  0 0.0.0.0:662 0.0.0.0:*   LISTEN  
1532/rpc.statd
tcp0  0 0.0.0.0:22  0.0.0.0:*   LISTEN  
1036/sshd
tcp6   0  0 :::8250 :::*LISTEN  
1454/java
tcp6   0  0 :::36667:::*LISTEN  
1454/java
tcp6   0  0 :::892  :::*LISTEN  
1533/rpc.mountd
tcp6   0  0 :::41533:::*LISTEN  
1454/java
tcp6   0  0 :::2049 :::*LISTEN  
-
tcp6   0  0 :::9090 :::*LISTEN  
1454/java
tcp6   0  0 :::32803:::*LISTEN  
-
tcp6   0  0 :::33060:::*LISTEN  
1127/mysqld
tcp6   0  0 :::111  :::*LISTEN  
1/systemd
tcp6   0  0 :::8080 :::*LISTEN  
1454/java
tcp6   0  0 :::662  :::*LISTEN  
1532/rpc.statd
tcp6   0  0 :::22   :::*LISTEN  
1036/sshd






RE: Creation of VM in XCP-NG 8.2

2023-10-03 Thread marty
I don't care to answer at all.

What is the guest OS?

- - - - - - Windows Server 2022

Are the test XCP and the XCP hosts managed by CS on the same version?

- - - - - - - Yes, they are. 8.2.1. The CS managed needs patches but they
are the same version.

Is the template information as per XAPI DB ( using xe commands) for the
standalone and the CS managed VMs different?

- - - - - - - As far as I could tell no. I exported the VDI straight from
the XCP test cluster and imported it as a VDI directly into Cloudstack.

What is the CS version in use?

- - - - - - - I am on 4.18.1



-Original Message-
From: Jithin Raju  
Sent: Tuesday, October 3, 2023 1:14 AM
To: users@cloudstack.apache.org
Subject: Re: Creation of VM in XCP-NG 8.2

Hi Marty,

I have a few questions to understand your scenario better. I hope you don't
mind answering.

What is the guest OS?
Are the test XCP and the XCP hosts managed by CS on the same version?
Is the template information as per XAPI DB ( using xe commands) for the
standalone and the CS managed VMs different?
What is the CS version in use?

-Jithin

From: ma...@gonsource.com 
Date: Tuesday, 3 October 2023 at 12:29 AM
To: users@cloudstack.apache.org 
Subject: Creation of VM in XCP-NG 8.2
Hello all,



I have a template I imported with the Citrix Management Agent installed from
Xenserver.com.  On my "test" XCP cluster (not connected to CS), the agent
says it is there and the VM shows the Xenserver NIC, for example. When I
export the disk and import it into CS, the agent does not show it is
installed and the NIC is the Realtek NIC. Is there anything "special" that
is being changed when CS deploys the template in a cluster with XCP-NG that
would cause this?



Thank you for the help.

 




Re: Management server not connected from SSVM

2023-10-03 Thread jaejong
Hi Jithin Raju
I wonder it is right way to present log state as attached file.

I do'nt understand you said "I am assuming you are not using a hostname?"
For the port connectivity, see ip-listen-state file.

I send log files.

during installation configuration, I set stroage traffic ips as from 10.0.33.1 
to 10.0.33.10
I  only add nfs server of 10.0.33.1 as secondary storage. but I see at 
cloud.log as follows;
Mon 02 Oct 2023 01:11:30 PM UTC Successfully setup storage network with 
STORAGE_IP:10.0.33.2, STORAGE_NETMASK:255.255.240.0, STORAGE_CIDR

except it, I can find any problems.

I hope you can help me.

Thanks a lot.

-Original Message-
From: "jaejong"
To: ;
Cc:
Sent: 2023-10-03 (화) 16:40:12 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

I will reboot for clean log.
I will report server and host settig all.
Can i upload log and settings as file attached?

I need help for this. I will be back.


-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.org";
Cc:
Sent: 2023-10-03 (화) 16:28:26 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

Hi Jeojong,

Since you mentioned the management server IP is reachable from the SSVM I am 
not sure why this error should appear, can you check the port connectivity? I 
am assuming you are not using a hostname?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 11:58 AM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi  Jithin Raju
error messages from cloud.log:

2023-10-03 04:17:26,867 INFO  [utils.nio.NioClient] (main:null) Connecting to 
serverIP:8250
2023-10-03 04:17:29,935 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.net.NoRouteToHostException: No route to host
  at java.base/sun.nio.ch.Net.connect0(Native Method)
  at java.base/sun.nio.ch.Net.connect(Net.java:483)
  at java.base/sun.nio.ch.Net.connect(Net.java:472)
  at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
  at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
  at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
  at com.cloud.agent.Agent.start(Agent.java:283)
  at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
  at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
  at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
  at com.cloud.agent.AgentShell.start(AgentShell.java:511)
  at com.cloud.agent.AgentShell.main(AgentShell.java:541)
2023-10-03 04:17:29,939 WARN  [cloud.agent.Agent] (main:null) NIO Connection 
Exception  com.cloud.utils.exception.NioConnectionException: No route to host
...
2023-10-03 04:17:37,999 INFO  [cloud.agent.Agent] (main:null) Attempted to 
connect to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
  at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
  at com.cloud.agent.Agent.start(Agent.java:294)
  at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
  at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
  at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
  at com.cloud.agent.AgentShell.start(AgentShell.java:511)
  at com.cloud.agent.AgentShell.main(AgentShell.java:541)
Caused by: java.net.NoRouteToHostException: No route to host
  at java.base/sun.nio.ch.Net.connect0(Native Method)
  at java.base/sun.nio.ch.Net.connect(Net.java:483)
  at java.base/sun.nio.ch.Net.connect(Net.java:472)
  at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
  at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
  at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
  ... 6 more
.
2023-10-03 04:17:44,187 INFO  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) found 3 
templates[/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/3/db2b01f1-5a4f-44b5-a0e7-bd2dac5c3b6e.qcow2,
 /mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4/, 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202/]
2023-10-03 04:17:44,195 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4
2023-10-03 04:17:44,197 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202
.
2023-10-03 04:17:49,170 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-2:null) Download Completion for jobId: 
5b5d49d2-284f-4300-a428-1e9f38a7a8c6, status=UNRECOVERABLE_ERROR
2023-10-03 04:17:49,171 INFO  [storage.template.DownloadManagerImp

Explore the CloudStack Collaboration Conference Agenda

2023-10-03 Thread Jamie Pell
Hi everyone,

As you may have seen via the CloudStack socials, the official agenda for the 
CloudStack Collaboration Conference is now live! You can see the agenda on the 
official conference website - https://www.cloudstackcollab.org/#schedule

In case you have not done so already, I recommend registering your place for 
the event on Hubilo (for both virtual and in-person registrations) - 
https://events.hubilo.com/cloudstack-collaboration-conference-2023/register

We are excited to have the chance to present to you new community members as 
speakers and host a range of new ACS users as speakers at the event, alongside 
our long-term contributors and speakers:


  *   Rohit Yadav, VP, Apache CloudStack
  *   Wido den Hollander, CTO, Your.Online
  *   Swen Brüseke, CEO, proIO GmbH
  *   Rene Glover, Director-Technology, AT&T
  *   Alex Dometrius, Associate Director-Technology, AT&T
  *   Aron Wagner, CEO, American Cloud
  *   Charles-Henri Schulz, Chief Strategy Officer, Vates
  *   Giles Sirett, CEO, ShapeBlue
  *   Abhishek Kumar, Software Engineer, ShapeBlue and Release Manager of 
Apache CloudStack 4.19
  *   Grégoire Lamodière, Founder, DIMSI
  *   Venko Moyankov, Solutions Architect, StorPool Storage
  *   Philipp Reisner, CEO, LINBIT

If you have any questions about the conference, don’t hesitate to reach out via 
i...@cloudstackcollab.org

Kind regards,


 



Re: resourcecount.check.interval vs capacity.check.period

2023-10-03 Thread Daan Hoogland
Loth,
reading the code and simplifying it in my head;
- the 'capacity.check.period' is the interval between capacity checks (from
an operator perspective) and
- the 'resourcecount.check.interval' is the interval to check for usage
from a project/account/domain perspective.

On Tue, Oct 3, 2023 at 10:50 AM Loth  wrote:

> Hello Users,
>
> What is the difference between 'capacity.check.period' and
> 'resourcecount.check.interval'? I've read that capacity.check.period
> is somehow related to capacity.skipcounting.hours but not sure how up
> to date my source is.
>
> Thanks!
>


-- 
Daan


resourcecount.check.interval vs capacity.check.period

2023-10-03 Thread Loth
Hello Users,

What is the difference between 'capacity.check.period' and
'resourcecount.check.interval'? I've read that capacity.check.period
is somehow related to capacity.skipcounting.hours but not sure how up
to date my source is.

Thanks!


Re: Management server not connected from SSVM

2023-10-03 Thread jaejong
I will reboot for clean log.
I will report server and host settig all.
Can i upload log and settings as file attached?

I need help for this. I will be back.


-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.org";
Cc:
Sent: 2023-10-03 (화) 16:28:26 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

Hi Jeojong,

Since you mentioned the management server IP is reachable from the SSVM I am 
not sure why this error should appear, can you check the port connectivity? I 
am assuming you are not using a hostname?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 11:58 AM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi  Jithin Raju
error messages from cloud.log:

2023-10-03 04:17:26,867 INFO  [utils.nio.NioClient] (main:null) Connecting to 
serverIP:8250
2023-10-03 04:17:29,935 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.net.NoRouteToHostException: No route to host
   at java.base/sun.nio.ch.Net.connect0(Native Method)
   at java.base/sun.nio.ch.Net.connect(Net.java:483)
   at java.base/sun.nio.ch.Net.connect(Net.java:472)
   at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
   at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
   at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
   at com.cloud.agent.Agent.start(Agent.java:283)
   at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
   at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
   at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
   at com.cloud.agent.AgentShell.start(AgentShell.java:511)
   at com.cloud.agent.AgentShell.main(AgentShell.java:541)
2023-10-03 04:17:29,939 WARN  [cloud.agent.Agent] (main:null) NIO Connection 
Exception  com.cloud.utils.exception.NioConnectionException: No route to host
...
2023-10-03 04:17:37,999 INFO  [cloud.agent.Agent] (main:null) Attempted to 
connect to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
   at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
   at com.cloud.agent.Agent.start(Agent.java:294)
   at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
   at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
   at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
   at com.cloud.agent.AgentShell.start(AgentShell.java:511)
   at com.cloud.agent.AgentShell.main(AgentShell.java:541)
Caused by: java.net.NoRouteToHostException: No route to host
   at java.base/sun.nio.ch.Net.connect0(Native Method)
   at java.base/sun.nio.ch.Net.connect(Net.java:483)
   at java.base/sun.nio.ch.Net.connect(Net.java:472)
   at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
   at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
   at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
   ... 6 more
.
2023-10-03 04:17:44,187 INFO  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) found 3 
templates[/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/3/db2b01f1-5a4f-44b5-a0e7-bd2dac5c3b6e.qcow2,
 /mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4/, 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202/]
2023-10-03 04:17:44,195 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4
2023-10-03 04:17:44,197 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202
.
2023-10-03 04:17:49,170 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-2:null) Download Completion for jobId: 
5b5d49d2-284f-4300-a428-1e9f38a7a8c6, status=UNRECOVERABLE_ERROR
2023-10-03 04:17:49,171 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-1:null) Download Completion for jobId: 
6f7be7ed-259e-4ca3-b803-326ad779ae3b, status=UNRECOVERABLE_ERROR
2023-10-03 04:17:49,176 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-1:null) local: 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4/dnld4779556823249392615tmp_,
 bytes=(0 bytes) 0, error=No route to host (Host unreachable), pct=0
2023-10-03 04:17:49,177 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-2:null) local: 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202/dnld1894069453551272666tmp_,
 bytes=(0 bytes) 0, error=No route to host (Host unreachable), pct=0

thanks!!




-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.o

Re: Management server not connected from SSVM

2023-10-03 Thread Jithin Raju
Hi Jeojong,

Since you mentioned the management server IP is reachable from the SSVM I am 
not sure why this error should appear, can you check the port connectivity? I 
am assuming you are not using a hostname?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 11:58 AM
To: users@cloudstack.apache.org 
Subject: Re: Management server not connected from SSVM
Hi  Jithin Raju
error messages from cloud.log:

2023-10-03 04:17:26,867 INFO  [utils.nio.NioClient] (main:null) Connecting to 
serverIP:8250
2023-10-03 04:17:29,935 ERROR [utils.nio.NioConnection] (main:null) Unable to 
initialize the threads.
java.net.NoRouteToHostException: No route to host
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:483)
at java.base/sun.nio.ch.Net.connect(Net.java:472)
at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
at com.cloud.agent.Agent.start(Agent.java:283)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
at com.cloud.agent.AgentShell.start(AgentShell.java:511)
at com.cloud.agent.AgentShell.main(AgentShell.java:541)
2023-10-03 04:17:29,939 WARN  [cloud.agent.Agent] (main:null) NIO Connection 
Exception  com.cloud.utils.exception.NioConnectionException: No route to host
...
2023-10-03 04:17:37,999 INFO  [cloud.agent.Agent] (main:null) Attempted to 
connect to the server, but received an unexpected exception, trying again...
com.cloud.utils.exception.NioConnectionException: No route to host
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:101)
at com.cloud.agent.Agent.start(Agent.java:294)
at com.cloud.agent.AgentShell.launchNewAgent(AgentShell.java:454)
at 
com.cloud.agent.AgentShell.launchAgentFromClassInfo(AgentShell.java:431)
at com.cloud.agent.AgentShell.launchAgent(AgentShell.java:415)
at com.cloud.agent.AgentShell.start(AgentShell.java:511)
at com.cloud.agent.AgentShell.main(AgentShell.java:541)
Caused by: java.net.NoRouteToHostException: No route to host
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Net.java:483)
at java.base/sun.nio.ch.Net.connect(Net.java:472)
at 
java.base/sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:692)
at com.cloud.utils.nio.NioClient.init(NioClient.java:56)
at com.cloud.utils.nio.NioConnection.start(NioConnection.java:95)
... 6 more
.
2023-10-03 04:17:44,187 INFO  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) found 3 
templates[/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/3/db2b01f1-5a4f-44b5-a0e7-bd2dac5c3b6e.qcow2,
 /mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4/, 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202/]
2023-10-03 04:17:44,195 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4
2023-10-03 04:17:44,197 WARN  [storage.template.DownloadManagerImpl] 
(agentRequest-Handler-2:null) Post download installation was not completed for 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202
.
2023-10-03 04:17:49,170 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-2:null) Download Completion for jobId: 
5b5d49d2-284f-4300-a428-1e9f38a7a8c6, status=UNRECOVERABLE_ERROR
2023-10-03 04:17:49,171 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-1:null) Download Completion for jobId: 
6f7be7ed-259e-4ca3-b803-326ad779ae3b, status=UNRECOVERABLE_ERROR
2023-10-03 04:17:49,176 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-1:null) local: 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/4/dnld4779556823249392615tmp_,
 bytes=(0 bytes) 0, error=No route to host (Host unreachable), pct=0
2023-10-03 04:17:49,177 INFO  [storage.template.DownloadManagerImpl] 
(pool-1-thread-2:null) local: 
/mnt/SecStorage/7d99d8d2-539f-3850-8a7c-7ec93eec7ea7/template/tmpl/1/202/dnld1894069453551272666tmp_,
 bytes=(0 bytes) 0, error=No route to host (Host unreachable), pct=0

thanks!!

 


-Original Message-
From: "Jithin Raju"
To: "users@cloudstack.apache.org";
Cc:
Sent: 2023-10-03 (화) 15:03:39 (GMT+09:00)
Subject: Re: Management server not connected from SSVM

Hi Jaejong,

If the SSVM can connect the management server the SSVM agent should get 
connected, any errors you can see in the cloud.log in SSVM?

-Jithin

From: jaejong 
Date: Tuesday, 3 October 2023 at 11:28