Revisions of suse-migration-services

Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 13)
- Followup fix for the cleanup method
  Do not treat the lazy umount as an error condition and
  continue the cleanup of data. If a busy state cannot
  be resolved it will fail at a later stage which is fine.
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 12)
- Bump version: 2.1.2 → 2.1.3

- Fixed cleanup in container based migration
  prior deletion of the container storage it needs to
  be released from any mount process that could hold a
  busy state on it

- Fix ISO location logic in 99_migration
  There is code in the grub script which checks if the location of the installed live
  migration ISO file is on the same root device than (/). After the move of the
  installation target to "/migration-image", that location check is no longer needed.
  This commit drops the extra checks for /usr/share and /usr
  Co-authored-by: Marcus Schäfer <marcus.schaefer@gmail.com>

- Increase version for SLES15-Migration package
  The version of the SLES15-Migration package is taken from the
  kiwi image description. Thus the bump of the version has
  happened in this file. In addition a proper version constraint
  to the suse-migration-sle15-activation package was added
  due to the latest change from commit #1dbb055bc which now
  installs the migration live ISO from the SLES15-Migration
  package to /migration-image and no longer to /usr/share/migration-image
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 11)
- Bump version: 2.1.0 → 2.1.1

- Load lvm module in grub mode
  If the DMS live ISO loopback boot runs on a machine
  that has root (/) on LVM we need to load lvm in grub
  to be able to read from the root of the toplevel
  volume

- Install migration live image to /migration-image
  This change helps to run migrations on systems which stores
  /usr/share in a special way, e.g. as LVM volume or other
  type that cannot be read via the loopback grub or kexec
  method. This Fixes #277

- Add package sources for suse-migration-rpm
  The suse-migration-rpm package contains an OBS hook
  script which turns the migration live ISO image into
  a package named according to the name of the image
  name attribute. In our case: SLES15-Migration. The
  sources of this package was not maintained in any
  git repository but are tightly coupled to the live
  image build which resides here. Thus and to complete
  the source gap we have for the DMS this commit adds
  the sources for the meta package here

- Bump version: 2.0.41 → 2.1.0

- Added Test Plan
  Add information how to test the DMS
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 10)
- Install migration live image to /migration-image
  This change helps to run migrations on systems which stores
  /usr/share in a special way, e.g. as LVM volume or other
  type that cannot be read via the loopback grub or kexec
  method. This Fixes #277

- Add package sources for suse-migration-rpm
  The suse-migration-rpm package contains an OBS hook
  script which turns the migration live ISO image into
  a package named according to the name of the image
  name attribute. In our case: SLES15-Migration. The
  sources of this package was not maintained in any
  git repository but are tightly coupled to the live
  image build which resides here. Thus and to complete
  the source gap we have for the DMS this commit adds
  the sources for the meta package here
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 9)
- Bump version: 2.0.41 → 2.1.0

- Added Test Plan
  Add information how to test the DMS

- Bump version: 2.0.40 → 2.0.41

- Be more specific on the scope of the project
- Fix/Refactor DMS packaging
  Add tox target to test implementation against py 3.6 and 3.11 stack
  Actually also wanted to add py3.4 but none of the github runners
  offers such an old python stack
  Add mypy tests. This is enabled to make sure we get notified
  if static type checking is enabled in the code. In this case we
  will be able to check if the affected code part is allowed to
  use type checking because the pre-checks python code must not
  use this feature of python as it is expected to run on SLE12
  with py3.4
  Fixup the overall python packaging. The former version of the
  package stack duplicates the module code in conflicting packages
  and also packaged python byte code binaries. This commit
  refactors the packaging such that the python module code is
  packages as a proper %{pythons}-migration package which can
  build for different python versions. The spec file change
  is done in a similar way to allow SLE12 and SLE15 builds as
  we do it for other PCT python modules. The respective DMS
  packages suse-migration-services, suse-migration-pre-checks
  can now simply require the DMS python stack and package only
  the main entry-point commands and services. This also allows
  to add further implementations to the DMS without ending
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 7)
- Change package target for run_migration
  Provide run_migration with suse-migration-pre-checks
  This allows to simplify the suse-migration-rpm package
  to provide only an image binary and not any python
  specific code. The suse-migration-rpm now only manages
  dependencies and provides the image binary
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 2)
- update container kiwi file
  use suse-migration-services
Marcus Schäfer's avatar Marcus Schäfer (marcus.schaefer) committed (revision 1)
- Refactor packaging again
  Do not change spec file names to allow easier submission.
  Also make sure the package can build for SLE15 and SLE12.
  Consolidate new migrate tool as sub-package to
  suse-migration-services

- Update README
  Fix contents of the README, point to the SUSE docs and
  fix symlinks and other information

- Add success indicator flag file
  Added /var/log/distro_migration.exitcode to be written
  by the migrate service. The file contains the exit code
  from the zypper process and is used in the migrate tool
  to know about the overall state of the migration process.
  The migrate tool initializes the flag file with a failed
  value.

- Add migration tool
  The new design of the DMS is no longer based on a reboot
  procedure to start the migration. Instead we provide a tool
  that starts the migration container based and we stay on
  the system to migrate

- Add DMS SLE15 OCI container
  Inherited from the live ISO description but now available
  as an OCI container

- Refactor packaging for container services
  The current suse-migration-services package also packaged the
Displaying all 13 revisions
openSUSE Build Service is sponsored by