Trove list should include replication info

Bug #1340359 reported by Greg Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Greg Lucas

Bug Description

The trove list response should include some information about replication: at a minimum it should include the slave_of attribute that indicates an instance is a replication slave.

This will be necessary for Horizon to support the 'detach' action to detach a slave from its replication master.

Greg Lucas (glucas-q)
Changed in trove:
assignee: nobody → Greg Lucas (glucas-q)
Changed in trove:
status: New → Triaged
importance: Undecided → High
milestone: none → juno-3
Changed in trove:
status: Triaged → In Progress
Revision history for this message
Greg Lucas (glucas-q) wrote :

Rolled this change in to the pending change for including slave_of and slaves in 'trove show' output:
  https://review.openstack.org/105758/

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

Reviewed: https://review.openstack.org/105758
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=87b621b2d904ef531e4e9d33679c6d67de21ef7b
Submitter: Jenkins
Branch: master

commit 87b621b2d904ef531e4e9d33679c6d67de21ef7b
Author: Greg Lucas <email address hidden>
Date: Mon Jul 7 14:12:19 2014 -0400

    Add replication slave info to instance show

    Update the 'show' response for an instance:

     - If the instance is a replication slave, include the slave_of id.
     - If the instance is a replication master, include the list of slave
       instance ids.

    Update the 'list' response to include the slave_of id.
    Add CheckInstance tests for slave/slave_of info.

    (Unrelated: remove a #TODO comment that has already been addressed.)

    Partially Implements: blueprint replication-v1
    Closes-Bug: #1340359
    Change-Id: If8a154083d0095606fb3ee115cc9b66ab788cbb4

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: juno-3 → 2014.2
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.