Cinder: can't create replicated volume copy using --source-replica

Bug #1705470 reported by Vadim Kryvian
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Wishlist
Unassigned

Bug Description

source replication volume replication state:

replication_status: enabled

Running the command cinder create with --source-replica attrib results in:

ERROR: Invalid volume: Originating replica replication_status must be one of 'active, active-stopped' values (HTTP 400) (Request-ID: req-2b9458fa-7f34-451d-9b84-066030655183)

Checked in cinder.objects.fields, there are no 'active', 'active-stopped' states:

class ReplicationStatus(BaseCinderEnum):
    ERROR = 'error'
    ENABLED = 'enabled'
    DISABLED = 'disabled'
    NOT_CAPABLE = 'not-capable'
    FAILING_OVER = 'failing-over'
    FAILOVER_ERROR = 'failover-error'
    FAILED_OVER = 'failed-over'
    ENABLING = 'enabling'
    DISABLING = 'disabling'

running on latest Pike devstack environment

Tags: cinder
Vadim Kryvian (vadimk-5)
description: updated
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

This is a replication v1 command that has only been help in the client for backwards compatibility support for older Cinder services. It should probably now be deprecated and removed.

Changed in cinder:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-cinderclient 4.0.0

This issue was fixed in the openstack/python-cinderclient 4.0.0 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.