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

Disk & Network setup status #2956

Open
phillxnet opened this issue Feb 18, 2025 · 0 comments
Open

Disk & Network setup status #2956

phillxnet opened this issue Feb 18, 2025 · 0 comments

Comments

@phillxnet
Copy link
Member

We have two unused boolean fields in our storageadmin.Setup model that could serve us well as we move to a more multi-threaded arrangement such as is proposed in "Move to ASGI using Daphne #2941" & "Replace supervisord with further systemd intergration #2650"

  • setup_disks = models.BooleanField(default=False)
  • setup_network = models.BooleanField(default=False)

The existing used fields in this same model are:

  • setup_user = models.BooleanField(default=False)
  • setup_system = models.BooleanField(default=False)

It is proposed that we use these fields to indicate in-progress modifications to these major critical subsystems: enabling a shared overview mechanism where-by any associated changes can first check to ensure the relevant field is not False: indicating a setup/modification is in-progress. I.e. when-ever we are about to make such changes we can toggle the associated field to False, make the changes, then return to a True state upon the changes having been applied.


Linking to the associated setup stage indicated within our docs: https://rockstor.com/docs/installation/installer-howto.html#rockstor-setup-and-eula that uses the user & system flags within this model.

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

No branches or pull requests

1 participant