attribute export_locations is a string

Bug #2068490 reported by frank
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
In Progress
Undecided
Unassigned

Bug Description

The attribute `export_locations` of a `OS::Manila::Share` is a string

Expected: `export_locations` is a list

Example to reproduce:

```yaml
heat_template_version: wallaby

resources:
  share:
    type: OS::Manila::Share
    properties:
      share_protocol: NFS
      share_type: CephNFS
      size: 1

outputs:
  export_locations:
    value: {get_attr: [share, export_locations]}
  first_element:
    value: {get_attr: [share, export_locations, 0]}
```

Output:

```
+------------------+------------------------------------------+
| Field | Value |
+-------------------------------------------------------------+
| export_locations | { |
| | "output_key": "export_locations", |
| | "description": "No description given", |
| | "output_value": "['IP:path']" |
| | } |
| first_element | { |
| | "output_key": "first_element", |
| | "description": "No description given", |
| | "output_value": "[" |
| | } |
+-------------------------------------------------------------+
```

Revision history for this message
frank (frank-berghaus) wrote :
affects: heat-translator → heat
Changed in heat:
status: New → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.