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

Cleanup frequence configurable #392

Open
simonelbaz opened this issue Jan 22, 2025 · 0 comments
Open

Cleanup frequence configurable #392

simonelbaz opened this issue Jan 22, 2025 · 0 comments

Comments

@simonelbaz
Copy link

simonelbaz commented Jan 22, 2025

What feature do you want to see added?

By default, JCloudsCleanupThread is launched every 10 minutes to clean provisioned servers and FIP.

I would like to make this frequency cleaning configurable through the web UI for each cloud (cleanfreq, 10 secondes by default).

After discussion with @msegura, the JCloudsCleanupThread recurrence period would be set to 1 second by default.

Each second, this thread would verify the time elapsed since the last cloud cleanup (new JCloudsCloud attribute: lastCleanTime).

After cleanseq seconds, the cleaning operation would be carried on.

Moreover, the FIP cleaning would be executed only if at least one server has been deleted. (this change is no more relevant because its breaks many tests)

Upstream changes

  • web UI
  • unit tests
  • CASC yaml

Are you interested in contributing this feature?

Yes

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