Cinder: can't create replicated volume copy using --source-replica
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-
Checked in cinder.
class ReplicationStat
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
description: | updated |
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.