Heat error: "image 'NoneType' object has no attribute 'rstrip'"
I'm facing the following error in Heat:
ERROR: Property error : server1: image 'NoneType' object has no attribute 'rstrip'
and
2014-08-01 16:02:26.031 9086 TRACE heat.engine.parser raise exception.StackValidationFailed(message=msg)
2014-08-01 16:02:26.031 9086 TRACE heat.engine.parser StackValidationFailed: Property error : server1: image 'NoneType' object has no attribute 'rstrip'
using the following template
heat_template_version: 2013-05-23
description: Test Template
parameters:
ImageID:
type: string
description: Image use to boot a server
NetID:
type: string
description: Network ID for the server
resources:
server1:
type: OS::Nova::Server
properties:
name: "Testserver"
image: { get_param: ImageID }
flavor: "m1.tiny"
networks:
- network: { get_param: NetID }
outputs:
server1_private_ip:
description: IP address of the server in the private network
value: { get_attr: [ server1, first_address ] }
I tried UUID, Name in image property. Nothing helps. Is there anyone who can take a quick look and tell me what is wrong with that template? heat validate-template says it's ok.
Could you paste the output of
keystone catalog
?I wonder if a None endpoint is being passed to glanceclient concat_url
catalog looks fine. I have glance endpoints and I'm able to launch instance, so to me it's fine. I have a feeling it has something to do with the permissions and users. I tried devstack on Ubuntu 14.04 Server amd64 on my VirtualBox and it works fine,but Ubuntu has 2014.2 and I have 2014.1.1 - debian
till the end of the week I'll try to install 2014.2 or at least 2014.1.2 from icehouse and try it again and if that won't help I'll try to dig into the code and find out that exception, but still I would prefer to install it from debian's repository
Have exactly the same problem
I have the same problem too!!! I updated from Havana to Icehouse ... I don't remember last time it worked but I know it have the same error message with 2014.1.2!
StackValidationFailed_Remote: Property error : WikiDatabase: ImageId 'NoneType' object has no attribute 'rstrip' Traceback (most recent call last):