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

B #6472: Fix remove_off_hosts() #6473

Closed

Conversation

atodorov-storpool
Copy link
Contributor

Return only the hosts in ON or UPDATE state (ONLINE or MONITORING_UPDATE). The original logic include the INIT state too, but there is a possibility that a host could become in ERROR state on failed INIT.

Description

Branches to which this PR applies

  • master
  • one-X.X

  • Check this if this PR should not be squashed

Return only the hosts in ON or UPDATE state (ONLINE or MONITORING_UPDATE).
The original logic include the INIT state too, but there is a possibility that a host could become in ERROR state on failed INIT.
@MarioRobres MarioRobres self-assigned this Mar 1, 2024
@MarioRobres MarioRobres linked an issue Mar 1, 2024 that may be closed by this pull request
3 tasks
@MarioRobres MarioRobres closed this Mar 1, 2024
@MarioRobres MarioRobres reopened this Mar 1, 2024
@MarioRobres
Copy link
Contributor

Hi @atodorov-storpool! Thanks for your input on the ticket and this PR. We've pursued a similar approach to yours, but with some adjustments. Our goal was to address this bug while preserving the original function's logic. However, your contribution shed light on an important issue with how different options were handled in the filtering process. We appreciate your contribution.

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.

2 participants