Merge "Configure Ceph clients via tripleo-ceph-client (not ceph-ansible)"
This commit is contained in:
commit
9fd709019f
|
@ -188,6 +188,8 @@ parameter_defaults:
|
|||
foo: bar
|
||||
NfsUrl: 127.0.0.1
|
||||
CephMsgrSecureMode: true
|
||||
CephAnsibleSkipClient: false
|
||||
CephConfigPath: "/etc/ceph"
|
||||
LVMFilterEnabled: true
|
||||
LVMFilterAllowlist:
|
||||
- /dev/loop2
|
||||
|
|
|
@ -335,7 +335,7 @@ parameters:
|
|||
default: false
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
CephAnsibleSkipClient:
|
||||
|
@ -343,7 +343,7 @@ parameters:
|
|||
This boolean (when true) prevents the ceph-ansible client role execution
|
||||
by adding the ceph-ansible tag 'ceph_client' to the --skip-tags list.
|
||||
type: boolean
|
||||
default: false
|
||||
default: true
|
||||
|
||||
parameter_groups:
|
||||
- label: deprecated
|
||||
|
@ -714,6 +714,14 @@ outputs:
|
|||
vars:
|
||||
tripleo_ceph_client_config_home: {get_param: CephConfigPath}
|
||||
when: {get_param: CephAnsibleSkipClient}
|
||||
- include_role:
|
||||
name: tripleo_ceph_client
|
||||
name: tripleo client role
|
||||
vars:
|
||||
tripleo_ceph_client_config_home: {get_param: CephConfigPath}
|
||||
dcn: "{{ item }}"
|
||||
loop: "{{ ceph_external_multi_config }}"
|
||||
when: {get_param: CephAnsibleSkipClient}
|
||||
- name: ensure ceph health is OK before proceeding
|
||||
import_role:
|
||||
role: ceph
|
||||
|
|
|
@ -85,7 +85,7 @@ parameters:
|
|||
file: /var/log/containers/cinder/cinder-backup.log
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ parameters:
|
|||
default: false
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -178,7 +178,7 @@ parameters:
|
|||
default: false
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ parameters:
|
|||
file: /var/log/containers/cinder/cinder-volume.log
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -278,7 +278,7 @@ parameters:
|
|||
letters and numbers.
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
MultipathdEnable:
|
||||
|
|
|
@ -124,7 +124,7 @@ parameters:
|
|||
"origin" header.
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -71,7 +71,7 @@ parameters:
|
|||
type: number
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -63,7 +63,7 @@ parameters:
|
|||
type: string
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ parameters:
|
|||
letters and numbers.
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
# CephFS backend params:
|
||||
|
|
|
@ -40,7 +40,7 @@ parameters:
|
|||
- allowed_values: ['CEPHFS', 'NFS']
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ parameters:
|
|||
letters and numbers.
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
MonitoringSubscriptionManilaShare:
|
||||
|
|
|
@ -68,7 +68,7 @@ parameters:
|
|||
perform configuration on a Heat stack-update.
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@ parameters:
|
|||
letters and numbers.
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
NovaComputeOptVolumes:
|
||||
|
|
|
@ -263,7 +263,7 @@ parameters:
|
|||
- role_specific
|
||||
CephConfigPath:
|
||||
type: string
|
||||
default: "/etc/ceph"
|
||||
default: "/var/lib/tripleo-config/ceph"
|
||||
description: |
|
||||
The path where the Ceph Cluster config files are stored on the host.
|
||||
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephGrafana
|
||||
- OS::TripleO::Services::CephMds
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephMds
|
||||
- OS::TripleO::Services::CephMgr
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephMds
|
||||
- OS::TripleO::Services::CephMgr
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephGrafana
|
||||
- OS::TripleO::Services::CephMds
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephGrafana
|
||||
- OS::TripleO::Services::CephMds
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephGrafana
|
||||
- OS::TripleO::Services::CephMds
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephGrafana
|
||||
- OS::TripleO::Services::CephMds
|
||||
|
|
|
@ -54,6 +54,7 @@
|
|||
- OS::TripleO::Services::CACerts
|
||||
- OS::TripleO::Services::CeilometerAgentCentral
|
||||
- OS::TripleO::Services::CeilometerAgentNotification
|
||||
- OS::TripleO::Services::CephClient
|
||||
- OS::TripleO::Services::CephExternal
|
||||
- OS::TripleO::Services::CephGrafana
|
||||
- OS::TripleO::Services::CephMds
|
||||
|
|
|
@ -497,7 +497,6 @@ def validate_controller_no_ceph_role(filename, tpl):
|
|||
for role in tpl:
|
||||
if role['name'] == 'ControllerNoCeph':
|
||||
services = role['ServicesDefault']
|
||||
services.remove('OS::TripleO::Services::CephClient')
|
||||
services.append('OS::TripleO::Services::CephMds')
|
||||
services.append('OS::TripleO::Services::CephMgr')
|
||||
services.append('OS::TripleO::Services::CephGrafana')
|
||||
|
|
Loading…
Reference in New Issue