You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "JimmyXC (via GitHub)" <gi...@apache.org> on 2025/07/14 06:07:11 UTC

[I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

JimmyXC opened a new issue, #11189:
URL: https://github.com/apache/cloudstack/issues/11189

   the error logs is:
   
   management:
   2025-07-14 10:25:12,700 DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Work-Job-Executor-104:[ctx-3bf785c1, job-32830/job-32934, ctx-9561ed64]) (logid:0f1b8fc3) Trying to deploy VM [error decoding VM instance {"id":10968,"instanceName":"v-10968-VM","type":"ConsoleProxy","uuid":"658eb9a2-9dcf-47be-93e2-0ed40e15f057"}] and details: Plan [error decoding {"_clusterId":null,"_dcId":1,"_physicalNetworkId":null,"_podId":null,"_poolId":null,"migrationPlan":false}]; avoid list [{}] and planner: [].
   
   agent:
   2025-07-14 10:07:15,001 ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Unable to retrieve the CPU speed from lscpu. java.lang.NullPointerException
   2025-07-14 10:07:15,002 ERROR [utils.linux.KVMHostInfo] (Agent-Handler-1:[]) (logid:) Unable to retrieve the CPU speed from file [/sys/devices/system/cpu/cpu0/cpufreq/base_frequency] java.io.FileNotFoundException: /sys/devices/system/cpu/cpu0/cpufreq/base_frequency (no such files or dirs)
   2025-07-14 10:07:17,196 ERROR [cloud.agent.Agent] (agentRequest-Handler-4:[]) (logid:b884d36c) Unexpected arch null, expected aarch64


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3095003547

   > [@JimmyXC](https://github.com/JimmyXC) it is weird that when running manually you're getting correct result for `/usr/bin/arch` but it fails from the agent,
   > 
   > ```
   > 2025-07-14 10:07:17,196 ERROR [cloud.agent.Agent] (agentRequest-Handler-4:[]) (logid:b884d36c) Unexpected arch null, expected aarch64
   > ```
   > 
   > Do try a newer Ubuntu version as Daan suggested, otherwise it would be good if you could share the agent logs with DEBUG enabled.
   
   @shwstppr 
   Is there documentation available for compiling and installing from source, particularly when modifying architecture validation code and deploying after Maven builds?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3106839920

   @JimmyXC also, can you please check and share what is the value of `arch` shown in the UI for the host or by listHosts API?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3067951466

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3082888577

   > [@JimmyXC](https://github.com/JimmyXC) what version are you using? Also, can you share details about your host and output of the following on it,
   > 
   > ```
   > /usr/bin/arch
   > ```
   
   /usr/bin/arch output is
   arrch64
    
   the host info:
   system: arm64 ubuntu20.04,kernel is 5.10
   cpu: phytium s5000-c


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3106786543

   @JimmyXC , can you try #11254 it seems to be addressing a similar issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3088237117

   > [@JimmyXC](https://github.com/JimmyXC) , can you try with ubuntu 22.04 or 24.04?
   
   Does Cloudstack 4.20.0.0 not support Ubuntu 20.04?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "sureshanaparti (via GitHub)" <gi...@apache.org>.
sureshanaparti closed issue #11189: ARM64 ubuntu20.04 system, failed to auto create system vms.
URL: https://github.com/apache/cloudstack/issues/11189


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3103632124

   @JimmyXC , 
   You have a DB initialisation error. There are Spring and SQL exceptions from the start of your log, which usually means a DB configuration error. 
   Next, it looks like your systemvm template is the x86 version. I think an arm64 version is needed. It might be that x86 is just the default as nothing is loaded in the first place due to the errors above.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3083912802

   @JimmyXC , can you try with ubuntu 22.04 or 24.04?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3094964176

   > [@JimmyXC](https://github.com/JimmyXC) it is weird that when running manually you're getting correct result for `/usr/bin/arch` but it fails from the agent,
   > 
   > ```
   > 2025-07-14 10:07:17,196 ERROR [cloud.agent.Agent] (agentRequest-Handler-4:[]) (logid:b884d36c) Unexpected arch null, expected aarch64
   > ```
   > 
   > Do try a newer Ubuntu version as Daan suggested, otherwise it would be good if you could share the agent logs with DEBUG enabled.
   
   @shwstppr 
   Thanks, and i will accept Daan sugggested to try on ubuntu 24.04.2. If it's still reporting errors, i wiil upload the agent and management logs to you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3095161091

   @JimmyXC you can replace jars on agent ormanagement server after maven build.
   I don't remember any specific documentation for this but you can check,
   https://github.com/shapeblue/hackerbook/blob/main/2-dev.md
   https://github.com/shapeblue/mbx
   https://github.com/shapeblue/mbx/blob/main/files/aliasrc#L43


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3106399267

   > [@JimmyXC](https://github.com/JimmyXC) , You have a DB initialisation error. There are Spring and SQL exceptions from the start of your log, which usually means a DB configuration error. Next, it looks like your systemvm template is the x86 version. I think an arm64 version is needed. It might be that x86 is just the default as nothing is loaded in the first place due to the errors above.
   
   Yes, the problem lies in the architecture recognition issue. We confirmed that the uploaded template file is for arm64, but it seems that the code fails to recognize the current system's architecture and thus defaults to x86.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3078123512

   @JimmyXC what version are you using?
   Also, can you share details about your host and output of the following on it,
   ```
   /usr/bin/arch
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "DaanHoogland (via GitHub)" <gi...@apache.org>.
DaanHoogland commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3088743557

   It should but I hear ubuntu 20.04 on arm is not as well functioning as hypervisor.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3095849380

   > It should but I hear ubuntu 20.04 on arm is not as well functioning as hypervisor.
   
   @shwstppr 
   @DaanHoogland 
   I updated the system to 24.04.2, but the errors still existed.
   
   the agent error images:
   
   <img width="1521" height="273" alt="Image" src="https://github.com/user-attachments/assets/a87a1580-2152-4be2-a309-098c582713d4" />
   
   <img width="947" height="103" alt="Image" src="https://github.com/user-attachments/assets/1a601073-5536-424a-b92e-94fea98a1bc7" />
   
   <img width="947" height="103" alt="Image" src="https://github.com/user-attachments/assets/5fe8e748-8d29-4f00-a361-86c8b59ca1b6" />
   
   
   the is the error logs file:
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "JimmyXC (via GitHub)" <gi...@apache.org>.
JimmyXC commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3088788091

   > It should but I hear ubuntu 20.04 on arm is not as well functioning as hypervisor.
   
   @DaanHoogland 
   Thank you, and i will try it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] ARM64 ubuntu20.04 system, failed to auto create system vms. [cloudstack]

Posted by "shwstppr (via GitHub)" <gi...@apache.org>.
shwstppr commented on issue #11189:
URL: https://github.com/apache/cloudstack/issues/11189#issuecomment-3089291268

   @JimmyXC it is weird that when running manually you're getting correct result for `/usr/bin/arch` but it fails from the agent,
   ```
   2025-07-14 10:07:17,196 ERROR [cloud.agent.Agent] (agentRequest-Handler-4:[]) (logid:b884d36c) Unexpected arch null, expected aarch64
   ```
   Do try a newer Ubuntu version as Daan suggested, otherwise it would be good if you could share the agent logs with DEBUG enabled.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org