State: vm snapshoting and resume are working, but everything is still in a very hacky state.

Project Description

The build script (which is used in OBS, osc and pbuild) already supports the usage of preinstall images. These are bascially tar balls which get extracted instead of preinstall and install packages. This is speeding up the build, because no database operations and no scripts need to run.

The goal of the project is to go one step further and to convert these to entire VM snapshots. As a consequence all variable data, like the source and additional packages of the build need to be delivered to the VM via a hotplug device.

This has a number of positive consequences:

  • Much of the IO spend on preparing the VM can be saved
  • Kernel is already booted and reduces the startup time further
  • The isolation of variable data solves the problems of reusing the VM with changed sources for local builds. => No more errors when doing builds as user without root permissions

Goal for this Hackweek

Current state can be found here: https://github.com/adrianschroeter/obs-build/tree/vm

open topics

  • cleanup code to make it mergeable
  • add support in obs-worker
  • SOLVED (create some tooling to convert tar balls to ext filesystem without requiring root permissions and without loosing inode informations like ownership, attributes and so on)

Looking for hackers with the skills:

obs kvm kitebuilding pbuild

This project is part of:

Hack Week 20

Activity

  • almost 2 years ago: okurz liked this project.
  • almost 2 years ago: adrianSuSE added keyword "obs" to this project.
  • almost 2 years ago: adrianSuSE added keyword "kvm" to this project.
  • almost 2 years ago: adrianSuSE added keyword "kitebuilding" to this project.
  • almost 2 years ago: adrianSuSE added keyword "pbuild" to this project.
  • almost 2 years ago: adrianSuSE started this project.
  • almost 2 years ago: adrianSuSE originated this project.

  • Comments

    Be the first to comment!

    Similar Projects

    OSSelot collaboration on legal reviews of community packages by lkocman

    [comment]: # (Please use the project descriptio...


    Improve error handling of the '/search' API endpoints of OBS by enavarro_suse

    Project Description

    Improve error handlin...


    Explore the integration between OBS and GitHub by pdostal

    Project Description

    The goals:

    1) When...


    A CLI for Harvester by mohamed.belgaied

    [comment]: # Harvester does not officially come...