Block Storage API V3 (CURRENT) in Block Storage API Reference

Bug #1628812 reported by mylq
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Sean McGinnis
openstack-api-site
Invalid
Undecided
Unassigned

Bug Description

Lost some api in this api guide,for example, we could use this command "cinder backup-export BACKUP_ID","cinder backup-import METADATA"
also we could use RESTful api to get the result,

 curl -s -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json" http://127.0.0.1:8776/v3/$OS_TENANT_ID/backups/$BACKUP_ID/export_record | python -m json.tool

curl -s -H "X-Auth-Token: $OS_TOKEN" -H "Content-Type: application/json" -X POST http://127.0.0.1:8776/v3/$OS_TENANT_ID/backups/import_record -d '{ "backup-record": { "backup_service":"cinder.backup.drivers.nfs", "backup_url":"eyJzdGF0dXMiOiAiYXZhaWxhYmxlIiwgInRlbXBfc25hcHNob3RfaWQiOiBudWxsLCAiZGlzcGxheV9uYW1lIjogImVtcHR5IiwgImF2YWlsYWJpbGl0eV96b25lIjogIm5vdmEiLCAiZGVsZXRlZCI6IGZhbHNlLCAidm9sdW1lX2lkIjogIjBlMDdlZTVhLTBkY2MtNDI4NC1hMjc0LWRmYjYxOWVjZDAxMyIsICJyZXN0b3JlX3ZvbHVtZV9pZCI6ICJhMDEzN2FlNC05ODMxLTRmMTUtOTE5My01YTYwNjNlYjc2MTEiLCAidXBkYXRlZF9hdCI6ICIyMDE2LTA5LTI5VDA3OjI3OjM3WiIsICJob3N0IjogIm9wZW5zdGFjayIsICJzbmFwc2hvdF9pZCI6IG51bGwsICJ1c2VyX2lkIjogImM0NjA5NDNiZTc5NDQ2ZGRiYzBkMjM2YjIwNjZmMDVlIiwgInNlcnZpY2VfbWV0YWRhdGEiOiAiYmFja3VwIiwgImlkIjogIjA4ODA0OGIzLWZkNDktNDU1NS05M2RkLWFhNDU3OThjNzhlMyIsICJzaXplIjogMSwgIm9iamVjdF9jb3VudCI6IDIsICJkZWxldGVkX2F0IjogbnVsbCwgImNvbnRhaW5lciI6ICJ2b2x1bWViYWNrdXBzIiwgInNlcnZpY2UiOiAiY2luZGVyLmJhY2t1cC5kcml2ZXJzLm5mcyIsICJkcml2ZXJfaW5mbyI6IHt9LCAiY3JlYXRlZF9hdCI6ICIyMDE2LTA5LTI5VDA3OjE5OjA2WiIsICJkaXNwbGF5X2Rlc2NyaXB0aW9uIjogImJhY2t1cHRlc3QtZGVzY3JpcHRpb24zIiwgImRhdGFfdGltZXN0YW1wIjogIjIwMTYtMDktMjlUMDc6MTk6MDZaIiwgInBhcmVudF9pZCI6IG51bGwsICJudW1fZGVwZW5kZW50X2JhY2t1cHMiOiAwLCAiZmFpbF9yZWFzb24iOiAiIiwgInByb2plY3RfaWQiOiAiYjM5NjIyMjJhZjJhNDU5Mzk0OTA4NjczNTkxNjMxYzciLCAidGVtcF92b2x1bWVfaWQiOiBudWxsfQ==" }}'

There is some snapshots which could confirm what I have said.
I cann't find the two above api in Cinder's api guide.

-----------------------------------
Release: 9.0.0.0rc2.dev95 on 'Wed Sep 28 22:31:16 2016, commit 0d88d72'
SHA:
Source: http://git.openstack.org/cgit/openstack/cinder/tree/api-ref/source/v3/index.rst
URL: http://developer.openstack.org/api-ref/block-storage/v3/

Tags: api-ref
Revision history for this message
mylq (leibnizlq) wrote :
Changed in openstack-api-site:
status: New → Invalid
Changed in cinder:
assignee: nobody → Sean McGinnis (sean-mcginnis)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit f3afb7b4fd2e4c79f52e63ae47ea781b9aff8232
Author: Sean McGinnis <email address hidden>
Date: Thu Aug 24 17:22:37 2017 -0500

    api-ref: Add backup import and export

    During the migration to in-tree api-ref docs we somehow lost the details
    for backup export_record and import_record. Adding back in.

    Also fixing up a few records that referred to the wrong parameter record
    names, resulting in their descriptions referring to volume transfer for
    backup operations.

    Change-Id: I6fc555729c1b8404887d41424831fc48934f1491
    Closes-bug: #1628812
    Closes-bug: #1712923

Changed in cinder:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.0.0b1

This issue was fixed in the openstack/cinder 12.0.0.0b1 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.