API v3 consisgroup-list fail

Bug #1597223 reported by Lisa Li
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Lisa Li

Bug Description

In master version, run following command:
cinder --debug --os-volume-api-version 3 consisgroup-list

Result:
DEBUG:keystoneclient.auth.identity.v2:Making authentication request to http://10.239.13.113/identity/v2.0/tokens
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://10.239.13.113:8776/v3/08e1b2205c3341d1ac369188b847cb4e/consistencygroups/detail -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}84837d946210ea00be770cf27535ae19bb224b2b"
DEBUG:keystoneclient.session:RESP: [404] Openstack-Api-Version: volume 3.0 Vary: OpenStack-API-Version Content-Length: 89 Content-Type: application/json; charset=UTF-8 X-Compute-Request-Id: req-e88ceb09-510f-43d0-a89b-ad65bb1bd961 X-Openstack-Request-Id: req-e88ceb09-510f-43d0-a89b-ad65bb1bd961 Date: Wed, 29 Jun 2016 08:39:47 GMT Connection: keep-alive
RESP BODY: {"itemNotFound": {"message": "ConsistencyGroup detail could not be found.", "code": 404}}

ERROR: ConsistencyGroup detail could not be found. (HTTP 404) (Request-ID: req-e88ceb09-510f-43d0-a89b-ad65bb1bd961)

Analysis:

cinder/api/v3/router.py

        self.resources['consistencygroups'] = (
            consistencygroups.create_resource())
        mapper.resource("consistencygroup", "consistencygroups",
                        controller=self.resources['consistencygroups'],
                        member={'update': 'PUT'})

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
Changed in cinder:
status: In Progress → Confirmed
Changed in cinder:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/335388
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=1a0dd6be5ae3ee7dbdd40d1329cd5959d93d0118
Submitter: Jenkins
Branch: master

commit 1a0dd6be5ae3ee7dbdd40d1329cd5959d93d0118
Author: lisali <email address hidden>
Date: Mon Jul 4 16:21:44 2016 +0800

    Fix consisgroup V3 interfaces

    The consisgroup list/show etc interfaces are blocked in V3 API,
    this patch is to fix it.

    Change-Id: I428a661a12d1020ed844f55021a94bbf61c79169
    Closes-Bug: #1597223

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/cinder 9.0.0.0b2

This issue was fixed in the openstack/cinder 9.0.0.0b2 development milestone.

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.