public inbox for kdevops@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/9] Fix guestfs custom-image path
@ 2025-08-20 12:51 Daniel Gomez
  2025-08-20 12:51 ` [PATCH 1/9] guestfs: base_image: fix custom-image include_tasks filename Daniel Gomez
                   ` (9 more replies)
  0 siblings, 10 replies; 13+ messages in thread
From: Daniel Gomez @ 2025-08-20 12:51 UTC (permalink / raw)
  To: Luis Chamberlain, Chuck Lever; +Cc: kdevops, Daniel Gomez

After upgrading CI host to Debian forky, multiple guestfs custom image
path issues were found. This series fixes VM bringup problems affecting
Debian guests.

Core Issues Fixed:
- Custom image path stuck at small download sizes (no resize support)
- Locale warnings during SSH connections ("cannot change locale")
- Missing dhcpcd-base dependency breaking VM networking
- Permission errors in CI environments for custom image setup
- SSH key injection failing due to missing kdevops user
- Variable scoping conflicts causing task failures
- Missing Kconfig YAML exports preventing custom image workflow

Infrastructure Improvements:
- Unified LIBVIRT_IMAGE_SIZE configuration for consistent disk sizing
- Comprehensive locale fixes for both new and existing VMs
- Proper privilege escalation patterns for libvirt system vs session modes
- Fixed template paths and variable naming conflicts

This enables reliable custom Debian image deployment across different
host configurations while maintaining compatibility with existing base
image workflows.

Signed-off-by: Daniel Gomez <da.gomez@samsung.com>
---
Daniel Gomez (9):
      guestfs: base_image: fix custom-image include_tasks filename
      guestfs: export kconfig yaml missing variables
      base_image: fix template dest fields in custom-image task
      base_image: custom-image: fix variable scoping conflicts
      guestfs: bringup: fix ssh key injection
      base_image: add become privileges for custom image setup
      guestfs: debian: ensure dhcpcd-base runtime dependency
      guestfs: add unified LIBVIRT_IMAGE_SIZE configuration
      guestfs: fix locale warnings in VM deployments

 kconfigs/Kconfig.guestfs                           |   6 ++
 kconfigs/Kconfig.libvirt                           |  10 ++
 playbooks/roles/base_image/tasks/base-image.yml    |   4 +-
 playbooks/roles/base_image/tasks/custom-image.yml  | 119 ++++++++++++++++++---
 playbooks/roles/base_image/tasks/main.yml          |   2 +-
 .../roles/base_image/templates/virt-builder.j2     |   5 +-
 playbooks/roles/devconfig/tasks/main.yml           |  42 ++++++++
 .../guestfs/tasks/install-deps/debian/main.yml     |   1 +
 playbooks/roles/guestfs/tasks/main.yml             |  12 +++
 9 files changed, 184 insertions(+), 17 deletions(-)
---
base-commit: 548ce76b7a32f3327ed6bee37298ddc4af7be260
change-id: 20250820-guestfs-custom-image-fixes-ec6a8d1aa36f

Best regards,
--  
Daniel Gomez <da.gomez@samsung.com>


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2025-08-21  8:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-20 12:51 [PATCH 0/9] Fix guestfs custom-image path Daniel Gomez
2025-08-20 12:51 ` [PATCH 1/9] guestfs: base_image: fix custom-image include_tasks filename Daniel Gomez
2025-08-20 12:51 ` [PATCH 2/9] guestfs: export kconfig yaml missing variables Daniel Gomez
2025-08-20 12:51 ` [PATCH 3/9] base_image: fix template dest fields in custom-image task Daniel Gomez
2025-08-20 13:29   ` Chuck Lever
2025-08-21  8:22     ` Daniel Gomez
2025-08-20 12:51 ` [PATCH 4/9] base_image: custom-image: fix variable scoping conflicts Daniel Gomez
2025-08-20 12:51 ` [PATCH 5/9] guestfs: bringup: fix ssh key injection Daniel Gomez
2025-08-20 12:51 ` [PATCH 6/9] base_image: add become privileges for custom image setup Daniel Gomez
2025-08-20 12:51 ` [PATCH 7/9] guestfs: debian: ensure dhcpcd-base runtime dependency Daniel Gomez
2025-08-20 12:51 ` [PATCH 8/9] guestfs: add unified LIBVIRT_IMAGE_SIZE configuration Daniel Gomez
2025-08-20 12:51 ` [PATCH 9/9] guestfs: fix locale warnings in VM deployments Daniel Gomez
2025-08-21  7:26 ` [PATCH 0/9] Fix guestfs custom-image path Daniel Gomez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox