summaryrefslogtreecommitdiffstats
path: root/deploy/conf/vm_environment/os-odl_l2-moon-ha.yml
blob: ffb9fa1440f4c7d8a973e568a99dfb6663e5de5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
##############################################################################
# Copyright (c) 2016 HUAWEI TECHNOLOGIES CO.,LTD and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

---
TYPE: virtual
FLAVOR: cluster

moon: "Enable"

hosts:
  - name: host1
    roles:
      - controller
      - ha
      - odl
      - ceph-adm
      - ceph-mon

  - name: host2
    roles:
      - controller
      - ha
      - odl
      - ceph-mon

  - name: host3
    roles:
      - controller
      - ha
      - odl
      - ceph-mon

  - name: host4
    roles:
      - compute
      - ceph-osd

  - name: host5
    roles:
      - compute
      - ceph-osd
-Plain">The password for the nova service and db account, used by nova-api. type: string hidden: true KeystoneRegion: type: string default: 'regionOne' description: Keystone region for endpoint MonitoringSubscriptionEc2Api: default: 'overcloud-ec2-api' type: string Ec2ApiLoggingSource: type: json default: tag: openstack.ec2.api path: /var/log/ec2api/ec2api.log EnablePackageInstall: default: 'false' description: Set to true to enable package installation via Puppet type: boolean conditions: nova_workers_zero: {equals : [{get_param: Ec2ApiWorkers}, 0]} outputs: role_data: description: Role data for the EC2-API service. value: service_name: ec2_api monitoring_subscription: {get_param: MonitoringSubscriptionEc2Api} logging_source: {get_param: Ec2ApiLoggingSource} logging_groups: - nova config_settings: map_merge: - tripleo.ec2_api.firewall_rules: '113 ec2_api': dport: - 8788 - 13788 ec2api::keystone::authtoken::project_name: 'service' ec2api::keystone::authtoken::password: {get_param: Ec2ApiPassword} ec2api::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] } ec2api::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]} ec2api::api::enabled: true ec2api::package_manage: {get_param: EnablePackageInstall} ec2api::api::ec2api_listen: str_replace: template: '"%{::fqdn_$NETWORK}"' params: $NETWORK: {get_param: [ServiceNetMap, Ec2ApiNetwork]} ec2api::metadata::metadata_listen: str_replace: template: '"%{::fqdn_$NETWORK}"' params: $NETWORK: {get_param: [ServiceNetMap, Ec2ApiMetadataNetwork]} ec2api::db::database_connection: list_join: - '' - - {get_param: [EndpointMap, MysqlInternal, protocol]} - '://ec2_api:' - {get_param: Ec2ApiPassword} - '@' - {get_param: [EndpointMap, MysqlInternal, host]} - '/ec2_api' - '?bind_address=' - "%{hiera('tripleo::profile::base::database::mysql::client_bind_address')}" - if: - nova_workers_zero - {} - ec2api::api::ec2api_workers: {get_param: Ec2ApiWorkers} ec2api::metadata::metadata_workers: {get_param: Ec2ApiWorkers} step_config: | include tripleo::profile::base::nova::ec2api service_config_settings: keystone: ec2api::keystone::auth::tenant: 'service' ec2api::keystone::auth::public_url: {get_param: [EndpointMap, Ec2ApiPublic, uri]} ec2api::keystone::auth::internal_url: {get_param: [EndpointMap, Ec2ApiInternal, uri]} ec2api::keystone::auth::admin_url: {get_param: [EndpointMap, Ec2ApiAdmin, uri]} ec2api::keystone::auth::password: {get_param: Ec2ApiPassword} ec2api::keystone::auth::region: {get_param: KeystoneRegion} mysql: ec2api::db::mysql::password: {get_param: Ec2ApiPassword} ec2api::db::mysql::user: ec2_api ec2api::db::mysql::host: {get_param: [EndpointMap, MysqlInternal, host_nobrackets]} ec2api::db::mysql::dbname: ec2_api ec2api::db::mysql::allowed_hosts: - '%' - "%{hiera('mysql_bind_host')}"