Comment 6 for bug 1305826

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/88332
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=95576e82c77981d832dac299bf22930719f22bb2
Submitter: Jenkins
Branch: master

commit 95576e82c77981d832dac299bf22930719f22bb2
Author: Vladimir Kuklin <email address hidden>
Date: Wed Apr 16 21:34:47 2014 +0400

    Fix swift-ring-builder ordering

    Tie ring_*_device resource to ring_devices resource
    by setting autorequire, thus making ring_devices resource
    run after ring_*_device and ensure it is before rebalance
    anchor

    How to test:

    1) install swift binaries

    2) run:
    rm /var/lib/puppet/state/graphs/* && puppet apply --graph -vd
    --modulepath /home/vvk/git/fuel/deployment/puppet/ -e
    'anchor{"rebalance_begin":} Ring_devices<||> ->
    Anchor['rebalance_begin'] ring_devices{'all': storages=>
    [{"storage_address"=>"10.10.10.10"}] }'

    3) read /var/lib/puppet/state/graphs/relationships.dot

    The purpose is to set all ring_*_device before
    Anchor['rebalance_begin']

    Change-Id: If9e724342eeeb8399093103a875719b82a429bc5
    Closes-Bug: #1305826