Description of problem: Cu wants to disable the glance v1 api. But, after enabling the glance v2 api, heat is throwing an error as below: ~~~ 2018-02-05 10:41:21.606 10903 DEBUG heat.engine.stack [req-b74925a1-0332-4573-8b78-f4e388bf3e99 452953354c9248749b8ba119e051c844 8724ebc2beb64ca2a5049069508905fb - - -] Property error: resources.repo_server.properties.image: HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API is not available. validate /usr/lib/py thon2.7/site-packages/heat/engine/stack.py:838 ~~~ Version-Release number of selected component (if applicable): - [gkadam@foobar sosreport-cvs3the03.infra.dev.es.iaas.igrupobbva.02024440-20180205104555]$ grep -ri glance installed-rpms python-glanceclient-2.5.0-2.el7ost.noarch Thu Nov 16 17:52:02 2017 -[gkadam@foobar sosreport-cvs3the03.infra.dev.es.iaas.igrupobbva.02024440-20180205104555]$ grep -ri heat installed-rpms openstack-heat-api-7.0.5-2.el7ost.noarch Thu Nov 16 17:52:09 2017 Steps to Reproduce: - set enable_v1_api and enable_v1_registry to `False` - set enable_v2_api to `True` - RHOSP 10 Actual results: - OpenStack heat throws errors Expected results: - OpenStack heat should not throw errors Additional info: - glance api v1 is disabled by default and not supported from RHSOP 11 onwards. ~~~ https://bugzilla.redhat.com/show_bug.cgi ~~~ - Is it required that v1 should be enabled for RHOSP 10?
First, let's see whether Glance API v2 works. Can you run simple Glance commands (list image, create a dummy image, etc.) using "--os-image-api-version 2" on the CLI?
Created attachment 1393574 [details] glance_v2 o/p
Hi Cyril, (In reply to Cyril Roelandt from comment #1) > First, let's see whether Glance API v2 works. Can you run simple Glance > commands (list image, create a dummy image, etc.) using > "--os-image-api-version 2" on the CLI? I have attached the o/p of the glance command from Cu's environment. Regards, Ganesh Kadam
Yeah, so Glance v2 seems to be working on your environment. Heat does not play well with Glance v2 on OSP10, as Thomas Hervé from Heat told me. This should work in OSP11. Do you really need this in OSP10?
Thanks for your feedback, I'll close the bug :)