Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudstack 4.20 - Configuration Wizard fails on aarch64 host (management server and kvm host) #10014

Open
Somaimo opened this issue Nov 29, 2024 · 8 comments · May be fixed by #10080
Open

Cloudstack 4.20 - Configuration Wizard fails on aarch64 host (management server and kvm host) #10014

Somaimo opened this issue Nov 29, 2024 · 8 comments · May be fixed by #10080

Comments

@Somaimo
Copy link

Somaimo commented Nov 29, 2024

ISSUE TYPE
  • Bug Report
COMPONENT NAME
User Interface
CLOUDSTACK VERSION
4.20.0 RC3
CONFIGURATION

New installation on arm64 Hardware (Radxa Rock 5B (but I don't think this matters). With the Management Server and KVM Host on the same hardware (as a test environment).

OS / ENVIRONMENT

Ubuntu 24.04

SUMMARY

The configuration wizard on a new installation, after log in, fails to add a host, because the wizard seems to set the cluster architecture to x86_64 and the kvm host is aarch64. The wizard also doesn't allow an option to change the architecture type on the cluster. A corresponding error message also is logged in the management-server.log

STEPS TO REPRODUCE
Install a new management server (either on amd64 or aarch64 hardware) and install a new kvm host on aarch64 hardware. Use the configuration wizard on the user interface to create a new zone, pod, cluster and add the kvm host. The process should timeout at "Adding host".
EXPECTED RESULTS
Able to set the cpu architecture during the cluster creation step in the configuration wizard.
ACTUAL RESULTS
No optionto set the cpu architecture for the cluster in the configuration wizard
Copy link

boring-cyborg bot commented Nov 29, 2024

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

@weizhouapache
Copy link
Member

I can see the Arch field when add a new cluster, maybe it is just missed in the zone wizard

maybe @nvazquez can advise.
cc @DaanHoogland

@Somaimo
Copy link
Author

Somaimo commented Nov 29, 2024

I think you''re right, Wei. It must be something in the zone wizard. I just quickly had a looked at the code and maybe it has something to do with this file:

https://github.com/apache/cloudstack/blob/main/ui/src/views/infra/zone/ZoneWizardAddResources.vue

@nvazquez
Copy link
Contributor

Hi @Somaimo - indeed the zone wizard is missing the option. As a workaround you can add clusters and hosts selecting the arch type from the clusters and hosts view

@Somaimo
Copy link
Author

Somaimo commented Nov 29, 2024

Thanks @nvazquez, I already did that and it worked flawlessly. Thanks for the help.

@rohityadavcloud rohityadavcloud added this to the 4.20.1 milestone Dec 1, 2024
@rohityadavcloud
Copy link
Member

Thanks for the issue report @Somaimo I think we still assume the primary zone that anybody already had or will start using ACS with is x86 which is why the zone wizard doesn't support it yet and the cluster option allows to later add/support aarch64 clusters/hosts. We should be able to fix this easily by allowing arch option in the cluster step of the zone creation wizard UI.

@nvazquez
Copy link
Contributor

Hi @Somaimo I have created this PR to address the missing field issue on the zone creation wizard: #10080. Can you please review it? It will be targeted for 4.20.1

@Somaimo
Copy link
Author

Somaimo commented Dec 11, 2024

Hi @nvazquez, looks good and works like a charm on my infrastructure. Thanks a lot for the great work.

@DaanHoogland DaanHoogland linked a pull request Dec 11, 2024 that will close this issue
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants