This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This change adds the CephIngress resource that can be used on top of CephNfs to deploy the ingress daemon through the orchestrator. Depends-On: I7e337596b653cf635f07a36606e9f673044402a3 Change-Id: Ibd20627a8b110364e13c2bf26848ba6e3a8e4060
- Loading branch information
Showing
13 changed files
with
87 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
heat_template_version: wallaby | ||
|
||
description: > | ||
Ceph Ingress Daemon service. | ||
parameters: | ||
ServiceData: | ||
default: {} | ||
description: Dictionary packing service data | ||
type: json | ||
ServiceNetMap: | ||
default: {} | ||
description: Mapping of service_name -> network name. Typically set | ||
via parameter_defaults in the resource registry. Use | ||
parameter_merge_strategies to merge it with the defaults. | ||
type: json | ||
RoleName: | ||
default: '' | ||
description: Role name on which the service is applied | ||
type: string | ||
RoleParameters: | ||
default: {} | ||
description: Parameters specific to the role | ||
type: json | ||
EndpointMap: | ||
default: {} | ||
description: Mapping of service endpoint -> protocol. Typically set | ||
via parameter_defaults in the resource registry. | ||
type: json | ||
KeepalivedContainerImage: | ||
description: Keepalived container image | ||
type: string | ||
HaproxyContainerImage: | ||
description: Haproxy container image | ||
type: string | ||
|
||
resources: | ||
CephBase: | ||
type: ./ceph-base.yaml | ||
properties: | ||
ServiceData: {get_param: ServiceData} | ||
ServiceNetMap: {get_param: ServiceNetMap} | ||
EndpointMap: {get_param: EndpointMap} | ||
RoleName: {get_param: RoleName} | ||
RoleParameters: {get_param: RoleParameters} | ||
|
||
outputs: | ||
role_data: | ||
description: Role data for the Ceph Ingress service. | ||
value: | ||
service_name: ceph_ingress | ||
firewall_rules: | ||
'115 ceph_ingress': | ||
dport: | ||
- '2049' | ||
- '8999' | ||
upgrade_tasks: [] | ||
puppet_config: {} | ||
docker_config: {} | ||
external_deploy_tasks: | ||
list_concat: | ||
- {get_attr: [CephBase, role_data, external_deploy_tasks]} | ||
- - name: ceph_ingress variables | ||
when: step|int == 1 | ||
tags: | ||
- ceph | ||
block: | ||
- name: set cephadm ingress vars | ||
set_fact: | ||
cephadm_ingress: | ||
tripleo_cephadm_keepalived_image: {get_param: KeepalivedContainerImage} | ||
tripleo_cephadm_haproxy_image: {get_param: HaproxyContainerImage} |
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
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
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
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
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
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