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

Bug 11935 & Story 11979: Fix for cluster replicaset deployement & add is_small and arbiter parameters. #1553

Merged
merged 3 commits into from
Nov 30, 2023

Conversation

GiooDev
Copy link
Contributor

@GiooDev GiooDev commented Nov 22, 2023

Description

  • Bug 11935: Fix init-replica script
    Handle that the node that executes this script is not necessarily the primary.
  • Story 11979: Fix replicaset cluster deployment for mongo-vitamui.
    Run once mongo_init tasks to avoid multiple execution on multi cluster node for mongo-vitamui.
  • Story 11979: Add is_small & mongo_arbiter parameters.
    Avoid bootstrap execution on arbiter node & various cleanup.

Type de changement

  • Ansiblerie
  • Correction

Contributeur

  • VAS (Vitam Accessible en Service)

@GiooDev GiooDev added VAS VAS contribution OPS REVIEW Mandatory if deployment/ directory is modified. labels Nov 22, 2023
@GiooDev GiooDev added this to the IT 128 milestone Nov 22, 2023
@GiooDev GiooDev self-assigned this Nov 22, 2023
@GiooDev GiooDev changed the title Bug 11935 fix init replica Bug 11935: Mongo fix init replica set Nov 22, 2023
@GiooDev GiooDev changed the title Bug 11935: Mongo fix init replica set Bug 11935: Fix Mongo init replica set Nov 22, 2023
@vitam-devops
Copy link
Collaborator

vitam-devops commented Nov 22, 2023

Logo
Checkmarx One – Scan Summary & Detailsa72a09e9-af4d-47be-b6b5-6b7a17352e38

No New Or Fixed Issues Found

@GiooDev GiooDev force-pushed the bug_11935_fix_init_replica branch from 453362b to a39b5d6 Compare November 23, 2023 14:35
@GiooDev GiooDev marked this pull request as draft November 24, 2023 13:55
@GiooDev GiooDev force-pushed the bug_11935_fix_init_replica branch 4 times, most recently from ca06dae to 35dd4fe Compare November 27, 2023 13:14
@GiooDev GiooDev changed the title Bug 11935: Fix Mongo init replica set Bug 11935 & US 11979: Fix for cluster replicaset deployement, is_small & arbiter parameters. Nov 27, 2023
Handle that the node that executes this script is not necessarily the primary.
Run once mongo_init tasks to avoid multiple execution on multi cluster node for mongo-vitamui.
@GiooDev GiooDev force-pushed the bug_11935_fix_init_replica branch from 35dd4fe to f413c8d Compare November 27, 2023 13:31
@GiooDev GiooDev changed the title Bug 11935 & US 11979: Fix for cluster replicaset deployement, is_small & arbiter parameters. Bug 11935 & Story 11979: Fix for cluster replicaset deployement & add is_small parameter. Nov 28, 2023
@GiooDev GiooDev changed the title Bug 11935 & Story 11979: Fix for cluster replicaset deployement & add is_small parameter. Bug 11935 & Story 11979: Fix for cluster replicaset deployement & add is_small and arbiter parameters. Nov 28, 2023
@GiooDev GiooDev force-pushed the bug_11935_fix_init_replica branch from f413c8d to 21dddee Compare November 28, 2023 16:00
Avoid bootstrap execution on arbiter node.

Cleanup:
* Enable debuging for init-replica.
* Update default value for mongo_rs_bootstrap.
* Cleanup tags & notify.
@GiooDev GiooDev force-pushed the bug_11935_fix_init_replica branch from 21dddee to 978f1fd Compare November 30, 2023 16:30
@GiooDev GiooDev marked this pull request as ready for review November 30, 2023 16:31
@GiooDev GiooDev merged commit 2eea9ef into develop Nov 30, 2023
@GiooDev GiooDev deleted the bug_11935_fix_init_replica branch November 30, 2023 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OPS REVIEW Mandatory if deployment/ directory is modified. VAS VAS contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants