get_file causes an infinite recursion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-heatclient |
New
|
Undecided
|
Unassigned |
Bug Description
# Reproduce
- create recurse.yaml
```
heat_template_
resources:
foo:
type: OS::Heat:
properties:
group: script
config:
get_file: "recurse.yaml"
```
- create stack
$ openstack --debug stack create recurse --template recurse.yaml --dry-run
# I expect
The stack to be created.
# Instead
I get RuntimeError: maximum recursion depth exceeded in cmp
```
template_
File "/usr/lib/
object_request)
File "/usr/lib/
ignore_if, recurse_if, is_object, object_request)
File "/usr/lib/
is_object, object_request)
File "/usr/lib/
is_object, object_request)
File "/usr/lib/
is_object, object_request)
File "/usr/lib/
is_object, object_request)
File "/usr/lib/
file_content = utils.read_
File "/usr/lib/
content = request.
File "/usr/lib64/
return opener.open(url, data, timeout)
File "/usr/lib64/
response = self._open(req, data)
File "/usr/lib64/
'_open', req)
File "/usr/lib64/
result = func(*args)
File "/usr/lib64/
return self.open_
File "/usr/lib64/
(mtype or 'text/plain', size, modified)))
File "/usr/lib64/
rfc822.
File "/usr/lib64/
self.
File "/usr/lib64/
elif self.islast(line):
File "/usr/lib64/
return line in _blanklines
RuntimeError: maximum recursion depth exceeded in cmp
```
#