Need to set the v2 as the default Cinder api

Bug #1385099 reported by Zi Lian Ji
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack + Chef
Fix Released
Undecided
Jun Hong Li

Bug Description

After checking the openstack doc: http://docs.openstack.org/trunk/config-reference/content/section_cinder.conf.html, I found the following configuration in the cinder.conf file.

# DEPRECATED: Deploy v1 of the Cinder API. (boolean value)
#enable_v1_api=true
# Deploy v2 of the Cinder API. (boolean value)
#enable_v2_api=true

Need to set the v2 as the default Cinder api

Jun Hong Li (junhongl)
Changed in openstack-chef:
assignee: nobody → Jun Hong Li (junhongl)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/130738

Changed in openstack-chef:
status: New → In Progress
Revision history for this message
Jun Hong Li (junhongl) wrote :
tags: added: block-storage
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cookbook-openstack-block-storage (master)

Fix proposed to branch: master
Review: https://review.openstack.org/131363

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-common (master)

Reviewed: https://review.openstack.org/130738
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-common/commit/?id=c6406caad1e22051cad220afe1087b8fb2069044
Submitter: Jenkins
Branch: master

commit c6406caad1e22051cad220afe1087b8fb2069044
Author: Jun Hong Li <email address hidden>
Date: Fri Oct 24 18:53:32 2014 +0800

    Change the default api version for cinder endpoint

    Since the cinder v1 api is deprecated, we should change the
    default cinder endpoint to use v2 api.

    Change-Id: I88bc0210ffec6d5a6afea17ed62e60c041f5fa57
    Closes-bug: #1385099

Changed in openstack-chef:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cookbook-openstack-block-storage (master)

Reviewed: https://review.openstack.org/131363
Committed: https://git.openstack.org/cgit/stackforge/cookbook-openstack-block-storage/commit/?id=801a2735cf21d5627b79ce336f2413a754469daa
Submitter: Jenkins
Branch: master

commit 801a2735cf21d5627b79ce336f2413a754469daa
Author: Jun Hong Li <email address hidden>
Date: Tue Oct 28 15:58:36 2014 +0800

    Change spec since v2 api is used as default

    Since the cinder endpoint API version has been changed to v2 in
    https://review.openstack.org/#/c/130738, the spec needs to be
    adapted to this change accordingly.

    This patch will break unit test unless the patch in
    https://review.openstack.org/#/c/130738 is merged, because the API
    version is changed in cookbook-openstack-common project.

    I've run unit test in my local env successfully with these two
    matched patches.

    Change-Id: I28d182ff9e26fd31e5cd4f713dbffde3f04807dc
    Closes-bug: #1385099

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cookbook-openstack-common ocata-eol

This issue was fixed in the openstack/cookbook-openstack-common ocata-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.