Comment 9 for bug 1534423

Revision history for this message
zhangdetong (zhangdetong) wrote :

Hi Jeffrey & Jan,

I hit the same on Centos 7, my environment is devstack and heat

I ran Jan's command and got the following error:

heat --debug stack-create my-openshift -t 180 -e openshift_parameters.yaml -f openshift-on-openstack/openshift.yaml

Traceback (most recent call last):
  File "/usr/bin/heat", line 11, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 612, in main
    HeatShell().main(args)
  File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 562, in main
    args.func(client, args)
  File "/usr/lib/python2.7/site-packages/heatclient/v1/shell.py", line 139, in do_stack_create
    hc.stacks.create(**fields)
  File "/usr/lib/python2.7/site-packages/heatclient/v1/stacks.py", line 172, in create
    data=kwargs, headers=headers)
  File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 193, in post
    return self.request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/site-packages/heatclient/common/http.py", line 318, in request
    raise exc.from_response(resp)
heatclient.exc.HTTPBadRequest: ERROR: The Parameter (flavor) was not defined in template.

I dont think there are errors in templates, i will try debugging for this issue, please tell me more about this if convenient, thank you.