Skip to content

Flatcar kubevirt image doesn't apply ignition added via cloudInitDrive #1865

@PeaceRebel

Description

@PeaceRebel

Environment

  • Make target: PACKER_FLAGS="--var 'kubernetes_semver=v1.34.0'" make build-kubevirt-qemu-flatcar
  • **Run using container image? (Y/N):N
  • Environment vars:
  • Vars file:

What steps did you take and what happened?

Built the image using the above mentioned command, created a container disk with the generated and used it as node image for a cluster following this doc and using flatcar template. Cannot ssh to the vm and the controlplane is not initialized.

What did you expect to happen?

Ignition should be applied and controlplane initialized.

Relevant log output

Log Output
<!--
If you have any relevant build logs that could help debug this issue please include them here
but MAKE SURE ANY SENSITIVE INFO IS REMOVED!
-->

Anything else you would like to add?

Qemu guest agent was connected, tried retrieving the authorized keys for user core, there none. I could ssh to the VM after adding keys via the agent. Also, noticed that the flatcar.oem.id=kubevirt kargs was missing on the built image.


/kind bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions