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

Add Ansible Rook role #2960

Conversation

erzetpe
Copy link
Contributor

@erzetpe erzetpe commented Feb 8, 2022

No description provided.

@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch 2 times, most recently from 1099a88 to f607284 Compare February 8, 2022 14:24
@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from 13e278c to 28c92df Compare February 9, 2022 11:07
@erzetpe erzetpe force-pushed the feature/rook-ceph-storage branch from 7bf8e5a to bb96e09 Compare February 9, 2022 13:59
@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from 074ad67 to b5c94f6 Compare February 9, 2022 14:06
@atsikham
Copy link
Contributor

Would be nice to have a documentation with basic usage examples.

@erzetpe
Copy link
Contributor Author

erzetpe commented Feb 10, 2022

It's still a draft. :)

@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from b5c94f6 to 3962b6d Compare February 10, 2022 09:34
@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from 32d68ec to 46b65b5 Compare February 11, 2022 08:36
ansible/playbooks/rook.yml Outdated Show resolved Hide resolved
@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from e27e8c3 to e56a95b Compare February 17, 2022 08:21
@erzetpe erzetpe marked this pull request as ready for review February 17, 2022 11:18
@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from e092184 to 819b731 Compare February 24, 2022 10:49
erzetpe and others added 12 commits February 24, 2022 14:37
…nergy#2953)

* Additional disks for azure DRAFT

* Simplify config

* add changelog note

* Change starting index value in names

* Change value of lun attribute to alling with disks indexing
* K8s improvements (hitachienergy#2918)

* Removal of Logstash component - next steps hitachienergy#2833 (hitachienergy#2941)

* Add information about manual package removal that
  needs to be performed by cluster admin
* include information about inventory file

* Fix for ansible_default_ipv4 empty value (hitachienergy#2922)

* Fix for ansible_default_ipv4 empty value

* Fix after ToBar review

* Add check if there is only one default routing config

* Add check for different metrics value in case more than one default routing

* Review fixes

* Update fail_msg

Co-authored-by: to-bar <[email protected]>

* Extend k8s schema validation (hitachienergy#2929)

* Extend deprecation note with Ignite removal steps (hitachienergy#2949)

* Escalate permissions for ip command (hitachienergy#2952)

* Changed autoscaling_group to plain EC2 VMs on AWS. (hitachienergy#2939)

- Replaced AWS auto_scaling_groups with plain EC2 VM creation.
- Added proper host sorting how it was implemented for the any and azure providers: hitachienergy#1076
- Sync up features with Azure Terraform implementation
-  Added support for use_network_security_groups flag hitachienergy#959
- Updated DoD for bugs to reflect changes made for hitachienergy#2832

Co-authored-by: Anatoli Tsikhamirau <[email protected]>
Co-authored-by: Irek Głownia <[email protected]>
Co-authored-by: to-bar <[email protected]>
Co-authored-by: Luuk van Venrooij <[email protected]>
…#2970)

With current version of Terraform we don't need to use filter.
* K8s improvements (hitachienergy#2918)

* Removal of Logstash component - next steps hitachienergy#2833 (hitachienergy#2941)

* Add information about manual package removal that
  needs to be performed by cluster admin
* include information about inventory file

* Fix for ansible_default_ipv4 empty value (hitachienergy#2922)

* Fix for ansible_default_ipv4 empty value

* Fix after ToBar review

* Add check if there is only one default routing config

* Add check for different metrics value in case more than one default routing

* Review fixes

* Update fail_msg

Co-authored-by: to-bar <[email protected]>

* Extend k8s schema validation (hitachienergy#2929)

* Extend deprecation note with Ignite removal steps (hitachienergy#2949)

* Escalate permissions for ip command (hitachienergy#2952)

* Changed autoscaling_group to plain EC2 VMs on AWS. (hitachienergy#2939)

- Replaced AWS auto_scaling_groups with plain EC2 VM creation.
- Added proper host sorting how it was implemented for the any and azure providers: hitachienergy#1076
- Sync up features with Azure Terraform implementation
-  Added support for use_network_security_groups flag hitachienergy#959
- Updated DoD for bugs to reflect changes made for hitachienergy#2832

Co-authored-by: Anatoli Tsikhamirau <[email protected]>
Co-authored-by: Irek Głownia <[email protected]>
Co-authored-by: to-bar <[email protected]>
Co-authored-by: Luuk van Venrooij <[email protected]>
@erzetpe erzetpe force-pushed the feature/rook-ceph-ansible branch from 819b731 to 51f52f5 Compare February 24, 2022 14:00
@erzetpe erzetpe force-pushed the feature/rook-ceph-storage branch from 5bd4d62 to 70056be Compare February 24, 2022 14:04
@erzetpe erzetpe merged commit b2c05d3 into hitachienergy:feature/rook-ceph-storage Feb 28, 2022
@erzetpe erzetpe deleted the feature/rook-ceph-ansible branch February 28, 2022 14:15
erzetpe added a commit that referenced this pull request Mar 1, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
erzetpe added a commit that referenced this pull request Mar 3, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
erzetpe added a commit that referenced this pull request Mar 8, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
erzetpe added a commit that referenced this pull request Mar 22, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
erzetpe added a commit that referenced this pull request Apr 4, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
cicharka pushed a commit to cicharka/epiphany that referenced this pull request Apr 11, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
cicharka pushed a commit to cicharka/epiphany that referenced this pull request Apr 11, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
cicharka pushed a commit to cicharka/epiphany that referenced this pull request Apr 11, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
cicharka pushed a commit to cicharka/epiphany that referenced this pull request Apr 11, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
cicharka pushed a commit to cicharka/epiphany that referenced this pull request Apr 11, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
cicharka pushed a commit that referenced this pull request Apr 11, 2022
* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements
erzetpe added a commit that referenced this pull request Apr 20, 2022
* Define additional disks with defined sizes to VMs for Azure (#2953)

* Additional disks for azure DRAFT

* Simplify config

* add changelog note

* Change starting index value in names

* Change value of lun attribute to alling with disks indexing

* Merge 'develop' into 'feature/rook-ceph-storage' (#2959)

* K8s improvements (#2918)

* Removal of Logstash component - next steps #2833 (#2941)

* Add information about manual package removal that
  needs to be performed by cluster admin
* include information about inventory file

* Fix for ansible_default_ipv4 empty value (#2922)

* Fix for ansible_default_ipv4 empty value

* Fix after ToBar review

* Add check if there is only one default routing config

* Add check for different metrics value in case more than one default routing

* Review fixes

* Update fail_msg

Co-authored-by: to-bar <[email protected]>

* Extend k8s schema validation (#2929)

* Extend deprecation note with Ignite removal steps (#2949)

* Escalate permissions for ip command (#2952)

* Changed autoscaling_group to plain EC2 VMs on AWS. (#2939)

- Replaced AWS auto_scaling_groups with plain EC2 VM creation.
- Added proper host sorting how it was implemented for the any and azure providers: #1076
- Sync up features with Azure Terraform implementation
-  Added support for use_network_security_groups flag #959
- Updated DoD for bugs to reflect changes made for #2832

Co-authored-by: Anatoli Tsikhamirau <[email protected]>
Co-authored-by: Irek Głownia <[email protected]>
Co-authored-by: to-bar <[email protected]>
Co-authored-by: Luuk van Venrooij <[email protected]>

* Add Ansible Rook role (#2960)

* Add initial ansible rook role

* Fix issue with no yet existing template

* Add Rook schema related files

* Remove already setup vars, add missing enters

* Fix issue with feature mapping

* Add configuration support

* Move kubeconfig to rook role yaml

* Update changelog

* Add started dashes to yaml defaults for Rook

* Add RH fix suggested by cicharka

* Add rook cluster helm chart installation

* Add separate chart values definitions

* Limit fact checking in rook role

* Add initial rook/ceph documentation

* Update documentation for Rook

* Update download requirements

* Persistent Storage: Note about disks on AWS (#2998)

* Updated changelog

* Rearrange and update documentation

* Update components

* Fix after review

* Limit hosts where apply is specified

* Add comment about repository facts gathering

* Make rook namespace configurable

* Add linter comments to disable false positive

* Add requested comments

* Change shell to command module

* Change mode to preserve for temp configuration data

* Update documentation

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* Update ansible/playbooks/roles/repository/files/download-requirements/requirements/x86_64/images.yml

Co-authored-by: przemyslavic <[email protected]>

* use newer version of rook (#3053)

* Feature/rook ceph storage additions (#3064)

* rook/ceph: add default values in epiphany configuration

* rook/ceph (#3068)

* add default values in epiphany configuration
* bump up verison of rook

* Revert schema defaults (#3074)

* Revert "rook/ceph (#3068)"

This reverts commit 989be85.

* Revert "Feature/rook ceph storage additions (#3064)"

This reverts commit 17c49af.

* minor fixes for schema and docs

* add rook feature_mapping for single and custom

* rook: modify tests and schema for image registry

* rook: offline mode

* enahnce playbook to allow chart files use images from
  local image registry
* remove unused condition for chart and operator specification
  which is always defined now
* modify path for rook/ceph image in order to be compliant
  with values.yml

Signed-off-by: cicharka <[email protected]>

* rook: add missing csiaddons for offline mode

Signed-off-by: cicharka <[email protected]>

Co-authored-by: Anatoli Tsikhamirau <[email protected]>
Co-authored-by: Irek Głownia <[email protected]>
Co-authored-by: to-bar <[email protected]>
Co-authored-by: Luuk van Venrooij <[email protected]>
Co-authored-by: cicharka <[email protected]>
Co-authored-by: przemyslavic <[email protected]>
Co-authored-by: cicharka <[email protected]>
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.

4 participants