Let redis support volume

Bug #1701469 reported by jian.song
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
jian.song

Bug Description

I see that we have been in this patch, the trove.conf redis volume_support and device_path set not support volume[1], but in fact, in the follow-up patch, we will volume_support set to True, device_path set to '/ dev / vdb'[2].Now we encountered the problem is that the creation of a single node redis time, no problem, but when the creation of redis cluster, because the troveclient detection[3], no specified volume, and then error.
It seems that we need to change trove.conf in the redis volume_support situation, so that the cluster and single nodes can be normal operation

[1]:https://review.openstack.org/#/c/107117/
[2]:https://review.openstack.org/#/c/262324/1/trove/common/cfg.py
[3]:https://github.com/openstack/python-troveclient/blob/master/troveclient/v1/shell.py#L698

Revision history for this message
jian.song (jiansong) wrote :
Revision history for this message
Amrith Kumar (amrith) wrote :

If all that is required is a change to a conf file, that's something a user can do.

Changed in trove:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack DBaaS (Trove) because there has been no activity for 60 days.]

Changed in trove:
status: Incomplete → Expired
Changed in trove:
assignee: nobody → jian.song (jiansong)
status: Expired → In Progress
Revision history for this message
jian.song (jiansong) wrote :

Yes,Amrith,I agree with your part of the view. But this problem has affected the normal deployment of redis cluster. Since we have long used the redis cluster and single nodes with volume_support, the changes now seem to help reduce some unnecessary trouble.From now on to unify conf and cfg.py, it seems to be a better choice.

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

Reviewed: https://review.openstack.org/507428
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=5b7930446f5d1ea0bd663aeb9070f35925dced50
Submitter: Zuul
Branch: master

commit 5b7930446f5d1ea0bd663aeb9070f35925dced50
Author: jiansong <email address hidden>
Date: Tue Sep 26 01:34:07 2017 -0700

    Open the volume_support of redis

    In the past, we support volume_support when we support
    redis-cluster[1], but we did not update to conf[2].
    we are making the sample conf files match the
    default configuration in code.

    [1]:https://review.openstack.org/#/c/203702/
    [2]:https://review.openstack.org/#/c/107117/

    Closes-Bug: #1701469
    Change-Id: I428e274fdb85621b21453780e90a8a0ab401ffd9

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/530178

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 9.0.0.0b3

This issue was fixed in the openstack/trove 9.0.0.0b3 development milestone.

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

Reviewed: https://review.openstack.org/530178
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=2ae65178d73d17e4c2d628e911b354233f5c01ed
Submitter: Zuul
Branch: stable/pike

commit 2ae65178d73d17e4c2d628e911b354233f5c01ed
Author: jiansong <email address hidden>
Date: Tue Sep 26 01:34:07 2017 -0700

    Open the volume_support of redis

    In the past, we support volume_support when we support
    redis-cluster[1], but we did not update to conf[2].
    we are making the sample conf files match the
    default configuration in code.

    [1]:https://review.openstack.org/#/c/203702/
    [2]:https://review.openstack.org/#/c/107117/

    Closes-Bug: #1701469
    Change-Id: I428e274fdb85621b21453780e90a8a0ab401ffd9
    (cherry picked from commit 5b7930446f5d1ea0bd663aeb9070f35925dced50)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 8.0.1

This issue was fixed in the openstack/trove 8.0.1 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.