Skip to content

log_util.py[WARNING]: Getting data from <class 'cloudinit.sources.DataSourceCloudStack.DataSourceCloudStack'> failed #12202

Closed

Description

@cyberworm54

problem

It seems like rhel-10/fedora-43/centos-10 when using cloud init are getting:
Subp.py[WARNING]: Running invalid command: ['dhcpcd', '--dumplease', '--ipv4only', <cloudinit.distros.rhel.Distro object at 0x7f582204d040>]

Log_util.py[WARNING]: Getting data from <class 'cloudinit.sources.'DataSourceCloudStack.DataSourceCloudStack'> failed

It seems like the ssh keys are not getting injected on these platforms. Debian works just fine and injects the key using cloud-init without an issue.

Ex:

ci-info: no authorized SSH keys fingerprints found for user fedora
ci-info: no authorized SSH keys fingerprints found for user centos

debian injects keys just fine.

versions

4.22

The steps to reproduce the bug

  1. pull a centos-10/redhat-10/fedora-43 cloud image
  2. create a ssh key pair
  3. boot image with said ssh key
  4. key does not get injected
    ...

What to do about it?

No response

Activity

  1. boring-cyborg commented on Dec 6, 2025

    @boring-cyborg

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

  2. added this to the 4.22.1 milestone on Dec 8, 2025
  3. wido commented on Dec 9, 2025

    @wido
    Contributor

    This seems like a problem within the VM and cloud-init, the CloudStack Datasource isn't able to execute a command to find the VR.

    The CloudStack DataSource for cloud-init is not maintained directly at the project, but maintained at cloud-init: https://github.com/canonical/cloud-init

    It seems like the DataSource ( https://github.com/canonical/cloud-init/blob/main/cloudinit/sources/DataSourceCloudStack.py ) wants to retrieve some DHCP IPv4 details which fails, but I can't tell you why exactly.

  4. weizhouapache commented on Dec 9, 2025

    @weizhouapache
    Member

    @cyberworm54
    can you share more cloud-init logs ?

  5. locked and limited conversation to collaborators on Dec 10, 2025
  6. converted this issue into a discussion #12223 on Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions