Skip to content

Remove prometheus and grafana playbooks and roles#303

Merged
kvelarde-itential merged 2 commits into
itential:feature/v4from
kvelarde-itential:feature/v4-remove-monitoring
Feb 20, 2026
Merged

Remove prometheus and grafana playbooks and roles#303
kvelarde-itential merged 2 commits into
itential:feature/v4from
kvelarde-itential:feature/v4-remove-monitoring

Conversation

@kvelarde-itential
Copy link
Copy Markdown
Collaborator

No description provided.

@kvelarde-itential kvelarde-itential merged commit 8468f0f into itential:feature/v4 Feb 20, 2026
@kvelarde-itential kvelarde-itential deleted the feature/v4-remove-monitoring branch February 20, 2026 05:38
kvelarde-itential added a commit that referenced this pull request May 8, 2026
* Update redis playbook and role to support new ASA architecture (#291)

* Initial version of new redis groups
* Split the redis group into 3 new groups - redis_master, redis_replica and redis_sentinel

* Fix issue with redis min replicas (#295)

* Remove vault playbooks and role (#296)

* Remove vault
* Remove vault references from offline doc

* Remove Gateway HAProxy role (#298)

* Add cerify and verify playbooks (#293)

* initial release of verify and certify

* Fix template issues

* Fix lint issues

* Add validation report for mongodb

* Additional changes to verify playbook

* WIP: certify playbooks call task files from roles for certification

* remove os_compatibility.py

* modified certify playbook to limit execution to groups

* Fix lint errors

* Add capability to verify environment readiness

* Code review changes

* separate redis and sentinel capabilities

* remove unnecessary tags

* Remove prometheus and grafana playbooks and roles (#303)

* Playbooks & tasks to verify environment and confirm installation (#302)

* remove os_compatibility.py

* Consolidate common code

* Consolidate common code

* Check for proxy

* Add Proxy detection

* Make task names more descriptive

* Enable setting Redis replica priority (#304)

* Enable setting redis replica priority

* README updates, fail message update (#305)

* remove os_compatibility.py

* Consolidate common code

* Consolidate common code

* Check for proxy

* Add Proxy detection

* Make task names more descriptive

* Fix fail msg, update README

* code review feedback edits

* Add example inventories (#306)

* Add example inventories

* Add TLS standardization for platform, mongo, gateway & redis roles (#300)

* Adding TLS standardization for platform, mongo, gateway roles

* Separated copy certs and TLS. TLS is set to true by default

* Address PR review feedback: consistent variable names, dir permissions in tasks, readme changes

* Fix ansible-lint errors in TLS changes (#310)

* Sync dev to feature v4 (#312)

* Enable ansible lint on dev branch (#297)
* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)
* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)
* Add tasks to set selinux contexts when using non-standard directories
* Added directory validation to offline installs (#307)
* Added directory validation to offline installs

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>

* Add TLS example inventories (#311)

* Add TLS example inventories

* First version of TLS settings in example inventories

* Remove Redis TLS references

* Add v4 release notes (#313)

* Sync dev to v4 (#314)

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Update v4 release notes

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>

* Created minimal_tls.yaml example inventory (#316)

* added minimal_tls.yaml example

* Fix issues found during v4 integration testing (#315)

* Merge dev branch (#318)

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Fix merge conflict issue in Redis Guide

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>

* Set blank default to HashiVault. Updated docs (#319)

* Fix default platform log directory (#320)

* Creates monitor user for redis, sentinel, mongo (#323)

* Creates monitor user for redis, sentinel, mongo

* added truthy checks

* Add inventory group-based replica set configuration with priority support (#322)

Refactor MongoDB replica set configuration with inventory group-based member roles and priority support

  Replaces the previous single mongodb group model with dedicated mongodb_primary, mongodb_replica, and mongodb_arbiter inventory
  groups, giving operators explicit control over replica set topology and member priorities directly from the inventory.

  Replica set topology via inventory groups
  - Hosts in mongodb_primary are configured with higher election priority (mongodb_primary_priority, default 10), making them the
  preferred primary candidates
  - Hosts in mongodb_replica are configured with lower priority (mongodb_replica_priority, default 5); priority can be overridden per
  host via host vars
  - Hosts in mongodb_arbiter are added as arbiters (priority 0) and are only included when the group is defined and non-empty
  - mongodb_data_nodes fact is computed from mongodb_primary + mongodb_replica, used throughout the role in place of the old
  groups.mongodb

  Reconfiguration support
  - The replicaset task now supports both initial creation and live reconfiguration (reconfigure: true) by connecting to the current
  primary when replication is already enabled
  - After reconfiguration, the role polls until the mongodb_primary group host has taken over as primary following the automatic
  priority-based election

  Code quality
  - Replaced all inline 'mongodb_primary' in group_names conditions with the mongodb_is_primary_node fact set in main.yml for
  consistency and readability
  - Renamed replicaset_result to mongodb_replicaset_result for consistent variable naming
  - Added groups.mongodb_arbiter | length > 0 guard alongside is defined to prevent task execution on an empty arbiter group
  - Simplified documentation inventory examples by removing repository_api_key and platform_release from all.vars, keeping examples
  focused on MongoDB-specific configuration
---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Merge dev to feature/v4 (#325)

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Update galaxy version and changelog for release 3.7.2 [skip ci] (#324)

Co-authored-by: github-actions <github-actions@github.com>

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Increase Redis maxmemory allocation from 60% to 80% (#326)

Updated the Redis maxmemory configuration from 60% to 80% of available system memory.

After performance and stability validation tests, we confirmed that using 80% is safe for our workload and infrastructure. This change allows Redis to better utilize available memory capacity and reduces the likelihood of premature OOM conditions under high queue load.

* Update v4 release notes (#327)

---------

Co-authored-by: Steven Schattenberg <122639296+steven-schattenberg-itential@users.noreply.github.com>
Co-authored-by: Amunagala-itential <ananth.munagala@itential.com>
Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
steven-schattenberg-itential added a commit that referenced this pull request May 22, 2026
* Set vm.max_map_count kernel parameter on MongoDB servers (#288)

* Configure vm.max_map_count
* Remove mongodb tasks that set pam limits
* Add new MongoDB kernel parameter variables to docs

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Update galaxy version and changelog for release 3.7.2 [skip ci] (#324)

Co-authored-by: github-actions <github-actions@github.com>

* Merge v4 into dev (#329)

* Update redis playbook and role to support new ASA architecture (#291)

* Initial version of new redis groups
* Split the redis group into 3 new groups - redis_master, redis_replica and redis_sentinel

* Fix issue with redis min replicas (#295)

* Remove vault playbooks and role (#296)

* Remove vault
* Remove vault references from offline doc

* Remove Gateway HAProxy role (#298)

* Add cerify and verify playbooks (#293)

* initial release of verify and certify

* Fix template issues

* Fix lint issues

* Add validation report for mongodb

* Additional changes to verify playbook

* WIP: certify playbooks call task files from roles for certification

* remove os_compatibility.py

* modified certify playbook to limit execution to groups

* Fix lint errors

* Add capability to verify environment readiness

* Code review changes

* separate redis and sentinel capabilities

* remove unnecessary tags

* Remove prometheus and grafana playbooks and roles (#303)

* Playbooks & tasks to verify environment and confirm installation (#302)

* remove os_compatibility.py

* Consolidate common code

* Consolidate common code

* Check for proxy

* Add Proxy detection

* Make task names more descriptive

* Enable setting Redis replica priority (#304)

* Enable setting redis replica priority

* README updates, fail message update (#305)

* remove os_compatibility.py

* Consolidate common code

* Consolidate common code

* Check for proxy

* Add Proxy detection

* Make task names more descriptive

* Fix fail msg, update README

* code review feedback edits

* Add example inventories (#306)

* Add example inventories

* Add TLS standardization for platform, mongo, gateway & redis roles (#300)

* Adding TLS standardization for platform, mongo, gateway roles

* Separated copy certs and TLS. TLS is set to true by default

* Address PR review feedback: consistent variable names, dir permissions in tasks, readme changes

* Fix ansible-lint errors in TLS changes (#310)

* Sync dev to feature v4 (#312)

* Enable ansible lint on dev branch (#297)
* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)
* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)
* Add tasks to set selinux contexts when using non-standard directories
* Added directory validation to offline installs (#307)
* Added directory validation to offline installs

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>

* Add TLS example inventories (#311)

* Add TLS example inventories

* First version of TLS settings in example inventories

* Remove Redis TLS references

* Add v4 release notes (#313)

* Sync dev to v4 (#314)

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Update v4 release notes

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>

* Created minimal_tls.yaml example inventory (#316)

* added minimal_tls.yaml example

* Fix issues found during v4 integration testing (#315)

* Merge dev branch (#318)

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Fix merge conflict issue in Redis Guide

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>

* Set blank default to HashiVault. Updated docs (#319)

* Fix default platform log directory (#320)

* Creates monitor user for redis, sentinel, mongo (#323)

* Creates monitor user for redis, sentinel, mongo

* added truthy checks

* Add inventory group-based replica set configuration with priority support (#322)

Refactor MongoDB replica set configuration with inventory group-based member roles and priority support

  Replaces the previous single mongodb group model with dedicated mongodb_primary, mongodb_replica, and mongodb_arbiter inventory
  groups, giving operators explicit control over replica set topology and member priorities directly from the inventory.

  Replica set topology via inventory groups
  - Hosts in mongodb_primary are configured with higher election priority (mongodb_primary_priority, default 10), making them the
  preferred primary candidates
  - Hosts in mongodb_replica are configured with lower priority (mongodb_replica_priority, default 5); priority can be overridden per
  host via host vars
  - Hosts in mongodb_arbiter are added as arbiters (priority 0) and are only included when the group is defined and non-empty
  - mongodb_data_nodes fact is computed from mongodb_primary + mongodb_replica, used throughout the role in place of the old
  groups.mongodb

  Reconfiguration support
  - The replicaset task now supports both initial creation and live reconfiguration (reconfigure: true) by connecting to the current
  primary when replication is already enabled
  - After reconfiguration, the role polls until the mongodb_primary group host has taken over as primary following the automatic
  priority-based election

  Code quality
  - Replaced all inline 'mongodb_primary' in group_names conditions with the mongodb_is_primary_node fact set in main.yml for
  consistency and readability
  - Renamed replicaset_result to mongodb_replicaset_result for consistent variable naming
  - Added groups.mongodb_arbiter | length > 0 guard alongside is defined to prevent task execution on an empty arbiter group
  - Simplified documentation inventory examples by removing repository_api_key and platform_release from all.vars, keeping examples
  focused on MongoDB-specific configuration
---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Merge dev to feature/v4 (#325)

* Enable ansible lint on dev branch (#297)

* Added NUMA detection and configure mongodb and the OS to work correctly using NUMA (#294)

* Added NUMA detection and configure the OS to work correctly when we are installing a Mongodb Server.

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Set selinux contexts when using non-standard Gateway4 directories (#309)

* Add tasks to set selinux contexts when using non-standard directories

* Added directory validation to offline installs (#307)

*Added directory validation to offline installs

* Add redis maxmemory calculation and change the parameter in the redis.conf accordingly  (#308)


* Updated redis_guide with the maxmemory formula expalanation and removed the comment from configure-redis.yml

* Update docs/redis_guide.md

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>

* Update galaxy version and changelog for release 3.7.2 [skip ci] (#324)

Co-authored-by: github-actions <github-actions@github.com>

---------

Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Increase Redis maxmemory allocation from 60% to 80% (#326)

Updated the Redis maxmemory configuration from 60% to 80% of available system memory.

After performance and stability validation tests, we confirmed that using 80% is safe for our workload and infrastructure. This change allows Redis to better utilize available memory capacity and reduces the likelihood of premature OOM conditions under high queue load.

* Update v4 release notes (#327)

---------

Co-authored-by: Steven Schattenberg <122639296+steven-schattenberg-itential@users.noreply.github.com>
Co-authored-by: Amunagala-itential <ananth.munagala@itential.com>
Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>

* Redis doc update (#330)

* Updated Redis doc to use 80% of available memory

* Add CLAUDE.md documentation for collection root and all roles (#332)

* Add OS family validation to prevent cryptic failures on unsupported distros (#336)

---------

Co-authored-by: kvelarde-itential <87794456+kvelarde-itential@users.noreply.github.com>
Co-authored-by: Marcos Dias <marcos.dias@itential.com>
Co-authored-by: Nick-Andreano <99693460+Nick-Andreano@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Amunagala-itential <ananth.munagala@itential.com>
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