Skip to content

[Backport into 5.21] disable HAC + set noobaa-core term grace to 1#1763

Merged
liranmauda merged 2 commits intonoobaa:5.21from
liranmauda:liran-backport-into-5.21
Jan 7, 2026
Merged

[Backport into 5.21] disable HAC + set noobaa-core term grace to 1#1763
liranmauda merged 2 commits intonoobaa:5.21from
liranmauda:liran-backport-into-5.21

Conversation

@liranmauda
Copy link
Contributor

Explain the changes

  1. disable HAC + set noobaa-core term grace to 1
  2. Changed DB PVC access mode to RWOP

Issues: Fixed #xxx / Gap #xxx

  1. https://issues.redhat.com/browse/DFBUGS-5060

- HAC can be enabled with the env HAC_ENABLED=true
- Also changed the default grace period of the HAC when enabled from 0 to 1. This change avoids force deletion of the pods, to prevent multiple containers running concurrently.
- The grace period can be set to 0 with the env HAC_FORCE_DELETE=true
- Also setting the terminationGracePeriodSeconds of noobaa-core to 1. By default this is 30 seconds. Since we don't have any handler in noobaa-core for SIGETRM, there isn't a need to wait 30 seconds before killing the container.

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
(cherry picked from commit 38294af)
Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
(cherry picked from commit 5e2d253)
@coderabbitai
Copy link

coderabbitai bot commented Jan 7, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • master

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@liranmauda liranmauda merged commit cab96cb into noobaa:5.21 Jan 7, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants