Comment 7 for bug 1534423

Revision history for this message
Jan Provaznik (jan-provaznik) wrote :

Hi, I hit the same on Centos 7.1 with centos-release-openstack-mitaka:
openstack-heat-engine-6.0.0-1.el7.noarch
python-heatclient-1.0.0-1.el7.noarch
openstack-heat-api-6.0.0-1.el7.noarch
openstack-heat-api-cfn-6.0.0-1.el7.noarch
openstack-heat-common-6.0.0-1.el7.noarch

The problem seems to be caused by python-heatclient sending a relative path when passing files referenced from the template. For example when creating openshift-on-openstack (see https://github.com/redhat-openstack/openshift-on-openstack) with the following command:
heat --debug stack-create my-openshift -t 180 -e openshift_parameters.yaml -f openshift-on-openstack/openshift.yaml
(openshift_parameters.yaml is attached)

It fails with:
heatclient.exc.HTTPBadRequest: ERROR: Could not fetch remote template "openshift-on-openstack/registry_ephemeral.yaml": Invalid URL scheme

When using the same setup with newer python-heatclient-1.2.0-1.el7ost.noarch it passes.
In centos output there is:
"...OOShift::RegistryVolume: openshift-on-openstack/registry_ephemeral.yaml\n..."

in rhel output there is:
"...\"OOShift::RegistryVolume\": \"file:///root/openshift-on-openstack/registry_ephemeral.yaml\"

My guess is that there is heat-engine <-> heatclient version incompatibility in Centos repository .