Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE REQUEST] Add support for transactional systems, like openSUSE MicroOS #58519

Closed
aplanas opened this issue Sep 22, 2020 · 1 comment · Fixed by #58520
Closed

[FEATURE REQUEST] Add support for transactional systems, like openSUSE MicroOS #58519

aplanas opened this issue Sep 22, 2020 · 1 comment · Fixed by #58520
Assignees
Labels
Feature new functionality including changes to functionality and code refactors, etc. Silicon v3004.0 Release code name

Comments

@aplanas
Copy link
Contributor

aplanas commented Sep 22, 2020

Transactional systems, like MicroOS, provide a read-only rootfs and a cli tool (transactional-update) to manage the system (update, install new packages, etc).

Each change in this system become a snapper snapshot, that needs to be activated after a reboot.

Currently Salt do not support this kind of systems.

@aplanas aplanas added the Feature new functionality including changes to functionality and code refactors, etc. label Sep 22, 2020
@sagetherage sagetherage added this to the Approved milestone Sep 23, 2020
meaksh pushed a commit to meaksh/salt that referenced this issue Oct 20, 2020
* Add rebootmgr module

* Add transactional_update module

* chroot: add chroot detector

* systemd: add offline mode detector

* transactional_update: add pending_transaction detector

* extra: add EFI and transactional grains

* transactional_update: add call, apply_, sls & highstate

* transactional_update: add documentation

* transactional_update: add executor

* Add changelog entry 58519.added

Closes saltstack#58519

* transactional_update: update the cleanups family

* transactional_update: add activate_transaction param

* transactional_update: skip tests on Windows
@sagetherage sagetherage added phase-plan Aluminium Release Post Mg and Pre Si labels Dec 14, 2020
@sagetherage sagetherage removed this from the Approved milestone Dec 14, 2020
@sagetherage sagetherage added Silicon v3004.0 Release code name and removed Aluminium Release Post Mg and Pre Si phase-execute labels Mar 24, 2021
@sagetherage sagetherage modified the milestones: Aluminium, Silicon Mar 24, 2021
@sagetherage
Copy link
Contributor

we did get this into Aluminium, work is still in progress, but it will be released in the next major release - Silicon

meaksh pushed a commit to meaksh/salt that referenced this issue Apr 13, 2021
* Add rebootmgr module

* Add transactional_update module

* chroot: add chroot detector

* systemd: add offline mode detector

* transactional_update: add pending_transaction detector

* extra: add EFI and transactional grains

* transactional_update: add call, apply_, sls & highstate

* transactional_update: add documentation

* transactional_update: add executor

* Add changelog entry 58519.added

Closes saltstack#58519

* transactional_update: update the cleanups family

* transactional_update: add activate_transaction param

* transactional_update: skip tests on Windows
agraul pushed a commit to agraul/salt that referenced this issue Jun 25, 2021
* Add rebootmgr module

* Add transactional_update module

* chroot: add chroot detector

* systemd: add offline mode detector

* transactional_update: add pending_transaction detector

* extra: add EFI and transactional grains

* transactional_update: add call, apply_, sls & highstate

* transactional_update: add documentation

* transactional_update: add executor

* Add changelog entry 58519.added

Closes saltstack#58519

* transactional_update: update the cleanups family

* transactional_update: add activate_transaction param

* transactional_update: skip tests on Windows
aplanas added a commit to aplanas/salt that referenced this issue Jul 7, 2021
aplanas added a commit to aplanas/salt that referenced this issue Jul 8, 2021
aplanas added a commit to aplanas/salt that referenced this issue Jul 13, 2021
aplanas added a commit to aplanas/salt that referenced this issue Jul 19, 2021
aplanas added a commit to aplanas/salt that referenced this issue Jul 26, 2021
aplanas added a commit to aplanas/salt that referenced this issue Aug 24, 2021
Ch3LL pushed a commit that referenced this issue Aug 24, 2021
dwoz pushed a commit to dwoz/salt that referenced this issue Sep 12, 2021
agraul added a commit to agraul/salt that referenced this issue Jan 21, 2022
Add rebootmgr module

Add transactional_update module

chroot: add chroot detector

systemd: add offline mode detector

transactional_update: add pending_transaction detector

extra: add EFI and transactional grains

transactional_update: add call, apply_, sls & highstate

transactional_update: add documentation

transactional_update: add executor

Add changelog entry 58519.added

Closes saltstack#58519

transactional_update: update the cleanups family

transactional_update: add activate_transaction param

transactional_update: skip tests on Windows

transactional_update: unify with chroot.call

Return for both .call() "retcode" when fail

Add MicroOS information in release note

systemd: support NamedLoaderContext

transactional_update: detect recursion in the executor

Handle master tops data when states are applied by transactional_update

Fix unit tests for transactional_update module

Do noop for services states when running systemd in offline mode

transactional_updates: do not execute states in parallel but use a queue

Add changes suggested by pre-commit

Fix unit tests for transactional_updates module

Add unit tests to cover queue cases on transaction_update states

Refactor offline checkers and add unit tests

Fix regression that always consider offline mode

Add proper mocking and skip tests when running in offline mode

Fix failing unit tests for systemd

test_rebootmgr: convert to pytest

test_transactional_update: convert to pytest

Update release documentation to 3004
cbosdo pushed a commit to cbosdo/salt that referenced this issue Feb 2, 2022
Add rebootmgr module

Add transactional_update module

chroot: add chroot detector

systemd: add offline mode detector

transactional_update: add pending_transaction detector

extra: add EFI and transactional grains

transactional_update: add call, apply_, sls & highstate

transactional_update: add documentation

transactional_update: add executor

Add changelog entry 58519.added

Closes saltstack#58519

transactional_update: update the cleanups family

transactional_update: add activate_transaction param

transactional_update: skip tests on Windows

transactional_update: unify with chroot.call

Return for both .call() "retcode" when fail

Add MicroOS information in release note

systemd: support NamedLoaderContext

transactional_update: detect recursion in the executor

Handle master tops data when states are applied by transactional_update

Fix unit tests for transactional_update module

Do noop for services states when running systemd in offline mode

transactional_updates: do not execute states in parallel but use a queue

Add changes suggested by pre-commit

Fix unit tests for transactional_updates module

Add unit tests to cover queue cases on transaction_update states

Refactor offline checkers and add unit tests

Fix regression that always consider offline mode

Add proper mocking and skip tests when running in offline mode

Fix failing unit tests for systemd

test_rebootmgr: convert to pytest

test_transactional_update: convert to pytest

Update release documentation to 3004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature new functionality including changes to functionality and code refactors, etc. Silicon v3004.0 Release code name
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants