GitHub user joan-911 created a discussion: Cloud-init fails to detect 
DataSourceCloudStack on AlmaLinux 10 / CentOS 10 – CloudStack 4.22 (XCP-ng 
8.2.1, Isolated Network)


We are attempting to integrate cloud-init with AlmaLinux 10 / CentOS 10 
templates on CloudStack 4.22. However, cloud-init fails to detect the 
CloudStack datasource.

Environment

CloudStack: 4.22
Hypervisor: XCP-ng 8.2.1
Network Type: Isolated Network (VR based)

Template OS: AlmaLinux 10

Issue Details

During cloud-init execution, we see:
Did not detect DataSourceCloudStack

>From debug logs:

Searching for network data source in: ['DataSourceCloudStack', 'DataSourceNone']
start: init-network/search-CloudStack
Did not detect DataSourceCloudStack

Additionally, on default installation of cloud-init in AlmaLinux 10, the 
service initially fails due to a dhcpcd error.

We applied the workaround described here:
https://github.com/canonical/cloud-init/issues/6679

After applying the fix:

The dhcpcd error is resolved
However, cloud-init still does NOT detect the CloudStack datasource
VM does not receive metadata from Virtual Router


Has anyone successfully integrated cloud-init with AlmaLinux 10 or CentOS 10 on 
CloudStack 4.22?


GitHub link: https://github.com/apache/cloudstack/discussions/12732

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to