-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Super User
committed
Jan 28, 2025
1 parent
985d72a
commit cc2abe2
Showing
4 changed files
with
164 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
breakfix2/SCENARIO_PERFORMANCE | ||
========= | ||
|
||
This role breaks the satellite by setting some large values to few of the satellite params. | ||
|
||
What we essentially do by this ansible role is: | ||
|
||
* Confirm that the satellite is running | ||
* Set large values to puma max min threads, puma workers, foreman db pool, pulpcore workers | ||
|
||
|
||
Requirements | ||
------------ | ||
|
||
This ansible role requires the [foreman ansible modules](https://github.com/theforeman/foreman-ansible-modules/). Please install them before executing the role. | ||
|
||
Role Variables | ||
-------------- | ||
|
||
The `vars/main.yml` file contains the required variables for the ansible role. Adjust the values according to your environment. | ||
|
||
Dependencies | ||
------------ | ||
|
||
NA | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
This ansible role can be executed after creating a playbook in the following way. | ||
|
||
~~~ | ||
# cat breakfix2.yaml | ||
--- | ||
- name: Deploy ansible role breakfix2 on target systems | ||
hosts: satellite | ||
roles: | ||
- role: breakfix2 | ||
tags: break | ||
~~~ | ||
|
||
License | ||
------- | ||
|
||
It is free software licensed under the terms of the GNU General Public License GPL v3 or later. A copy of the license can be obtained here: http://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
Author Information | ||
------------------ | ||
|
||
This role is developed by Soham Majumdar <[email protected]>, <[email protected]>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
breakfix3/SCENARIO_TFTP | ||
========= | ||
|
||
This role breaks the satellite by adding incorrect param for tftp_dirs in satellite answers file. | ||
|
||
What we essentially do by this ansible role is: | ||
|
||
* Confirm that the satellite is running | ||
* Enable tftp on satellite | ||
* Add an incorrect param for tftp_dirs. | ||
* Run satellite-installer | ||
|
||
|
||
Requirements | ||
------------ | ||
|
||
This ansible role requires the [foreman ansible modules](https://github.com/theforeman/foreman-ansible-modules/). Please install them before executing the role. | ||
|
||
Role Variables | ||
-------------- | ||
|
||
The `vars/main.yml` file contains the required variables for the ansible role. Adjust the values according to your environment. | ||
|
||
Dependencies | ||
------------ | ||
|
||
NA | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
This ansible role can be executed after creating a playbook in the following way. | ||
|
||
~~~ | ||
# cat breakfix3.yaml | ||
--- | ||
- name: Deploy ansible role breakfix3 on target systems | ||
hosts: satellite | ||
roles: | ||
- role: breakfix3 | ||
tags: break | ||
~~~ | ||
|
||
License | ||
------- | ||
|
||
It is free software licensed under the terms of the GNU General Public License GPL v3 or later. A copy of the license can be obtained here: http://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
Author Information | ||
------------------ | ||
|
||
This role is developed by Soham Majumdar <[email protected]>, <[email protected]>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
breakfix1/SCENARIO_UPGRADE | ||
========= | ||
|
||
This role simulates some problems while doing a satellite upgrade. | ||
|
||
What we essentially do by this ansible role is: | ||
|
||
* Confirm that the satellite is running | ||
* Change the IP in /etc/hosts | ||
* Replace hostname -f with shortname | ||
* Set incorrect tuning param in /etc/foreman-installer/scenarios.d/satellite.yaml | ||
* Create a repo file in /etc/yum.repos.d/ as the rh-cloud.repo. | ||
|
||
|
||
Requirements | ||
------------ | ||
|
||
This ansible role requires the [foreman ansible modules](https://github.com/theforeman/foreman-ansible-modules/). Please install them before executing the role. | ||
|
||
Role Variables | ||
-------------- | ||
|
||
The `vars/main.yml` file contains the required variables for the ansible role. Adjust the values according to your environment. | ||
|
||
Dependencies | ||
------------ | ||
|
||
NA | ||
|
||
Example Playbook | ||
---------------- | ||
|
||
This ansible role can be executed after creating a playbook in the following way. | ||
|
||
~~~ | ||
# cat breakfix1.yaml | ||
--- | ||
- name: Deploy ansible role breakfix1 on target systems | ||
hosts: satellite | ||
roles: | ||
- role: breakfix1 | ||
tags: break | ||
~~~ | ||
|
||
License | ||
------- | ||
|
||
It is free software licensed under the terms of the GNU General Public License GPL v3 or later. A copy of the license can be obtained here: http://www.gnu.org/licenses/gpl-3.0.html | ||
|
||
Author Information | ||
------------------ | ||
|
||
This role is developed by Soham Majumdar <[email protected]>, <[email protected]>. |