Skip to content

Warn user to reboot when reverting a snapset with in-use origin devices#39

Merged
bmr-cymru merged 8 commits intomainfrom
bmr-check-mounted-revert
Jun 10, 2024
Merged

Warn user to reboot when reverting a snapset with in-use origin devices#39
bmr-cymru merged 8 commits intomainfrom
bmr-check-mounted-revert

Conversation

@bmr-cymru
Copy link
Copy Markdown
Contributor

Revert operations require a reboot to take effect when the origin volumes are in use. Detect this in Manager.revert_snapshot_sets() and warn the user.

bmr-cymru added 2 commits June 8, 2024 17:20
Avoids confusion with the Manager.revert_snapshot_sets() interface.
This will be used to detect whether a snapshot set's origin is in use
when initiating a revert action.
@packit-as-a-service
Copy link
Copy Markdown

Congratulations! One of the builds has completed. 🍾

You can install the built RPMs by following these steps:

  • sudo yum install -y dnf-plugins-core on RHEL 8
  • sudo dnf install -y dnf-plugins-core on Fedora
  • dnf copr enable packit/snapshotmanager-snapm-39
  • And now you can install the packages.

Please note that the RPMs should be used only in a testing environment.

@bmr-cymru bmr-cymru force-pushed the bmr-check-mounted-revert branch from 276d228 to 28676c2 Compare June 8, 2024 16:43
Revert operations require a reboot to take effect when the origin
volumes are in use. Detect this in Manager.revert_snapshot_sets()
and warn the user.
@bmr-cymru bmr-cymru force-pushed the bmr-check-mounted-revert branch from 28676c2 to d5320fd Compare June 8, 2024 16:55
Allow reverting a single snapshot set by name or uuid. Multiple snapshot
sets can be reverted in a single operation as before by calling
Manager.revert_snapset() with a Selection argument.
@bmr-cymru bmr-cymru force-pushed the bmr-check-mounted-revert branch from ce3f90e to 08df509 Compare June 9, 2024 11:13
@bmr-cymru bmr-cymru force-pushed the bmr-check-mounted-revert branch from c284bf5 to 9dd980c Compare June 9, 2024 11:35
@bmr-cymru bmr-cymru force-pushed the bmr-check-mounted-revert branch from dc7af38 to 88d778b Compare June 10, 2024 14:59
@bmr-cymru bmr-cymru merged commit 88d778b into main Jun 10, 2024
@bmr-cymru bmr-cymru deleted the bmr-check-mounted-revert branch May 30, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant