image not present not printed during validate call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Steven Dake |
Bug Description
heat stack-create teststack -f /home/sdake/
where F19 is the F18/WordPress_
[sdake@bigiron ~]$ ./ls1
ERROR: 400 Bad Request
The server could not comply with the request since it is either malformed or otherwise incorrect.
This could be a server problem.
The client backtrace:
2013-08-06 23:28:46.165 26229 DEBUG heat.openstack.
is ffb4181d2bc641e
ack/common/
2013-08-06 23:28:46.447 26229 ERROR root [-] Exception handling resource: __str_
_ returned non-string (type Message)
Traceback (most recent call last):
File "/opt/stack/
**args)
File "/opt/stack/
result = getattr(proxyobj, method)(ctxt, **kwargs)
File "/opt/stack/
return func(self, ctx, *args, **kwargs)
File "/opt/stack/
stack.
File "/opt/stack/
raise StackValidation
TypeError: __str__ returned non-string (type Message)
The server backtrace:
2013-08-06 23:28:46.439 26154 INFO heat.engine.
x86_64-cfntools was not found in glance
Traceback (most recent call last):
File "/usr/lib64/
msg = self.format(record)
File "/usr/lib64/
return fmt.format(record)
File "/opt/stack/
return logging.
File "/usr/lib64/
record.message = record.getMessage()
File "/usr/lib64/
msg = str(self.msg)
TypeError: __str__ returned non-string (type Message)
Logged from file parser.py, line 260
2013-08-06 23:28:46.440 26154 ERROR heat.openstack.
during message handling
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
st recent call last):
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
stack/heat/
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
stack/heat/
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
getattr(proxyobj, method)(ctxt, **kwargs)
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
stack/heat/
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
nc(self, ctx, *args, **kwargs)
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
stack/heat/
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
idate()
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
2013-08-06 23:28:46.440 26154 TRACE heat.openstack.
2013-08-06 23:28:46.441 26154 ERROR heat.openstack.
2013-08-06 23:28:46.441 26154 ERROR heat.openstack.
2013-08-06 23:28:46.441 26154 DEBUG heat.openstack.
no longer affects: | python-heatclient |
Changed in heat: | |
assignee: | nobody → Steven Dake (sdake) |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → icehouse-1 |
Changed in heat: | |
milestone: | icehouse-1 → icehouse-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-2 → 2014.1 |
I checked against latest master with the following template:
HeatTemplateFor matVersion: '2012-12-12'
InstanceType: m1.tiny
Resources:
Instance:
Type: AWS::EC2::Instance
Properties:
ImageId: foo
$ heat stack-create -f template.yaml stack
ERROR: The Image (foo) could not be found.
So it seems to work now?