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 .
Hi, I hit the same on Centos 7.1 with centos- release- openstack- mitaka: heat-engine- 6.0.0-1. el7.noarch heatclient- 1.0.0-1. el7.noarch heat-api- 6.0.0-1. el7.noarch heat-api- cfn-6.0. 0-1.el7. noarch heat-common- 6.0.0-1. el7.noarch
openstack-
python-
openstack-
openstack-
openstack-
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: parameters. yaml -f openshift- on-openstack/ openshift. yaml parameters. yaml is attached)
heat --debug stack-create my-openshift -t 180 -e openshift_
(openshift_
It fails with: exc.HTTPBadRequ est: ERROR: Could not fetch remote template "openshift- on-openstack/ registry_ ephemeral. yaml": Invalid URL scheme
heatclient.
When using the same setup with newer python- heatclient- 1.2.0-1. el7ost. noarch it passes. :RegistryVolume : openshift- on-openstack/ registry_ ephemeral. yaml\n. .."
In centos output there is:
"...OOShift:
in rhel output there is: :RegistryVolume \": \"file: ///root/ openshift- on-openstack/ registry_ ephemeral. yaml\"
"...\"OOShift:
My guess is that there is heat-engine <-> heatclient version incompatibility in Centos repository .