Skip to content

debian / libvirt / devconfig fixes

Luis Chamberlain kdevops 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6scripts/bringup_guestfs.sh: uninstall unattended-upgrades on debian guestsscripts/bringup_guestfs.sh+1 -00 replies
2/6devconfig: ensure unattended-upgrades is not installed on debianplaybooks/roles/devconfig/tasks/install-deps/debian/main.yml+22 -00 replies
3/6libvirt: use consistent pool path variables and use optional yaml outputkconfigs/Kconfig.guestfs kconfigs/Kconfig.libvirt scripts/bringup_guestfs.sh +7 more+21 -230 replies
4/6Kconfig: adopt output yaml for KDEVOPS_FIRST_RUNKconfig+1 -00 replies
5/6guestfs: add ansible group permisison check on libvirt system urikconfigs/Kconfig.guestfs playbooks/roles/bringup_guestfs/tasks/main.yml scripts/bringup_guestfs.sh +1 more+70 -44 replies
6/6gen_nodes: ensure kdevops prefix has no dashesplaybooks/roles/gen_nodes/tasks/main.yml+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] debian / libvirt / devconfig fixes

Here are a few enhancements to debian guests so to ensure we remove the unattended-upgrades package from the start so to prevent tons of silly issues it can create.

The next set of changes are related to the confusing way in which we define the kdevops storage pool path in one way in kconfig but use it differently in yaml / ansible. This then phases out a few commands from shell into ansible and adds sanity checks back, this shows how using ansible can be more precise.

Lastly, there's one generic fix for devconfig so we ensure we don't use dashes on the kdevops host prefix.

Luis Chamberlain (6):
scripts/bringup_guestfs.sh: uninstall unattended-upgrades on debian
guests
devconfig: ensure unattended-upgrades is not installed on debian
libvirt: use consistent pool path variables and use optional yaml
output
Kconfig: adopt output yaml for KDEVOPS_FIRST_RUN
guestfs: add ansible group permisison check on libvirt system uri
gen_nodes: ensure kdevops prefix has no dashes

 Kconfig                                       |  1 +
 kconfigs/Kconfig.guestfs                      | 15 +++++
 kconfigs/Kconfig.libvirt                      | 11 +++-
 .../roles/bringup_guestfs/tasks/main.yml      | 59 +++++++++++++++++++
 .../tasks/install-deps/debian/main.yml        | 22 +++++++
 playbooks/roles/gen_nodes/tasks/main.yml      |  5 ++
 scripts/bringup_guestfs.sh                    |  6 +-
 scripts/bringup_vagrant.sh                    |  2 +-
 scripts/destroy_guestfs.sh                    |  2 +-
 scripts/destroy_vagrant.sh                    |  2 +-
 scripts/gen-nodes.Makefile                    |  6 --
 scripts/guestfs.Makefile                      |  9 +--
 scripts/prune_stale_vagrant.sh                |  2 +-
 scripts/vagrant.Makefile                      |  5 --
 14 files changed, 120 insertions(+), 27 deletions(-)
Signature · 1 line
2.47.2