tripleo-heat-templates/deployment/ceph-ansible
Zhu Sheng Li 7c46fd0142 Add non-string value support for CephAnsibleEnvironmentVariables
CephAnsibleEnvironmentVariables data is supposed to be transformed
into "KEY=VALUE" format by yaql expression.

```
ceph_ansible_environment_variables:
  yaql:
    data: {get_param: CephAnsibleEnvironmentVariables}
    expression: $.data.items().select($[0] + '=' + $[1])
```

However, the expression here uses `+` to join the key($[0]) and
value($[1]), which will cause syntax error when value is not string
type.

For example:

If we use boolean or integer for environment values such as
```
parameter_defaults:
  CephAnsibleEnvironmentVariables:
    ANSIBLE_DEBUG: true
```

the following error will occour

```
overcloud.CephStorageServiceChain:
  resource_type: OS::TripleO::CephStorageServices
  physical_resource_id: 51fd6f95-027b-4047-9132-763e1cb8150c
  status: UPDATE_FAILED
  status_reason: |
    resources.CephStorageServiceChain:
    Error in 4 output role_data:
    Error in CephBase output role_data:
    No function "#operator_+" matches supplied arguments
```

Change-Id: I8394cec6bbaca9c89c848eaddf724c072bc36cb3
Closes-Bug: #1878720
2020-05-26 02:17:56 +08:00
..
ceph-base.yaml Add non-string value support for CephAnsibleEnvironmentVariables 2020-05-26 02:17:56 +08:00
ceph-client.yaml Change all step checks to |int 2019-06-07 16:11:08 +02:00
ceph-external.yaml Change all step checks to |int 2019-06-07 16:11:08 +02:00
ceph-grafana.yaml Move ceph-ansible required variables in the main group 2020-03-18 19:54:37 +01:00
ceph-mds.yaml Check Ceph*Key value format and halt on error 2020-02-24 20:16:01 +01:00
ceph-mgr.yaml Fix dashboard_frontend_vip parameter 2020-03-19 20:00:54 +01:00
ceph-mon.yaml Check Ceph*Key value format and halt on error 2020-02-24 20:16:01 +01:00
ceph-nfs.yaml Use absolute name to include puppet classes 2020-04-11 08:13:23 +09:00
ceph-osd.yaml Convert firewall rules to use TripleO-Ansible 2019-11-18 15:40:22 -06:00
ceph-rbdmirror.yaml Convert firewall rules to use TripleO-Ansible 2019-11-18 15:40:22 -06:00
ceph-rgw.yaml Merge "Move ceph-rgw and config overrides variables" 2020-04-10 19:10:05 +00:00